Scott Cantor schrieb:
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.
I don't know what the transfomer does (never looked at the code). Of course I'll
insert some code to check if the xmlns:ds is contained in KeyInfo - I'll keep
you informed :-)
Regards,
Werner
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