[jdom-interest] xerces has problems with directories containing spaces?

Scott Ellsworth scott at alodar.com
Tue Aug 1 16:39:28 PDT 2000

At 06:14 PM 8/1/2000 -0500, Brett McLaughlin wrote:
>Scott Ellsworth wrote:
> > In both cases, the program worked just fine when run from c:\xml.  When 
> I ran in C:\Documents and Settings\Scott Ellsworth\My 
> Documents\Java\xmltest, I started getting file not found errors.
>Actually, I belive it works if you put the directory name in quotation
>marks - there are some funny things now, as Xerces rewrote the URL class 
>(they were previously using java.net.URL), but older versions would work 
>with spaces if you put the whole dir/file in quotes.

Thank you.  That seems to have fixed some of the cases.  The one where it 
adds the path is still a bit problematic.

It seems like a good idea to post the bug to the xerces-j mailing list, so 
I am off to do that.  (The bug where, if it adds a path, it adds one 
without escaping the spaces.)  I have done a bit of testing, and have not 
been able to get that margin case to work.

In the meantime, test in a non-spaced directory.

Scott Ellsworth
scott at alodar.com

More information about the jdom-interest mailing list