Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] xerces version problems with XML1_0ParserConfiguration

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] xerces version problems with XML1_0ParserConfiguration
  • Date: Mon, 2 Feb 2004 18:52:00 -0500

I've checked a fix for this problem into CVS. Please check it out and let me know if it works for you.

What I ended up doing was checking the version of Xerces in the Builder class's static block and only setting the ParserConfiguration to my custom configuration if the version was 2.4 or later. 2.4 was the first version of Xerces-J that turned on XML 1.1 by default.


--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page