XML & SGML

Lars Marius Garshol larsga at step.de
Wed May 6 21:42:20 BST 1998


W. Eliot Kimber wrote:
> 
> The inability to use parameter entities inside of declarations is the
> problem--unless I've misunderstood the restriction.

You have. (Thankfully. Reassuring to see that you can be wrong about
something. :)

<!ELEMENT foo (%bar;)>

is entirely valid in the external subset, but not in the internal. This
is the relevant part of the spec (from section 2.8):

"Well-Formedness Constraint: PEs in Internal Subset

          In the internal DTD subset, parameter-entity references can 
          occur only where markup declarations can occur, not within 
          markup declarations. (This does not apply to references that 
          occur in external parameter entities or to the external 
          subset.)"

I still haven't found a sensible way to implement this in the external
subsets, though. :-(

--Lars M.

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