[ http://nagoya.apache.org/jira/browse/XERCESC-896?page=history ]
Alberto Massari updated XERCESC-896: ------------------------------------ Priority: Major > [RFC 2396]: One character schemes should not be rejected. > --------------------------------------------------------- > > Key: XERCESC-896 > URL: http://nagoya.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: Xerces-C Developers Mailing List > > 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://nagoya.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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]