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 2003/07/28 16:02:53 UTC

DO NOT REPLY [Bug 20368] - [JAXP]: Conversion of java.io.File(s) to URIs on Netware fails.

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

[JAXP]: Conversion of java.io.File(s) to URIs on Netware fails.

mrglavas@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[JAXP]: Conversion of file  |[JAXP]: Conversion of
                   |names to URIs on Netware    |java.io.File(s) to URIs on
                   |fails.                      |Netware fails.



------- Additional Comments From mrglavas@apache.org  2003-07-28 14:02 -------
I think the essence of the problem was lost when I changed the bug description. 
Both javax.xml.parsers.SAXParser and javax.xml.parsers.DocumentBuilder have 
parse methods that accept a java.io.File. The problem is with converting these 
system dependent files to URIs in a manner that works across all platforms that 
Java supports. Certainly a difficult goal to accomplish, since File to URI 
conversion wasn't supported in the JDK before 1.4.

As a user, I would do what Joe suggests and avoid possible conversion problems 
by specifying your file name as a URI: 
file:///server/volume:/dir1/dir2/dir3/file

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