Re: XML errors and fatal errors.

John Cowan (cowan@locke.ccil.org)
Fri, 07 Aug 1998 11:24:48 -0400


Tim Bray wrote:

> Well, the spec is not perfect, but it makes it pretty clear that the
> above, while you may wish to apply the English word "document" to it,
> is not, in the terms of the spec, an "XML Document", and that a
> conforming XML Processor would emit some serious complaints when fed
> this particular character sequence. -T.

Of course. A simple fix would be to add a sentence to clause 2.1,
somewhat as follows: "It is a fatal error for a document not to
match the production _document_."

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)