Re: cvs: php4 /pear package.dtd
| From: | Tomas V.V.Cox | Date: | Sun, 24 Feb 2002 13:00:42 +0000 |
| Subject: | Re: cvs: php4 /pear package.dtd | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-2591@lists.php.net to get a copy of this message | ||
Stig Bakken wrote:
>
> ssb Sun Feb 24 05:45:29 2002 EDT
>
> Modified files:
> /php4/pear package.dtd
> Log:
> * fix broken dtd
> # Tomas, there is no way to do what you want in the DTD without switching
> # from XML to SGML. Sorry :-)
>
Well, I'm not a DTD guru (yesterday was the first day I read the SPECS
from http://www.w3.org/TR/REC-xml). There says:
"The optional character following a name or list governs whether the
element or the content particles in the list may occur one or more (+),
zero or more (*), or zero or one times (?). The absence of such an
operator means that the element or content particle must appear exactly
once.
Examples of element-content models:
<!ELEMENT spec (front, body, back?)>
<!ELEMENT div1 (head, (p | list | note)*, div2*)>
<!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*>
"
What am I missing?
Tomas V.V.Cox