#PCDATA in model group that is not optional and repeatable (was: XML and repeatable model groups)

geirog at falch.no geirog at falch.no
Mon Apr 21 12:51:08 BST 1997


At 11:21 21.04.97 +0100, you wrote:
>The message should have read "#PCDATA in model group that is not
>optional and repeatable".  The draft XML spec allows mixed content
>only as an optional and repeatable OR group, where #PCDATA is the
>first member.

>By the way, you gain nothing by using "+" instead of "*", since
>#PCDATA can be an empty string.  

I know, but why isn't it allowed at all? (or why was it allowed in SGML in
the first place?)

>For example, in full SGML, the
>following would satisfy (#PCDATA | stagedir)+ as well as it satisfies
>(#PCDATA | stagedir)*:

This means that I have to change all occurences of '+' to '*' in
mixed-content declarations in my SGML dtds in order to make them XML
compliant.

Perhaps it is better if I change my existing SGML dtds instead... :-)

Thank you,

<Gr0ve/>


------------------  Geir Ove Grønmo  ------------------
  Falch Infotek as, Stanseveien 21, 0902 Oslo, Norway
      Phone: +47 22 90 27 36 Fax: +47 22 90 25 99
 [grove at falch.no | http://www.falch.no/people/geirog]
-------------------------------------------------------

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)




More information about the Xml-dev mailing list