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

RE: Line End Treatment in WD-xml-c14n-1990729.html "Canonical XML"

From: Richard D. Brown <rdbrown@Globeset.com>
Date: Thu, 5 Aug 1999 18:15:40 -0500
To: "'Milton M. Anderson'" <miltonma@gte.net>
Cc: <w3c-ietf-xmldsig@w3.org>
Message-ID: <00d101bedf98$6f9373b0$0bc0010a@artemis.globeset.com>
Milton,

> Note however, that a consequence of adopting this rule is that if
> <x> is MIXED, then:
>
> <x>content0<a>content1</a>
> <b>content2</b>
> <c>content3</c>
> </x>
>
> and
>
> <x><a>content1</a>
> <b>content2</b>
> <c>content3</c>
> content0</x>
>
> are not equivalent.

Why should they?

>In the first case, the content of <x> will
> be "content0" or "content0#xA#xA" (I'm not sure which?).

Actually, the content of <x> is not limited to the DataChar. The elements
<a>,<b>, and <c> are integral part of the content of <x>. Thence, the
content of <x> would be better depicted by something like
<DataChar:content0><Element:a><DataChar:&#xA><Element:b><DataChar:&#xA><Elem
ent:c><DataChar:&#xA>

Richard D. Brown
Received on Thursday, 5 August 1999 19:15:46 GMT

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