Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Three cosmetic patches

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: jcowan AT reutershealth.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Three cosmetic patches
  • Date: Wed, 11 Feb 2004 15:12:07 -0500

At 2:15 PM -0500 2/11/04, jcowan AT reutershealth.com wrote:

I note that Serializer is recursive,
and should be fixed on the same grounds: see
https://lists.ibiblio.org/sympa/arc/xom-interest/2002-September/000082.html
for the non-recursive tree-walking algorithm I used in DOMParser.


The tricky part about this is that write(Element) would need to become inaccessible to subclasses. They'd be limited to writeStartTag and writeEndTag. This would make output filters a lot harder to write.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page