Re: XML 1.0

>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 UTC