HI! Xerces 2.0.2 has problems with spaces in file names, where 2.0.1 did not. For example, you cannot load an XML if your CURRENT path has a space. I have filed a bug report for this and you should file one for your problem, too.
Regards, Thomas > -----Original Message----- > From: Panos Konstantinidis [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 25. Juli 2002 11:01 > To: [EMAIL PROTECTED] > Subject: Re: Xerces - trying to find the DTD throws a > MalformedURLException > > > Well, I am not sure if anybody is out there but just > in case somebody is erading my message and is willing > to give me some ideas on this I have to tell you that > I just noticed that this always happens if and only if > there is space in the file name. Is this is bug or is > there something I missing? > > Regards. > > --- Panos Konstantinidis <[EMAIL PROTECTED]> wrote: > > Hello there, I ahve been through the xerces > > archives > > but I wa snot able to find anythign so I am > > wondering > > if anyone here can give me some ideas. I am > > implmenting a web application using Tomcat 3.3.1, > > Windows NT and Xerces 2.0.2. > > > > The problems starts when I am validating an XML > > file > > against a DTD where I always get a > > MalformedURLException. The XML file and the DTD are > > both in the same folder. The line in the xml file > > that > > contains the dtd is: > > > > <!DOCTYPE WTG SYSTEM "WTGData.dtd"> > > > > For some weird reason (or for some reason weird to > > me at least) it expects the DTD file to be in a > > http-like form. If I copy the DTD into my webapps > > folder : > > and do a > > > > <!DOCTYPE WTG SYSTEM > > "http://127.0.0.1:8080/mywebapp/WTGData.dtd"> > > > > then everything works fine. If I also do a: > > > > <!DOCTYPE WTG SYSTEM "file:C:/xmlfiles/WTGData.dtd"> > > > > > > everything works fine as well. It is only when I > > have the: > > > > <!DOCTYPE WTG SYSTEM "WTGData.dtd"> > > > > line that causes the problems and throws the > > exception. I cannot change the XML file itself to > > alter the line with the DTD since the XML file is > > automatically generated by another department. > > > > Any help or suggestions on thsi is highly > > appreciated. > > > > Regards > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
