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]
