Bug #6337 [Opn->Csd]: package.xml (2.0) does not validate with more than 1 <release> in <changelog>

From: Date: Sat, 28 Jan 2006 23:55:40 +0000
Subject: Bug #6337 [Opn->Csd]: package.xml (2.0) does not validate with more than 1 <release> in <changelog>
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4726@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=6337&edit=1 ID: 6337 Updated by: cellog@php.net Reported By: erik-pear at 29a dot nl -Status: Open +Status: Closed Id: 6337 Type: Bug Package: Web Site Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: cellog 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-12-23 05:29:11] erik-pear at 29a dot nl Description: ------------ The package.xml file (version 2.0) does not validate against the current schema (http://pear.php.net/dtd/package-2.0.xsd) if you have more than one <release> child in the <changelog> section. This is also the case with the example file on http://pear.php.net/manual/en/guide.developers.package2.php so I guess the problem lies in the schema. Test script: --------------- Just try the demo package file on http://pear.php.net/manual/en/guide.developers.package2.php. Possible solution: I'm not an expert with XSD and I have not tested this, but I guess line 409: <xs:element name="release"> should be changed to: <xs:element name="release" minOccurs="1" maxOccurs="unbounded"> In the xsd on http://pear.php.net/dtd/package-2.0.xsd. Expected result: ---------------- No validation errors Actual result: -------------- Validation error on the second <release> element in the <changelog> section (line 220 in the example file). ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=6337&edit=1

« previous php.pear.webmaster (#4726) next »