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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2005-09-30 17:38 UTC
Package:
Bug Type:
Summary:
From: dbs at php dot net
New email:
PHP Version: Package Version: OS:

 

 [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!