XML errors and fatal errors.

John Cowan cowan at locke.ccil.org
Fri Aug 7 17:25:25 BST 1998

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 at 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)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list