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=14202>. 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=14202 spaces in filenames give an error Summary: spaces in filenames give an error Product: Xerces2-J Version: 2.2.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] First it occured, when using jaxp-interface for loading XML file, and changing from the built in parser of jdk1.4.1 to xerces. Then I could reproduce the bug using the Counter-example: I used xerces 2.2.0, and the snapshot from 2002/11/02. xerces 1.4.4 works too. There is always an exception thrown, when there is a space in the filename. java -classpath ..\..\xercesImpl021102.jar;.;..\..\xmlParserAPIs.jar dom.Counter "D:\scan\java\testing\1 2.xml" error: Parse error occurred - unknown protocol: d java.net.MalformedURLException: unknown protocol: d at java.net.URL.<init>(URL.java:586) at java.net.URL.<init>(URL.java:476) at java.net.URL.<init>(URL.java:425) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown S ource) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at dom.wrappers.Xerces.parse(Xerces.java:104) at dom.Counter.main(counter.java:386) using a relative path produces the following exception: [d:\unifiles\java\xerces-2_2_0\samples\dom]java -classpath ..\..\xercesImpl02110 2.jar;.;..\..\xmlParserAPIs.jar dom.Counter "1 2.xml" error: Parse error occurred - no protocol: 1 2.xml java.net.MalformedURLException: no protocol: 1 2.xml at java.net.URL.<init>(URL.java:579) etc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
