- From: John Cowan <cowan@mercury.ccil.org>
- Date: Tue, 5 Feb 2013 12:01:31 -0500
- To: Paul Grosso <paul@paulgrosso.name>
- Cc: core <public-xml-core-wg@w3.org>, dinesh.bolkensteyn@sonarsource.com
Paul Grosso scripsit: > And the following mixed element declaration examples are given: > 1) <!ELEMENT p (#PCDATA|a|ul|b|i|em)*> > 2) <!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* > > 3) <!ELEMENT b (#PCDATA)> > It is clear to me how examples 1) and 3) are parsed, but I do not > understand the 2nd case. > "%font;", "%phrase;" etc... look like the PEReference production, > and not like Name one. The answer is that the production rules are applied *after* parameter entity references have been expanded. This is true throughout the XML Recommendations. However, it is not clear to me that this is explicitly said anywhere. Maybe we need an erratum for that. -- John Cowan http://ccil.org/~cowan cowan@ccil.org All "isms" should be "wasms". --Abbie
Received on Tuesday, 5 February 2013 17:01:53 UTC