Hi all,

I've committed some additional testcases regarding default-namespace
handling in exclC14n if it is included in the
InclusiveNamespaces-PrefixList (#default)
(http://www.w3.org/TR/xml-exc-c14n/#def-InclusiveNamespaces-PrefixList).

Could you please take a look at the new testcases 
(http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/test/java/org/apache/xml/security/test/dom/c14n/implementations/Canonicalizer20010315ExclusiveTest.java?r1=1354911&r2=1459039)
and confirm that santuario is doing it correctly? As far as I
understand the spec it seems to be correct.

In short, all namespaces in the InclusiveNamespaces-PrefixList are
propagated to the c14n-ized root element if they are defined on a
parent element but the default ns declaration is only propagated if
it differs from the default xmlns="" definition?!
(No existing testcase fails if I change the default-ns behavior to
be the same as for other namespaces)

Thanks,

Marc

Reply via email to