At 06:24 PM 8/3/2004 +0200, you wrote:

1) Could anyone explain why my xml-generator Tomcat web-app (supplied with
xmlParserAPIs.jar and xercesImpl.jar in the extended path) doesnt work until
I copy the xerces.jar into this path aswell. Isnt xmlParserAPIs.jar and
xercesImpl.jar enough ?

What do you mean by "extended path"? What version of Tomcat are you using? To make sure your version of Xerces gets used, replace the ones provided in Tomcat's common/endorsed directory. Any other xerces version will be ignored since this will override it. And are you accessing the Xerces API or just the standard JAXP, DOM, and SAX api's? You mention "xerces.jar". That leads me to believe that you coded directly to Xerces-1.x.x. If the package names or class names don't coincide with Xerces2, then you'd end up using Xerces1 instead of Xerces2.



2) what is the differences between the xerces.jar supplied with Java SDK 1.4
and the version from apache?
Could there be a problem of collison?

Xerces isn't provided with JDK1.4. Where did you get that idea? Crimson is the implemented parser in JDK1.4. Xalan actually is included in JDK1.4, so maybe you are confusing libraries here? But note that Tomcat, by adding xercesImpl.jar and xml-apis.jar to common/endorsed, essentially makes xerces2 part of the JDK by making the library "endorsed".


Jake


regards

Ben

+-------------------------------------------------------------------+
| GIStec GmbH - Ihr Partner für GIS - Technologie                   |
|                                                                   |
| Ben Bookey                                                        |
| [EMAIL PROTECTED]           Fraunhoferstraße 5          |
| Tel         0 61 51 / 155 - 254       D-64283 Darmstadt           |
| Fax         0 61 51 / 155 - 259       http://www.gistec-online.de |
|                                                                   |
| http://www.ingeoic.de              http://www.geo-watermarking.de |
+-------------------------------------------------------------------+


--------------------------------------------------------------------- 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]



Reply via email to