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

Cannot load XMLs from disk, if current dir has SPACE

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-08-29 14:15 -------
The parse(String) method of the DocumentBuilder class expects to be given a URI 
as its argument.  (In fact, it uses what it's passed to create a SAX 
InputSource object, which expects either a URI or a fully-resolved URL).  
Filenames are neither of these.  

There are certainly other methods of causing a DocumentBuilder to parse a 
file.  You could do 
dbf.parse(new File(filename));

Or, you could convert the filename into a URL (a bit of a painful process, but 
all you really need to do here is convert the " " to %20 and you should be on 
your way).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to