xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <whoschek AT lbl.gov>
- To: Elliotte Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] User Questions
- Date: Fri, 12 Aug 2005 09:17:40 -0700
Your copy method might work, but since it uses recursion it's vulnerable
to stack overflow. The algorithm used in nu.xom.Element is non- recursive
and not limited by the stack size.
What was the largest nesting level you've ever seen in a document? Really? The stack overflows only at level 20000 or so. It's a complete non-issue, but the code is greatly more complicated (and even slower) by the iterative approach. XOM attempts to cater to bogus requirements here. I've said it many times, and I'll say it again.
Wolfgang.
-
[XOM-interest] User Questions,
Peter Murray-Rust, 08/01/2005
-
Re: [XOM-interest] User Questions,
Wolfgang Hoschek, 08/01/2005
- Re: [XOM-interest] User Questions, Peter Murray-Rust, 08/02/2005
-
Re: [XOM-interest] User Questions,
Elliotte Rusty Harold, 08/03/2005
-
Re: [XOM-interest] User Questions,
Peter Murray-Rust, 08/03/2005
- Re: [XOM-interest] User Questions, Michael Kay, 08/04/2005
- [XOM-interest] Copy functionality for subclassed Elements and Attributes, Peter Murray-Rust, 08/07/2005
-
Message not available
-
Message not available
-
Message not available
-
Re: [XOM-interest] User Questions,
Elliotte Harold, 08/12/2005
- Re: [XOM-interest] User Questions, Wolfgang Hoschek, 08/12/2005
-
Re: [XOM-interest] User Questions,
Elliotte Harold, 08/12/2005
-
Message not available
-
Message not available
-
Re: [XOM-interest] User Questions,
Peter Murray-Rust, 08/03/2005
-
Re: [XOM-interest] User Questions,
Wolfgang Hoschek, 08/01/2005
Archive powered by MHonArc 2.6.24.