xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Clark <an...@apache.org>
Subject Re: Proper use of Serializers
Date Thu, 06 Apr 2000 18:52:18 GMT
> Jeff Williams wrote:
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.w3c.dom.DocumentType: method getPublicId()Ljava/lang/String not

It sounds like you have a JAR file containing DOM Level 1 classes
in your CLASSPATH *before* the Xerces parser which contains the
new DOM Level 2 (CR) classes. The code in CVS has been updated to
allow this to work even if used with DOM Level 1. Just do an update
of the java/src/org/apache/xml/serialize directory.

-- 
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org

Mime
View raw message