W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2001

Empty SignedInfo elements properly canonicalized in examples?

From: Jesse Pelton <jsp@PKC.com>
Date: Mon, 4 Jun 2001 14:39:39 -0400
Message-ID: <CC6353ECB19ED4118E9500A0C99D6DCC08E459@PKC_VT01>
To: "'w3c-ietf-xmldsig@w3.org'" <w3c-ietf-xmldsig@w3.org>
I'm struggling to wrap my mind around both the XML-Signature CR and the
canonicalization REC, so please bear with me if this is a dumb question.

Background item 1: Sections 2.1 and 6.5.1 give examples of the
CanonicalizationMethod element like the following:


Background item 2: Section 1.1 of the Canonical XML Version 1.0
Recommendation states, "Empty elements are converted to start-end tag
pairs," and the processing model for element nodes described in section 2.3
ensures that this is the case.

Query: Are the XML-Signature examples correct? It seems to me that they
should read:


and that other empty elements (SignatureMethod, Transform, DigestMethod) in
the example in section 2.1 should likewise be represented as start-end tag
pairs. If this is not the case, what have I missed?

Jesse Pelton
PKC Corporation
Received on Monday, 4 June 2001 14:41:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:10:05 UTC