ModSAX: Proposed Core Features

Sean Mc Grath digitome at
Sat Mar 13 10:26:24 GMT 1999

[Sean Mc Grath]
>> 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.
[John Cowan]
>I understand what you mean.  I believe you are not correct.
>Conditional sections are allowed in external PEs referenced
>from the internal subset, just not in the internal subset itself.

I only have one validating XML parser on this machine IBMs


	<?xml version="1.0"?>
	<!DOCTYPE foo [
	<!ENTITY % dtd SYSTEM "doc.dtd">

	<?xml version="1.0"?>
	<!DOCTYPE foo SYSTEM "doc.dtd">

b.xml validates. a.xml fails reporting:-
	Error: Conditional section only allowed in external subset. (2,3)

<Sean uri=""/>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list