I'd like to parse a xml file(whose file name contains spaces) inside a jar but when i try to do it (with method parseURI(" jar:file:/.........../Digging hole.xml")
i get the following exception:
...
Caused by: org.w3c.dom.ls.LSException: JAR entry ..../Digging%20hole.xml not found in ........\lib\mqat_examples.zip
at org.apache.xerces.parsers.DOMParserImpl.parseURI(Unknown Source)
......
But i'm pretty sure that the file is there because firstly, i put it there ;-) and secondly, when I try to read the file in the following way
URL url = new URL("jar:file:/.........../Digging hole.xml"); JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
everything is ok.
Any ideas how to manage it ?
Thank you
Jakub
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]