Hello,
 
I used the sample test code by Andy Clark http://xml-archive.webweaving.org/xml-archive-xerces/0852.html , my classpath has DOM Level 1 Core w3c classes (that come with JAXP distribution) before the rest of the xerces (1.0.3) distribution, and I get the following error :
 
xception in thread "main" java.lang.NoSuchMethodError: org.w3c.dom.DocumentType: method getPublicId()Ljava/lang/String; not found
        at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Compiled Code)
        at org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseMarkupSerializer.java:421)
        at test.Test.main(Compiled Code)
 
I've checked the code and DOM Level 1 Core DocumentType does not have getPublicId().
Can I make the serializers work with DOM L1 ? After reading some of the threads I was under the impression that this should work.
 
Thanks,
Jarek
 
 
 
 

Reply via email to