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: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser()
  • Date: Fri, 29 Oct 2004 10:35:44 -0700

Thanks!
Wolfgang.

On Oct 29, 2004, at 8:17 AM, Elliotte Harold wrote:

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()
);


Fix is in CVS.

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