Bad entity usage?

Philip Nye philipnye at freenet.co.uk
Tue May 25 18:18:57 BST 1999


Help - I cannot make out what is wrong with this entity usage:

--------------------------
<?xml version="1.0"?>
<!DOCTYPE D [

<!ENTITY % AB "(A|B)">

<!ELEMENT D EMPTY>
<!ATTLIST D Att %AB; "A">

]>

<D/>
--------------------------

Microsoft IE5 gives an error:
"Parameter entities cannot be used inside markup declarations in an
internal subset."

Is this true? I cannot find any such rule in the XML Rec standard. IE5
is happy if
I do it in an external DTD.

I would be grateful for any light on this.

Philip Nye


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