Bug #5510 [Opn->Csd]: package.xml docs invalid package.xml files

From: Date: Fri, 30 Sep 2005 17:38:42 +0000
Subject: Bug #5510 [Opn->Csd]: package.xml docs invalid package.xml files
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6948@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=5510&edit=1 ID: 5510 Updated by: mj@php.net Reported By: dbs at php dot net -Status: Open +Status: Closed Id: 5510 Type: Bug Package: Documentation PHP Version: Irrelevant New Comment: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2005-09-24 11:47:23] dbs at php dot net 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 this bug report at http://pear.php.net/bugs/bug.php?id=5510&edit=1

« previous php.pear.doc (#6948) next »