Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] building CVS on JDK 1.4 / knownGoodParser

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] building CVS on JDK 1.4 / knownGoodParser
  • Date: Wed, 18 Aug 2004 00:36:54 -0700

For xom-1.0b2:

- To get CVS to build on JDK 1.4 it seems one needs to add failonerror="no" to the compile target of build.xml (since the file isn't there):

<copy failonerror="no" file="classes15/nu/xom/JDK15XML1_0Parser.class" tofile="${build.dest}/nu/xom/JDK15XML1_0Parser.class"/>

- Out of curiousity, what's the problem that makes xerces >= 2.4 not to be trusted as a good parser? Does the same problem exist in the JDK 1.5 internal xerces?

Builder.knownGoodParser(XMLReader parser) {
if (parserName.equals("org.apache.xerces.parsers.SAXParser")
&& xercesVersion >= 2.4) {
return false;
}


-----------------------------------------------------------------------
Wolfgang Hoschek | email: whoschek AT lbl.gov
Distributed Systems Department | phone: (415)-533-7610
Berkeley Laboratory | http://dsd.lbl.gov/~hoschek/
-----------------------------------------------------------------------





Archive powered by MHonArc 2.6.24.

Top of Page