W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 1999

Re: XML 1.0

From: C M Sperberg-McQueen <cmsmcq@acm.org>
Date: Wed, 26 May 1999 17:02:32 -0500
Message-Id: <199905262202.RAA473078@tigger.cc.uic.edu>
To: d96-mst@d.kth.se
CC: xml-editor@w3.org, cmsmcq@acm.org
>From: d96-mst@d.kth.se (Mikael Ståldal)
>Date: Sun, 16 May 1999 23:56:28 +0100

>According to the XML 1.0 spec, production [51], it is legal to have a
>element declaration like this:
>
><!ELEMENT foo (#PCDATA)*>
>
>is that correct?

Yes.

>If correct, what is the difference between
><!ELEMENT foo (#PCDATA)>
>and
><!ELEMENT foo (#PCDATA)*>
>?

None.  The latter form is preferred by some designers and users, as a
reminder that #PCDATA means zero or more characters of data.

-C. M. Sperberg-McQueen
 Senior Research Programmer, University of Illinois at Chicago
Received on Wednesday, 26 May 1999 18:03:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:29 GMT