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

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 UTC