>In the XML specification I can't find the spot where it says this
would >be disallowed
In section 2.8, down a little ways:
"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.)"
Tim Bray's _Annotated_XML_Specification_
(
http://www.xml.com/axml/testaxml.htm) has a comment on why this rule
was put in place. (That site is an excellent resource for understanding
why XML 1.0 is as it is. Unfortunately, Tim has said he probably won't
have time to bring it up to date for XML 1.1, never mind namespaces and
so on. There's an opportunity here for someone to contribute to the
community.)
For what it's worth, Appendix D shows a hideous workaround, which
involves constructing the whole entity definition in a single parameter
entity and using that. To find it, search for "error-prone" -- which it
is, and I strongly recommend that you find another solution.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry