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: "Aust, Stefan" <stefan.aust AT coremedia.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: Mon, 7 Nov 2005 10:01:29 +0100

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

Correct.

> Exclusive or non-exclusive?

http://www.w3.org/2001/10/xml-exc-c14n#

> What is the XPath expression?

Actually, I'm not using XPath but I navigate down via
getFirstChildElement() and calling the Canonicalizer#write(Element).
Perhaps, that's the problem?!

> Is it possible to send me the complete XML document?

Unfortunately, I can't do that. I tried this:

Element e1 = new Element("a:a", "urn:a");
Element e2 = new Element("b:b", "urn:b");
Element e3 = new Element("b:c", "urn:b");
Element e4 = new Element("a:d", "urn:a");
e3.appendChild(e4);
e2.appendChild(e3);
e1.appendChild(e2);
new Document(e1);

And wanted to canonicalize e3, but that didn't reproduce the
endless-loop... :(

--
Stefan Matthias Aust




Archive powered by MHonArc 2.6.24.

Top of Page