Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Consider adding Builder.getXMLReader()

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] Consider adding Builder.getXMLReader()
  • Date: Fri, 10 Oct 2003 16:44:43 -0400

Minor note: On the other hand pluggable parsers might be useful for testing. If no other parsers were pluggable, one could not easily find out to what extent they work (or do not work), or if they become fixed at some point in the future. You wouldn't have found out that they have problems if they weren't easily pluggable, right?


They're pluggable at the source code level. That's what I've been using to test the other parsers. To make XOM pick another parser instead of Xerces you need to either pass it in as an XMLReader or edit the array of avaialble parsers, and the latter is what I've been doing anyway.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page