Bug #5510 [NEW]: package.xml docs invalid package.xml files
| From: | dbs at php dot net | Date: | Sat, 24 Sep 2005 15:47:23 +0000 |
| Subject: | Bug #5510 [NEW]: package.xml docs invalid package.xml files | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-6913@lists.php.net to get a copy of this message | ||
From: dbs at php dot net
Operating system:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: package.xml docs invalid package.xml files
Description:
------------
http://pear.php.net/manual/en/developers.packagedef.php
currently
documents package.xml packages that are invalid when checked against the
package.xml DTD hosted at http://pear.php.net/dtd/package-1.0.
Fixes:
1. <release> element must contain an additional element, <license>,
between the <date> and <state> elements.
2. <file> element is only allowed to contain a <replace> element, not
CDATA. The name attribute of <file> is used to specify the filename,
however, all of the examples show the filename appearing as CDATA within
the <file> element. Please replace all examples of <file>filename</file>
with <file name="filename" />.
Suggested addition:
On platforms where libxml2 is installed, developers can check the validity
of their package.xml file by running the following command:
xmllint --dtdvalid http://pear.php.net/dtd/package-1.0 --noout
package.xml
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=5510&edit=1
--