axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Rose (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1756) org.apache.axis.types.URI differs from RFC2396
Date Mon, 10 Jan 2005 16:55:13 GMT
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