xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18784] New: - [RFC 2396]: One character schemes should not be rejected.
Date Mon, 07 Apr 2003 21:11:30 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18784>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18784

[RFC 2396]: One character schemes should not be rejected.

           Summary: [RFC 2396]: One character schemes should not be
                    rejected.
           Product: Xerces2-J
           Version: 2.4.0
          Platform: All
               URL: http://www.ietf.org/rfc/rfc2396.txt
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: mrglavas@ece.uwaterloo.ca


The Xerces URI implementation currently rejects URIs with one characters 
schemes, such as "g:h". This restriction isn't part of RFC 2396, and although 
it's there to help flag DOS file names, it makes it impossible for users who 
literally mean to specify URIs with one character scheme names.

I think if this isn't intended to be fixed it should at least be marked as a 
limitation within the documentation for Xerces so users know what behaviour to 
expect.

I certainly wouldn't expect if I specified a base URI of "http://a/b/c/d/e" and 
relative URI of "g:h" that the resolved URI be "http://a/b/c/d/g:h" instead 
of "g:h".

Relevant production:
scheme = alpha *( alpha | digit | "+" | "-" | "." )

References:
http://www.ietf.org/rfc/rfc2396.txt

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Mime
View raw message