Ian,
I was using jdk 1.2.2 , after seeing a message from Bjoern , I used jdk 1.3
and now it works fine.
I dont know why. My classpath is set to . and xerces.jar ( 1.3.1 ) on NT 4.0
SP6
Thanks
-sudhin

----- Original Message -----
From: "Ian Roberts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 07, 2001 3:37 AM
Subject: Re: Help: schema validation : NoSuchMethodError:
org.w3c.dom.Document: method createElementNS


> On Fri, 6 Apr 2001, Sudhindra Deshpande wrote:
>
> > But I get this exception
> >
> > Exception in thread "main" java.lang.NoSuchMethodError:
> > org.w3c.dom.Document: me
> > thod
> >
createElementNS(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
> > not found
> > org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
>
> It looks like you have another jar file, other than xerces, in your
> classpath which provides the org.w3c.dom interfaces.  If that is DOM level
> 1 only, then it won't have the namespaced methods xerces uses.  If you
> make sure xerces.jar is the first thing in your classpath, everything
> should work fine.
>
> Ian
>
> --
> Ian Roberts                     | [EMAIL PROTECTED]         (home)
> DecisionSoft Ltd.               | [EMAIL PROTECTED]    (work)
>
>
> ---------------------------------------------------------------------
> 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