SDD again

David Megginson ak117 at freenet.carleton.ca
Fri May 8 17:07:54 BST 1998


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 at freenet.carleton.ca
Microstar Software Ltd.         dmeggins at microstar.com
      http://home.sprynet.com/sprynet/dmeggins/

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