xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser()
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser()
- Date: Thu, 28 Oct 2004 09:18:35 -0700
Builder.setupParser() and knownGoodParser() do some checks for known parsers ala
if (parser.getClass().getName()) { ... special configure ...}
If the parser is a SAX XMLFilter then this would not really help, so the suggestions is to have the code in these methods check if the parser is an instanceof XMLFilter and walk the parser tree via getParent() until a parser is found that is not an instanceof XMLFilter.
[In practise, the case arises with BuilderFactory.getMSVBuilder which is implemented as an XMLFilter]
Wolfgang.
-
[XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Wolfgang Hoschek, 10/28/2004
-
Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Elliotte Harold, 10/28/2004
-
Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Wolfgang Hoschek, 10/28/2004
- Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(), Elliotte Harold, 10/28/2004
-
Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Elliotte Harold, 10/29/2004
- Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(), Wolfgang Hoschek, 10/29/2004
-
Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Wolfgang Hoschek, 10/28/2004
-
Re: [XOM-interest] XMLFilter and Builder.setupParser(), knownGoodParser(),
Elliotte Harold, 10/28/2004
Archive powered by MHonArc 2.6.24.