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/01/24 15:04:50 UTC

DO NOT REPLY [Bug 6005] - While resolving a file using the EntityResolver.

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=6005>.
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=6005

While resolving a file using the EntityResolver.





------- Additional Comments From gmarcy@us.ibm.com  2002-01-24 14:04 -------
You need to understand that a URI is not the same thing as the pathname
of a file.  The "U" of URI stands for "Uniform".  Platform specific
pathnames are not uniform.  DOS/Windows pathnames are not URIs.  There
are some attempts made, for convenience, in Xerces to "fix up" platform
specific pathnames and generate the URI equivalent.  However, this is
not something that should be done for system identifiers in documents.
For documents to be portable, they need to specify the location of
external resources in a uniform manner, and that is why URIs are used.
There is some unfortunate code in the URI utility class that attempts
to be "helpful" and tries to recognize and fixup DOS paths, but it is
not possible to do this in a consistent manner.  You should always use
URIs in your documents so that the Xerces implementation does not need
to try to "guess" and figure out what you want it to do.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org