I had an issue when I upgraded to tomcat 4.1.10, which uses xerces 2. The problem went away when I tried the older version of xerces that came with tomcat 4.0.3.
Here is an example of the code that breaks: -- code -- URL fileUrl = new URL( "jndi:/localhost/qvc/wizard-xml-files/appliances_wizard.xml" ); InputStream xmlInputStream = fileUrl.openStream(); builder.parse( xmlInputStream ); // this is a javax.xml.parsers.DocumentBuilder -- end code -- What I am doing is loading a file from a jndi source, and then trying to create a Document object from the input stream that was returned from the url. This code works, unchanged, if I use the xerces.jar that came with tomcat 4.0.3. Is this a bug, or is there a change in xerces 2? If it matters, I am using java 1.4. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
