Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1d1: setInternalDTDSubset

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM 1.1d1: setInternalDTDSubset
  • Date: Sat, 08 Jan 2005 19:32:24 -0500

Wolfgang Hoschek wrote:


Yes. It just didn't seem necessary to recreate that object on every pass through the method, though I'm sure it's not as heavyweight an operation as loading a parser.


It's still only created once, that is initially on parser == null.

Ah! Got it. Now I see what you meant, and I agree. Sorry for being dense. There's no reason not to move that into a local variable, and I will now do so.

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