axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Sousa" <>
Subject Change Parsers
Date Fri, 06 Jun 2003 15:41:36 GMT

    I'm trying to make axis use another parser like xerces for example but it keeps using
the Crimson that comes with the jdk1.4 runtime (rt.jar).

I copy the xerces.jar and the xercesSamples.jar to the web-ref\lib and when i run a web service
in axis i'm getting an exception:

    stackTrace: org.xml.sax.SAXParseException: Document root element is missing.
    at org.apache.crimson.parser.Parser2.fatal(
    at org.apache.crimson.parser.Parser2.fatal(
    at org.apache.crimson.parser.Parser2.parseInternal(
    at org.apache.crimson.parser.Parser2.parse(

So i believe that Axis is still using the crimson parser that gets loaded with the jdk runtime.
I'm i correct ? if so how can i tell axis NOT to use crimson and use Xerces instead.

Tnks in advance,

Pedro Sousa 

View raw message