xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] )
- From: Elliotte Rusty Harold <elharo AT ibiblio.org>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] )
- Date: Mon, 8 Feb 2010 05:40:14 -0500
On Sun, Feb 7, 2010 at 4:33 PM, Michael Ludwig <milu71 AT gmx.de> wrote:
> The documentation for those constructors of nu.xom.Builder that take an
> instance of org.xml.sax.XMLReader as first parameter promises that the
> resulting builder will read data from the specified parser object.
>
> Not quite true.
>
> Maybe the documentation should reflect the fact that XOM will replace an
> existing ContentHandler and put its own ContentHandler in place. So if
> the user wants to control the parsing process, he should supply an
> XMLFilter, not an XMLReader.
>
I'm not sure if this is a misunderstanding, a documentation bug, or an
implementation bug. Do you have a test case that demonstrates the
divergence between what you think should happen and what does happen?
--
Elliotte Rusty Harold
elharo AT ibiblio.org
-
[XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] ),
Michael Ludwig, 02/07/2010
- Re: [XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] ), Elliotte Rusty Harold, 02/08/2010
-
Re: [XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] ),
Elliotte Rusty Harold, 02/08/2010
- Re: [XOM-interest] c'tor Builder( org.xml.sax.XMLReader [...] ), Michael Ludwig, 02/08/2010
Archive powered by MHonArc 2.6.24.