Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.1 Beta 5

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: "Aust, Stefan" <stefan.aust AT coremedia.com>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] XOM 1.1 Beta 5
  • Date: Sat, 05 Nov 2005 04:03:23 -0500

Aust, Stefan wrote:

I've not the time to nail down the problem right now, but it seems to
happen if I try to canonicalize this part XML fragment which I extracted
from a larger DOM:

OK. To be clear you're using document subset canonicalization, right?

Exclusive or non-exclusive?

What is the XPath expression?

Is it possible to send me the complete XML document?


If I call Element#detach() before I try to canonicalize, it works.
However, I don't think that I have to detach and reattach the XML
fragment before canonicalization. The algorithm should know the (set
of) root node(s) and should not try to look beyond that set.

Yep. If it's not doing that it's a bug, but I may need some more info to hunt this one down.

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