Hi,
here is the problem: start with a W3C Document (JDK6), modify it with JDOM
2.0.4, create a new W3C Document from the modified JDOM Document whith the
DOMOutputter output() method, apply ExclC14N to it, canonicalization fails
with Apache Santuario 1.4.7 (but not with IBM XML Crypto Provider). For
instance, superfluos xml namespace declarations are not removed. If I
write the modified JDOM Document to a String and then parse this String to
a W3C document, Santuario canonicalization on thisi document works
perfectly.