Hi Remy,
The first thing to check is if the specified file exists, and if it still fails, provide a test case.
loading seems to work only partially:
the structure of the jar file is
org/eclipse/xsd/plugin.properties org/eclipse/xsd/cache/www.w3.org/2001/MagicXMLSchema.xsd ... plus many more dtds + XML schemata
while tomcat-5.0.5 loads plugin.properties to loader/org/eclipse/xsd/plugin.properties it does not load MagicXMLSchema.xsd. The only file that exists in Tomcats loader directory is plugin.properties.
I tested it:
java.net.URL url = MyServlet.class.getResource("org/eclipse/xsd/cache/www.w3.org/2001/MagicXMLSchema.xsd");
url.openStream();
The property file (which is present only in a JAR in /WEB-INF/lib) is correctly read and extracted to the work directory.
Please provide a test case along with infomation on your environment.
Remy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]