ModSAX: Proposed Core Features

Sean Mc Grath digitome at iol.ie
Fri Mar 12 20:08:45 GMT 1999


At 02:47 PM 3/12/99 -0500, you wrote:
>Sean Mc Grath wrote:
>
>> In the former, the doc.dtd entity is part of the internal document
>> type declaration subset. In the latter it is part of the
>> external document type declaration subset.
>> 
>> So, if you have conditional sections in doc.dtd then they are
>> not the same.
>
>Not so.  The text of the WFC "PEs in Internal Subset" reads:
>
>...
>So the internal subset's special restrictions on external PE
>references (and conditional sections) apply only to the text
>actually within the DOCTYPE declaration, not to external PEs
>that are referred to from there.
>
My point is that you cannot switch from:
	<!DOCTYPE foo SYSTEM "doc.dtd">
to:
	<!DOCTYPE foo [
	<!ENTITY % dtd SYSTEM "doc.dtd">
	%dtd;
	]>

and expect things to be exactly the same. if you have
conditional sections in doc.dtd, the latter is illegal.

regards,
Sean

<Sean uri="http://www.digitome.com/sean.htm"/>



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/ and on CD-ROM/ISBN 981-02-3594-1
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