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] Parameter entity references

[ Lists Home | Date Index | Thread Index ]

[I replied to the original message already but I think I only sent it
to the original poster by mistake.]

>>      <!DOCTYPE doc [
>>      <!ELEMENT doc EMPTY>
>>      <!ENTITY % e "<!--">
>>      %e; -->
>>      ]>

This violates

  Well-formedness constraint: PE Between Declarations

  The replacement text of a parameter entity reference in a DeclSep
  must match the production extSubsetDecl.

>>      <!ENTITY %a; c">

>Looks non-WF to me..., the last line doesn't match [72]. -Tim

But [72] is covered by the statement in 2.8:

  The productions later in this specification for individual
  nonterminals (elementdecl, AttlistDecl, and so on) describe the
  declarations after all the parameter entities have been included.

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