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 "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2008/05/12 15:51:55 UTC
[jira] Created: (XERCESC-1801) anyURI should accept backslashes
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[jira] Updated: (XERCESC-1801) anyURI should accept backslashes
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov updated XERCESC-1801:
-------------------------------------
Attachment: test.xml
test.xsd
Attaching the test.
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org