Yeah, it's ugly. The claim that a document is WF if it conforms
to the production "document" appears in clause 2.1 and is repeated
in clause 4.3.2, but is not as such a WFC, and clause 1.2 claims
only that violations of WFCs are said to be errors. So technically a
document like
<foo
though not WF, is not "in error", since neither "error" nor "must"
is anywhere applied to what is wrong with it.
-- 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)