1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28 

XPath Data Model for Canonicalisation
XML canonicalization is defined in terms of the XPath definition of a node-set.

If an XML document must be converted to a node-set, XPath REQUIRES that an XML processor be used to create the nodes of its data model to fully represent the document. The XML processor performs the following tasks in order:
normalize line feeds
normalize attribute values
replace CDATA sections with their character content
resolve character and parsed entity references
The input octet stream MUST contain a well-formed XML document, but the input need not be validated. The declarations in the document type declaration are used to help create the canonical form.
PPT Version