> Thus the printout "before c14n" is the doc tree just before c14n. IMHO the
> Transformer does not add/modify during transformation of the doc tree to a
> string.

Unless we can prove that, my bet might be that the DOM before that step
doesn't contain the declaration, and the DOM after it does. Thus the
transformer might be adding it to "fix-up" the DOM.

Can you inject some DOM code to just check the KeyInfo element and see if it
has xmlns:ds declared? If it does, I think there has to be bug in the c14n
code, although it sure seems like a blatant one...

-- Scott



Reply via email to