Re: [xml-dev] DTD parameter entities

From
<>
To
Date
2004-04-22T12:45:45Z
ID
<>
Thread
Re: [xml-dev] DTD parameter entities
><!ENTITY % ATTLIST "<!ATTLIST ">
><!ENTITY % CLOSE ">">
><!ENTITY % ELEMNAME "doc">
><!ENTITY % ATTNAME "att">
>%ATTLIST; %ELEMNAME;%ATTNAME; CDATA #FIXED "value"%CLOSE;

This is well-formed but not valid: the rule that a declaration must
end in the same entity it starts in is a validity constraint.

RXP will report this if you use the -V flag (at least recent versions
will, I can't remember when I implemented that check).

-- Richard