axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Green (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1756) org.apache.axis.types.URI differs from RFC2396
Date Tue, 01 Mar 2005 23:50:48 GMT
     [ 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


Mime
View raw message