Nope. Now it dies like this:

C:\JAXP\examples\DOMEcho+>java -cp C:\xerces\xerces.jar;. DOMEcho ..\s
amples\namespace.xml
Exception in thread "main" java.lang.NoSuchMethodError
        at DOMEcho.main(DOMEcho.java:284)


Thanks for trying to help. Any other ideas?

Steve 

-----Original Message-----
From: Ian Roberts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 9:45 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Buroff, Steven
Subject: RE: JAXP question


On Tue, 13 Mar 2001, Steve Buroff wrote:

> Doesn't work. Here is what I get:
> 
> C:\JAXP\examples\DOMEcho+>java -cp C:\JAXP\jaxp.jar;C:\xerces\xerces.j
> ar;. DOMEcho ..\samples\namespace.xml

xerces.jar contains an implementation of the javax.xml packages which uses
the xerces parser as the back end.  You need to use that instead of the 
implementation in jaxp.jar.  Remove jaxp.jar from the classpath and it
should work.

Ian

-- 
Ian Roberts, Software Engineer        DecisionSoft Ltd.
tel: +44-1865-203192                  http://www.decisionsoft.com


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