Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser()

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: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser()
  • Date: Thu, 28 Oct 2004 15:15:22 -0400

Wolfgang Hoschek wrote:

Right, but for example it might be good to do the following even if getParserName(...) yields Crimson

if (parser.getClass().getName().equals( // Crimson workaround
"org.apache.crimson.parser.XMLReaderImpl")) {
parser.setErrorHandler(
new NamespaceWellformednessRequired()
);



Good catch. I'll look into that.

--
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