xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
- To: Elliotte Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] XOM 1.1 Beta 5
- Date: Tue, 8 Nov 2005 15:34:45 -0800
I'd recommend
...
try {
write(node.query(".//. | .//@* | .//namespace::*"));
} finally {
if (pseudoRoot != null) pseudoRoot.removeChild(0);
}
to ensure that the canonicalizer does not modify its input even in the face of unforeseen failures.
Wolfgang.
On Nov 8, 2005, at 3:15 AM, Elliotte Harold wrote:
Aust, Stefan wrote:
And wanted to canonicalize e3, but that didn't reproduce the
endless-loop... :(
I was able to reproduce an endless loop. It only arose if the element
was not in a document, but did have at least two ancestor elements.
Hopefully that's the same endless loop you found. It should be fixed
now. Give the latest CVS code a spin, and see if it helps.
--
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
_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest
-
Re: [XOM-interest] XOM 1.1 Beta 5,
Aust, Stefan, 11/04/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/05/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/18/2005
- <Possible follow-up(s)>
-
Re: [XOM-interest] XOM 1.1 Beta 5,
Aust, Stefan, 11/07/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/07/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/08/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/08/2005
-
Re: [XOM-interest] XOM 1.1 Beta 5,
Elliotte Harold, 11/08/2005
-
Re: [XOM-interest] XOM 1.1 Beta 5,
Wolfgang Hoschek, 11/08/2005
- Re: [XOM-interest] XOM 1.1 Beta 5, Elliotte Harold, 11/09/2005
-
Re: [XOM-interest] XOM 1.1 Beta 5,
Wolfgang Hoschek, 11/08/2005
Archive powered by MHonArc 2.6.24.