papresco at technologist.com
Fri May 8 15:27:42 BST 1998
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:
"The standalone document declaration must have the value "no" if any
external markup declarations contain declarations of:"
"element types with element content, if white space occurs directly within
any instance of those types."
First, why does a non-validating parser care about element/mixed content?
It has no responsibility to do any marking of insignificant whitespace
anyhow. Second, if there is no class of processor that can reliably
reproduce the intended parse tree without reading the whole DTD, then
doesn't that significantly weaken the utility (okay, "purity") of the SDD?
Even if I am wrong on the last point, it seems that it does not do what it
is supposed to do properly.
Paul Prescod - http://itrc.uwaterloo.ca/~papresco
Can we afford to feed that army,
while so many children are naked and hungry?
Can we afford to remain passive,
while that soldier-army is growing so massive?
- "Gabby" Barbadian Calpysonian in "Boots"
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;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev