- From: Patrik Mlekuž <patrik.mlekuz@gmail.com>
- Date: Sun, 13 Dec 2015 18:34:42 +0100
- To: <xml-editor@w3.org>
- Message-ID: <000001d135cc$8d97c770$a8c75650$@gmail.com>
Hello, I am studying "XML 1.0 (Fifth Edition)" specification and it looks that I have found some insufficient definition regarding "Element Type Declaration". Take a closer look here <http://www.w3.org/TR/xml/#NT-children> . There is an example of using parameter-entities in element type declaration: <!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*>, but the definition of element type declaration '<!ELEMENT' S <http://www.w3.org/TR/xml/#NT-S> Name <http://www.w3.org/TR/xml/#NT-Name> S <http://www.w3.org/TR/xml/#NT-S> contentspec <http://www.w3.org/TR/xml/#NT-contentspec> S <http://www.w3.org/TR/xml/#NT-S> ? '>' doesn't seem to allow them (or am I missing something?). Here is the definition of the "content particle": cp ::= (Name <http://www.w3.org/TR/xml/#NT-Name> | choice <http://www.w3.org/TR/xml/#NT-choice> | seq <http://www.w3.org/TR/xml/#NT-seq> ) ('?' | '*' | '+')? It should have been redefined like this: cp ::= (PEReference <http://www.w3.org/TR/xml/#NT-PEReference> | Name <http://www.w3.org/TR/xml/#NT-Name> | choice <http://www.w3.org/TR/xml/#NT-choice> | seq <http://www.w3.org/TR/xml/#NT-seq> ) ('?' | '*' | '+')? Thank you for the clarification in advance. Patrik M.
Received on Sunday, 13 December 2015 22:33:52 UTC