You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "cargilld (JIRA)" <xe...@xml.apache.org> on 2005/08/16 15:11:56 UTC
[jira] Assigned: (XERCESC-896) [RFC 2396]: One character schemes should not be rejected.
[ http://issues.apache.org/jira/browse/XERCESC-896?page=all ]
cargilld reassigned XERCESC-896:
--------------------------------
Assign To: cargilld (was: Xerces-C Developers Mailing List)
> [RFC 2396]: One character schemes should not be rejected.
> ---------------------------------------------------------
>
> Key: XERCESC-896
> URL: http://issues.apache.org/jira/browse/XERCESC-896
> Project: Xerces-C++
> Type: Bug
> Components: Utilities
> Versions: Nightly build (please specify the date)
> Environment: Operating System: All
> Platform: All
> Reporter: Michael Glavassevich
> Assignee: cargilld
>
> Revision 1.12 of xercesc/util/XMLUri.cpp in CVS.
> I found this one from inspecting the code. It seems that XMLUri for Xerces-C
> was modelled after Xerces-J's URI class, which happens to have several bugs
> (that I've already reported).
> 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 | "+" | "-" | "." )
> See Xerces-J Bug #18784.
> References:
> http://www.ietf.org/rfc/rfc2396.txt
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org