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 bu...@apache.org on 2003/05/07 16:17:23 UTC
DO NOT REPLY [Bug 19731] New: -
XMLURL::weavePaths does not work correctly for File protocol
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=19731>.
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=19731
XMLURL::weavePaths does not work correctly for File protocol
Summary: XMLURL::weavePaths does not work correctly for File
protocol
Product: Xerces-C++
Version: 2.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: martin@formicula.fsnet.co.uk
When the base URL is something like
"file://localhost/F:\test\#5\data\input\test.xml"
and the relative URL is e.g. "test.xsd", then the resulting URL will be
"file://localhost/F:\test\test.xsd", which is incorrect.
This happens when test.xml contains an xsi:schemaLocation attribute referring
to "test.xsd".
If the protocol is File, then the pound character ('#'), and the question mark
character ('?') should NOT indicate the start of a url fragment or url query.
Instead they should be part of the path.
Maybe this is a problem of XMLURL::parse() already, but the error only appears
when a relative XMLURL is created.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org