|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56744 package.xml (2.0) does not validate with more than 1 <release> in <changelog>
Submitted: 2005-12-23 05:29 UTC Modified: 2006-01-28 18:55 UTC
From: erik-pear at 29a dot nl Assigned: cellog (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
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:
Solve the problem:
37 - 2 = ?
Subscribe to this entry?

 [2005-12-23 05:29 UTC] erik-pear at 29a dot nl
The package.xml file (version 2.0) does not validate against the current schema ( if you have more than one <release> child in the <changelog> section. This is also the case with the example file on so I guess the problem lies in the schema.

Test script:
Just try the demo package file on 

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

Expected result:
No validation errors

Actual result:
Validation error on the second <release> element in the <changelog> section (line 220 in the example file).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-28 18:55 UTC]
This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on by the end of next Sunday (CET).

If this was a problem with the 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.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Oct 07 19:05:53 2022 UTC