I tried to do a exclusive C14N on SignedInfo in the attacthed 'Sample.xml', the result from .Net SDK and LibXML2(2.6.20) (both attacthed)are different!
It seems that the LibXML2 will generate an extra empty default namespace on CanonicalizationMethodcompared to .Net SDK.
I have read the
Something else is going wrong; the Sample.xml has whitespace within the
SignedInfo element. There are *no* spaces in the byDotNot document.
Somehow you didn't give the two algorithms the same piece of XML to work
on.
/r$
___
xml mailing
Anyway, the 'extra' empty default namespace generated on
CanonicalizationMethod by LibXML2
mentioned in my first mail violates the
http://www.w3.org/TR/xml-exc-c14n/ if my understanding of that spec is
correct.
Yes, you are correct. There is a bug in libxml2 c14n module.
I appologize for