W3C home > Mailing lists > Public > w3c-xml-sig-ws@w3.org > April 1999

Re: XML Canonicalization Requirements

From: <MARUYAMA@jp.ibm.com>
Date: Thu, 1 Apr 1999 17:36:22 +0900
To: "Signed-XML Workshop" <w3c-xml-sig-ws@w3.org>
Message-ID: <49256746.002FC2EE.00@d22mta10.yamato.ibm.com>



Joseph Reagle wrote:

> I want to draw your attention to the W3C Note [1].
>        http://www.w3.org/TR/NOTE-xml-canonical-req


I have a comment on the second requirement in the Note, which reads

"2. The canonical form of an XML document shall be a well-formed XML
document."

Apparently DOMHash does not satisfy this requirement.
However, in the same document it states that its objective as

"The Canonical XML specification aims to introduce a notion of equivalence
between
      XML documents which can be tested at the syntactic level and, in
particular, by
      byte-for-byte comparison."

and as applications of canonicalization it mentions that

"Such equivalence testing is useful in a number of domains including
digital signatures,
      checksums, version control and conformance testing."

For these purposes, DOMHash is clearly useful.

Is this well-formedness of canonical form an absolute requirement, or
is there any way to relax this requirement to accommodate DOMHash as
a candidate of canonical form?

Hiroshi Maruyama
Received on Thursday, 1 April 1999 03:40:52 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 11:28:03 EDT