W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2000

AW: Proposed processing model for Reference and Transforms

From: Gregor Karlinger <gregor.karlinger@iaik.at>
Date: Fri, 25 Aug 2000 16:36:48 +0200
To: "John Boyer" <jboyer@PureEdge.com>, "TAMURA Kent" <kent@trl.ibm.co.jp>, "Gregor. Karlinger@Iaik. At" <gregor.karlinger@iaik.at>, "Joseph Reagle" <reagle@w3.org>, "Ed Simon" <ed.simon@entrust.com>
Cc: "XML DSig" <w3c-ietf-xmldsig@w3.org>, <jboyer@csr.csc.UVic.CA>
Message-ID: <NDBBIMACDKCOPBLEJCCDOEPOCJAA.gregor.karlinger@iaik.at>
Hello John,

I think there is a problem with the new text for the base64 transform
(section 6.6.2):

It says: "... If an XPath node-set (or sufficiently functional alternative)
given as input, then it is converted to an octet stream by taking the
string-value of the node-set ..."

According to XPath, the text value for an element node is the concatenation
all text node values it bears. The text value for a text node is its
data. Consider following simple example:


If I generate the octet stream according to the new proposal, I think I


since there are two nodes in the input node set, namely the element and the
single text node it bears.

I remember that we had the same problem with the specification of the
result in Canonical XML. Maybe some additional text should be added here to
make it
clear how the conversion to an octet stream should actually behave.

Regards, Gregor
Gregor Karlinger
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications

Received on Friday, 25 August 2000 10:38:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:34 UTC