OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DTD parameter entities

[ Lists Home | Date Index | Thread Index ]

><!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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS