Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #5510 package.xml docs invalid package.xml files
Submitted: 2005-09-24 15:47 UTC
From: dbs at php dot net Assigned: mj
Status: Closed Package: Documentation
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 19 + 48 = ?

 
 [2005-09-24 15:47 UTC] 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

Comments

 [2005-09-30 17:38 UTC] mj
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.