Copyright � 2001 W3C� (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.
The Exclusive Canonicalization Recommendation has been produced by the IETF/W3C XML Signature Working Group.
This document lists the known errata to the Exclusive Canonicalization specification. Each entry has the following information:
Please report errors in this document to the editor and cc: the public email list w3c-ietf-xmldsig@w3.org (public archive).
xml:space
attribute. xml:space="retain"
should be xml:space="preserve"
.PrefixList
attribute value is specified as NMTOKENS in both the DTD and
Schema. This does not permit "non-zero-length sequences,"
or the occurrence of the '#default
' token in the
attribute value because of the "#" character. <Bar><Foo/></Bar>
instead of <Bar/><Foo/></Bar>
,
and <Baz xmlns="..."><Foo/></Baz>
instead of <Baz
xmlns="..."/><Foo/></Baz>
.In section 1.1, the definition of "visibly utilizes" is imprecise in the discussion of which attribute nodes are used in the determination of prefix utilization on an element.
The definition should read:
"An element E in a document subset visibly utilizes a namespace declaration, i.e. a namespace prefix P and bound value V, if E or an attribute node in the document subset that is also in E's attribute axis has a qualified name in which P is the namespace prefix. A similar definition applies for an element E in a document subset that visibly utilizes the default namespace declaration, which occurs if E has no namespace prefix."
In section 3. Specification of Exclusive XML Canonicalization, rule 2 needs to be read to require ignoring prefixes that are never encountered during the processing of the node set, rather than treating them as errors or attempting to output them in some way. It should read:
The Exclusive XML Canonicalization method may receive an additional, possibly null, parameter InclusiveNamespaces PrefixList containing a list of namespace prefixes and/or a token indicating the presence of the default namespace. All namespace nodes whose prefixes appear on this list are handled as provided in Canonical XML [XML-C14N]. If prefixes appear on this list but are not encountered in the course of processing the node set, they are ignored.