http://www.w3.org/2008/xmlsec/Drafts/c14n-20/test-cases/
C14N parameter files These contain a <CanonicalizationMethod> element containing canonicalization parameters. c14nDefault.xml: Default canonicalization.
- c14nComment.xml: Canonicalization with comment removal.
- c14nPrefix.xml: Canonicalization with prefix rewriting.
- c14nPrefixQName.xml: Canonicalization with prefix rewriting and a Qname aware attribute xsi:type.
- c14nQname.xml: Canonicalization with a Qname aware attribute xsi:type, but not prefix rewriting.
- c14nQnameElem.xml: Canonicalization with a Qname aware element <a:bar>, but not prefix rewriting.
- c14nQnameXpathElem.xml: Canonicalization with a Qname aware element <a:bar>, and Qname aware XPath element <dsig2:IncludedXPath>, but not prefix rewriting.
- c14nPrefixQnameXpathElem.xml: Canonicalization with prefix rewriting and a Qname aware element <a:bar>, and Qname aware XPath element <dsig2:IncludedXPath>.
Examples from Canonical XML 1.0 PIs, Comments, and Outside of Document Element
Whitespace in Document Content
Start and End Tags
Character Modifications and Character References
Entity References
UTF-8 EncodingDealing with Namespaces Namespaces declarations are pushed down
Default namespace declarations
Sorting namespace declarations
Namespace Re-declarations
Superfluous Namespace declarations
Special namespaces "xml", "xsi", "xsd"
Prefixes in Element content
Author: Gerald Edgar
Date: Sept 26, 2011