RE: [xml-dev] Nested Documents (was: XML 2.0)

From
Michael Kay <>
To
'Rick Jelliffe' <>
Date
2008-02-26T21:55:49
ID
<033401c878c2$593715f0$6401a8c0@turtle>
Thread
RE: [xml-dev] Nested Documents (was: XML 2.0)
[Going back on list]

> 
> No-one has still yet told me how they reliably know that a 
> document has ended correctly in the multi-root scenario.
> 

If you want to defend yourself against unreliability in the transport layer
and below, you could (a) use a more reliable transport layer, or (b) add a
checksum or signature. 

XML has plenty of redundancy and this does have the virtue that many file
corruptions will be detected automatically. But I don't think that argument
is strong enough to justify this inconvenience. Besides, you could apply it
just as much to external entities, which don't currently have this
restriction (and I don't see the world catching fire because external
entities are being corrupted all over the place).

Michael Kay
http://www.saxonica.com/