Re: Fwd: Regarding the "Mixed" production of both XML 1.0 and 1.1 specifications

John Cowan <cowan@mercury.ccil.org> writes:
> The answer is that the production rules are applied *after* parameter
> entity references have been expanded.  This is true throughout the
> XML Recommendations.

Indeed.

> However, it is not clear to me that this is explicitly said anywhere.
> Maybe we need an erratum for that.

I think this paragraph in 2.8 covers it:

  The markup declarations may be made up in whole or in part of the
  replacement text of parameter entities. 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.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Tuesday, 5 February 2013 17:38:46 UTC