- From: Joseph Reagle <reagle@w3.org>
- Date: Thu, 31 Jan 2002 11:41:47 -0500
- To: merlin <merlin@baltimore.ie>
- Cc: w3c-ietf-xmldsig@w3.org
- Message-Id: <200201311641.LAA32560@tux.w3.org>
xmldsig makes a rather nice testing framwork for the transforms, but absent that
here are 3 results and there resulting `| md5sum` .
C14N ON e6 SUBSET
policy: xmlsec-python> test_c14n.py -i eg3.xml -x '(//. | //@* | //namespace::*)[ancestor-or-self::e6]'
<e6 xmlns:a="http://www.w3.org" xmlns:foo="http://www.bar.org" test="../baz" xml:base="http://www.example.org/2002/">
<e7 xmlns="http://www.ietf.org">
<e8 xmlns="" a:foo="bar">
<e9 xmlns:a="http://www.ietf.org" attr="default"></e9>
</e8>
</e7>
</e6>
01a0569ae06ef9827afd55572b096b74
EXC-C14N ON e6 SUBSET
policy: xmlsec-python> test_c14n.py -e -i eg3.xml -x '(//. | //@* | //namespace::*)[ancestor-or-self::e6]'
<e6 test="../baz">
<e7>
<e8 xmlns:a="http://www.w3.org" a:foo="bar">
<e9 attr="default"></e9>
</e8>
</e7>
</e6>
aaddbe1fdb6122ad46af56e038bd721b
EXC-C14N WITH INCLUSIVENAMESPACE PREFIXLIST="a" ON e6 SUBSET
policy: xmlsec-python> test_c14n.py -e -p "a" -i eg3.xml -x '(//. | //@* | //namespace::*)[ancestor-or-self::e6]'
<e6 xmlns:a="http://www.w3.org" test="../baz">
<e7>
<e8 a:foo="bar">
<e9 xmlns:a="http://www.ietf.org" attr="default"></e9>
</e8>
</e7>
</e6>
f86803163965ce052a40657493ff5e69
--
Joseph Reagle Jr. http://www.w3.org/People/Reagle/
W3C Policy Analyst mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair http://www.w3.org/Signature/
W3C XML Encryption Chair http://www.w3.org/Encryption/2001/
Attachments
- text/html attachment: eg3.xml
Received on Thursday, 31 January 2002 11:42:55 UTC