Thanks for the reply. The progress now is that importNode method
is working fine if we call the method of the bean in its main(). 
Now when we try to use the same code inside a JSP page, it is 
still giving the same error.

yes , as u say it is showing that the Document is DOM2 Docuemnt , 
and also i chekced out with teh classpath , there is absolutely no
problem with the classpath settings.

what can be teh problem ?? 


> -----Original Message-----
> From: Paul Brown [SMTP:[EMAIL PROTECTED]
> Sent: Monday, July 02, 2001 7:01 AM
> To:   [EMAIL PROTECTED]
> Subject:      RE: Appending a node of one document to another document
> 
> > we are trying to append a node of one docuemnt object to another
> > document object. we tried to use importNode method, whcih is giving us
> > following run time error:
> >   java.lang.NoSuchMethodError: org.w3c.dom.Node: method
> > getLocalName()Ljava/lang/String; not found
> 
> When Xerces imports a node, it first asks the source DOM whether or not is
> is DOM2 compliant or not; the result that you're seeing is a DOM that
> claims
> it is DOM2 but is actually not...  (because it doesn't fully support
> namespaces).  This is not uncommon with the DOM implementations shipped
> inside of XML-related products.  (I've seen DOMs that report "true" when
> asked if they support bogus features like "foobar"...).
> 
> So, you may have classpath issues with the org.w3c.dom classes.
> 
>       -- Paul
> 
> 
> ---------------------------------------------------------------------
> 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