xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold - java FAQ <elharo AT metalab.unc.edu>
- To: Nils_Kilden-Pedersen AT Countrywide.Com
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] 0x25?
- Date: Thu, 27 Mar 2003 21:23:15 -0500 (EST)
On Thu, 27 Mar 2003 Nils_Kilden-Pedersen AT Countrywide.Com wrote:
> In nu.xom.Builder methods build(Reader) and build(InputStream) has a bug.
> Both call org.xml.sax.XMLReader.setEntityResolver with a null resolver.
> The javadocs for setEntityResolver states:
> Throws: java.lang.NullPointerException - If the resolver argument is null.
What JavaDoc said that? I don't see it at
http://www.saxproject.org/apidoc/org/xml/sax/XMLReader.html#setEntityResolver(org.xml.sax.EntityResolver)
and the general contract is that passing null to setEntityResolver uses no
EntityResolver. This may be a bug in your parser. If it's a real issue I
may have to bring it up with the SAX developers.
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
elharo AT macfaq.com
-
Re: [XOM-interest] 0x25?
, (continued)
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Rusty Harold, 03/29/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/27/2003
- Re: [XOM-interest] 0x25?, luca passani, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Nils_Kilden-Pedersen, 03/27/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/27/2003
- Re: [XOM-interest] 0x25?, Elliotte Harold - java FAQ, 03/27/2003
- Re: [XOM-interest] 0x25?, Nils_Kilden-Pedersen, 03/28/2003
-
Re: [XOM-interest] 0x25?,
Nils_Kilden-Pedersen, 03/28/2003
- Re: [XOM-interest] 0x25?, Elliotte Rusty Harold, 03/29/2003
- Re: [XOM-interest] 0x25?, Elliotte Rusty Harold, 03/31/2003
Archive powered by MHonArc 2.6.24.