anyURI should accept backslashes
--------------------------------
Key: XERCESC-1801
URL: https://issues.apache.org/jira/browse/XERCESC-1801
Project: Xerces-C++
Issue Type: Bug
Components: Validating Parser (XML Schema)
Affects Versions: 2.8.0
Reporter: Boris Kolpackov
Attachments: test.xml, test.xsd
Michael Glavassevich worte on c-dev:
Backslashes aren't allowed in URIs, however the XML schema type xs:anyURI
[1] allows much more than the URI RFC. Specifically it's lexical space is
defined as "finite-length character sequences which, when the algorithm
defined in Section 5.4 of [XML Linking Language] is applied to them, result
in strings which are legal URIs according to [RFC 2396], as amended by [RFC
2732]." Backslashes are not interpreted as path separators but they are
allowed in xs:anyURI values. Xerces-J accepts "file:///c:\testing\bla.jpg"
as a valid xs:anyURI value. If Xerces-C rejects it then it has a bug.
[1] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#anyURI
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]