Re: [xml] Is it a BUG for exclusive XML canonicalization in LibXML2?
- From: small talk <talk small gmail com>
- To: Richard Salz <rsalz us ibm com>
- Cc: xml gnome org, xml-bounces gnome org
- Subject: Re: [xml] Is it a BUG for exclusive XML canonicalization in LibXML2?
- Date: Fri, 28 Oct 2005 09:49:49 +0800
Thank you very much!
This is what I have not found out! Actually, I used the same Sample.xml!
It seems that the .Net Exc C14N API (which is from .Net WSE2.0 assembly) would strip all the 'tab' between the XML tags, however,
http://www.w3.org/TR/xml-c14n does specify rules to retian some of the whitespaces but I am not sure what is correct action for processing 'tab' key.
One thing is for sure: LibXML2 and .Net make different decision on retaining 'tab' between XML tags, which is another potencial bug, either in .Net or LibXML2.
Anyway, the 'extra' empty default namespace generated on <CanonicalizationMethod> by LibXML2
Regards,
Smalltalk
On 10/28/05, Richard Salz <rsalz us ibm com> wrote:
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$
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]