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 : 9 + 12 = ?

 
 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!