Re: Why does package 1.0 DTD keep changing?
| From: | Alexey Borzov | Date: | Thu, 03 Nov 2005 19:52:28 +0000 |
| Subject: | Re: Why does package 1.0 DTD keep changing? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-40382@lists.php.net to get a copy of this message | ||
Hi,
Ahh, found the source of this change:
http://pear.php.net/bugs/bug.php?id=5374
Also the <filelist> tag is now mandatory, which is *extremely* useful within changelog's.
May I humbly ask to take such bug reports with at least a grain of salt?
Alexey Borzov wrote:
Each time I prepare a release of some of my packages, I naturally want to validate the package description file against the DTD. And a weird thing, each time this validation fails. The previous time this was due to the fact that package 1.0 DTD was itself invalid. This time, among the changes made to the DTD to (probably) get rid of PECL-related stuff [1], there is the following, <release> tag definition went from <!ELEMENT release (version,date,license,state,notes,warnings?,((deps?,configureoptions?,provides*,filelist?)|(configureoptions?,provides*,filelist?,deps?)))> to <!ELEMENT release (version,date,license,state,notes,warnings?,provides*,deps?,configureoptions?,filelist)> This effectively makes all package.xml files having <deps> after <filelist> invalid. Is it normal to get such BC-breaking changes in a supposedly stable format? [1] http://cvs.php.net/diff.php/pearweb/public_html/dtd/package-1.0?r1=1.11&r2=1.12&ty=h