> Jarek Wilkiewicz wrote:
> I used the sample test code by Andy Clark
> http://xml-archive.webweaving.org/xml-archive-xerces/0852.html , my

That message I posted was when I first started using the
serializers and there were bugs in the DOM serialization
code.

> 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

That's interesting. Because I suggested that the serializer
code use reflection to discover if the implementation had
a getPublicId(). In this way, even DOM Level 1 DOMs would
work with the serialization code. And I thought that Arkin
was in favor...

(checking...)

Well, the code in CVS definitely assumes DOM Level 2. I
only searched for direct calls to getSystemId() so I don't
know if there are other new Level 2 methods being used in
the code.

Arkin: Are there any other places in the code that are
strictly reliant on DOM Level 2 methods added to the
interfaces? Can we put in my reflection code?

-- 
Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]

Reply via email to