SDD again

David Megginson (ak117@freenet.carleton.ca)
Fri, 8 May 1998 11:00:17 -0400


Paul Prescod writes:

> Let me risk another step into the language courtroom. Validating
> parsers must always read the whole DTD. So the SDD is only for
> non-validating parsers. Non-validating parsers do not read element
> type declarations. So what is the point of this line:

Your first premise is correct, but your second one is not. The spec
states that a validating parser must use the whole DTD; it does not
state that a non-validating parser may not use the DTD. AElfred, for
example, reads the DTD well enough that it can even flag ignorable
whitespace base on an element type's content model, but it is
non-validating.

That said, I still agree that the standalone declaration is wrong.
Perhaps some day, if there's an XML 1.1, we can think about fixing it.

All the best,

David

-- 
David Megginson                 ak117@freenet.carleton.ca
Microstar Software Ltd.         dmeggins@microstar.com
      http://home.sprynet.com/sprynet/dmeggins/