You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/02/27 03:45:19 UTC
DO NOT REPLY [Bug 6701] New: -
schemaHint of relative URI form always resolved relative to current working directory
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=6701>.
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=6701
schemaHint of relative URI form always resolved relative to current working directory
Summary: schemaHint of relative URI form always resolved relative
to current working directory
Product: Xerces2-J
Version: 2.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema Structures
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: tkamiya@iona.com
In XSDHandler's parseSchema method, baseURI for resolving a schema is set to
null (line# 375), which causes it to be resolved relative to the current
working directory when schemaHint was given in the form of relative URI.
Instead, it should use the systemId (if any) of the instance document as the
base URI.
Resolving it based on the current working directory deprives an application of
the chance to resolve it correctly. It should only be done so as the last
resort after application could not resolve it.
-taki
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org