Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] xml:* attributes in Canonicalizer

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: John Cowan <jcowan AT reutershealth.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] xml:* attributes in Canonicalizer
  • Date: Wed, 9 Feb 2005 16:36:43 -0500

A quick look at Canonicalizer.java for XOM 1.1d5 suggests (and I
haven't tested this) that it propagates xml:* attributes to children
in both whole documents and fragments. This is contrary to Canonical
XML 1.0, which restricts such behavior to "when an XPath node-set is
given as input and the element's parent is omitted from the node-set"
(section 2.4, paragraph 2).

I haven't looked at XOM 1.0 to see if it has this problem also.

--
"Well, I'm back." --Sam John Cowan <jcowan AT reutershealth.com>




Archive powered by MHonArc 2.6.24.

Top of Page