You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tom Rose (JIRA)" <ax...@ws.apache.org> on 2005/01/10 17:55:13 UTC
[jira] Created: (AXIS-1756) org.apache.axis.types.URI differs from RFC2396
org.apache.axis.types.URI differs from RFC2396
------------------------------------------------
Key: AXIS-1756
URL: http://issues.apache.org/jira/browse/AXIS-1756
Project: Axis
Type: Bug
Components: Serialization/Deserialization
Versions: 1.2RC2
Environment: Java 1.5, Axis 1.2RC2, and Windows XP, Win2003 (intel HT)
Reporter: Tom Rose
Priority: Minor
In the URI specification http://www.faqs.org/rfcs/rfc2396.html appendix B gives the regular expression tha defines an URI. it allows 0 or 1 of <scheme>: followed by 0 or 1 of the entire path. in the URI Class the initialize(URI p_base, String p_uriSpec) has the following:
// Neither 'scheme:' or 'scheme:#fragment' are valid URIs.
if (colonIdx == uriSpecLen - 1 || uriSpec.charAt(colonIdx+1) == '#') {
throw new MalformedURIException("Scheme specific part cannot be empty.");
}
I beleive scheme: should be a valid URI per the specification.
Best Regards,
Tom Rose
tom.rose@i-konect.com
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1756) org.apache.axis.types.URI differs from RFC2396
Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1756?page=comments#action_60009 ]
Steve Green commented on AXIS-1756:
-----------------------------------
org.apache.axis.types.URI is also not allowing rel_path URIs. The same exception is being thrown.
"foo" should be a valid URI but is being rejected. Relevant BNF:
URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
relativeURI = ( net_path | abs_path | rel_path ) [ "?" query ]
rel_path = rel_segment [ abs_path ]
rel_segment = 1*( unreserved | escaped |
";" | "@" | "&" | "=" | "+" | "$" | "," )
> org.apache.axis.types.URI differs from RFC2396
> ------------------------------------------------
>
> Key: AXIS-1756
> URL: http://issues.apache.org/jira/browse/AXIS-1756
> Project: Axis
> Type: Bug
> Components: Serialization/Deserialization
> Versions: 1.2RC2
> Environment: Java 1.5, Axis 1.2RC2, and Windows XP, Win2003 (intel HT)
> Reporter: Tom Rose
> Priority: Minor
>
> In the URI specification http://www.faqs.org/rfcs/rfc2396.html appendix B gives the regular expression tha defines an URI. it allows 0 or 1 of <scheme>: followed by 0 or 1 of the entire path. in the URI Class the initialize(URI p_base, String p_uriSpec) has the following:
> // Neither 'scheme:' or 'scheme:#fragment' are valid URIs.
> if (colonIdx == uriSpecLen - 1 || uriSpec.charAt(colonIdx+1) == '#') {
> throw new MalformedURIException("Scheme specific part cannot be empty.");
> }
> I beleive scheme: should be a valid URI per the specification.
> Best Regards,
> Tom Rose
> tom.rose@i-konect.com
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira