Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] 0x25?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Nils_Kilden-Pedersen AT Countrywide.Com
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] 0x25?
  • Date: Thu, 27 Mar 2003 23:46:13 -0800

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/org/xml/sax/XMLReader.html 

Don't know which is right.

 

xom-interest-bounces AT lists.ibiblio.org wrote:

Date: 03/27/2003 06:23:15 PM
From: "Elliotte Harold - java FAQ" <elharo AT metalab.unc.edu>
Sent by: xom-interest-bounces AT lists.ibiblio.org
To: Nils_Kilden-Pedersen AT Countrywide.ComĀ 
cc: xom-interest AT lists.ibiblio.orgĀ 
Subject: Re: [XOM-interest] 0x25? 
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

_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest




Archive powered by MHonArc 2.6.24.

Top of Page