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

Canonical XML comment (attributes in xml namespace)

From: Gregor Karlinger <gregor.karlinger@iaik.at>
Date: Wed, 13 Sep 2000 18:42:11 +0200
To: "XMLSigWG" <w3c-ietf-xmldsig@w3.org>, "John Boyer" <jboyer@PureEdge.com>
Message-ID: <NDBBIMACDKCOPBLEJCCDGENLCKAA.gregor.karlinger@iaik.at>
Hi John,

I have read section 2.4 about document subsets, and I am wondering
how the propagation for attributes in xml namespace should actually
work.

1. Should the method for processing the attribute axis be enhanced
   only in the case that the parent element is omitted from the
   node set?

2. What happens if an xml attribute (which is in scope for the
   current element) has already been output in the attribute
   axis of an ancestor? Consider the example [1]: The mother
   element is omitted by a fitting XPath expression. So, should
   the c14n output be [2] or [3]?

[1]

<grandmother xml:space="preserve">
<mother>
<child>
</mother>
</grandmother>

[2]

<grandmother xml:space="preserve">
<child>
</grandmother>

[3]

<grandmother xml:space="preserve">
<child xml:space="preserve">
</grandmother>

Regards, Gregor
---------------------------------------------------------------
Gregor Karlinger
mailto://gregor.karlinger@iaik.at
http://www.iaik.at
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------
 
Received on Wednesday, 13 September 2000 12:41:16 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:11 GMT