Return-Path: Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 40646 invoked by uid 500); 6 Jun 2003 15:42:08 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 40568 invoked from network); 6 Jun 2003 15:42:07 -0000 Message-ID: <001001c32c42$1dfe13c0$a50ea8c0@link.pt> From: "Pedro Sousa" To: Subject: Change Parsers Date: Fri, 6 Jun 2003 16:41:36 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C32C4A.7EE980E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 06 Jun 2003 15:41:37.0797 (UTC) FILETIME=[1DEBEB50:01C32C42] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C32C4A.7EE980E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, 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. =20 at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) 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=20 ------=_NextPart_000_000D_01C32C4A.7EE980E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
    I'm trying to make = axis use=20 another parser like xerces for example but it keeps using the Crimson = that comes=20 with the jdk1.4 runtime (rt.jar).
 
I copy the xerces.jar and the = xercesSamples.jar to=20 the web-ref\lib and when i run a web service in axis i'm getting an=20 exception:
 
    stackTrace:=20 org.xml.sax.SAXParseException: Document root element is = missing.
   
    at=20 org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
  = ; =20 at=20 org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
  = ; =20 at=20 org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501)
&nbs= p;  =20 at = org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
 
So i believe that Axis is still using = the crimson=20 parser that gets loaded with the jdk runtime. I'm i correct ? if so how = can i=20 tell axis NOT to use crimson and use Xerces instead.
 
Tnks in advance,
 
Pedro = Sousa 
------=_NextPart_000_000D_01C32C4A.7EE980E0--