Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Question about Serializer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Arjan Huijzer <huijzer AT gmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Question about Serializer
  • Date: Thu, 11 Nov 2004 10:48:11 -0500

Arjan Huijzer wrote:

Hello,

I am trying to read a Log4j configuration file, change some elements
and then write it back. But somehow, the entire DTD gets included in
the output file:

This is hard to debug without seeing your actual XML files. It sounds like you may be hitting a known bug in some early versions of Xerces 2.0. Then again maybe not. Do you just want to remove the internal DTD subset? If so, you just need to construct a new DocType object that does not have the internal DTD subset, and replace the old one with your new one.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page