Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #11703 pear convert and package.xml with optional dependencies fails
Submitted: 2007-07-29 16:05 UTC
From: quipo Assigned: cellog
Status: Closed Package: PEAR (version 1.6.1)
PHP Version: 5.2.3 OS:
Roadmaps: 1.6.2    
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 : 42 + 44 = ?

 
 [2007-07-29 16:05 UTC] quipo (Lorenzo Alberton)
Description: ------------ I was trying to convert this package.xml [1] to the v.2 version, with the "pear convert" command, but the process failed with the error message below. If this helps, the package does not have required dependencies, they're all optional. [1] http://cvs.php.net/viewvc.cgi/pear/Translation2/package.xml?revision=1.110&view=markup Expected result: ---------------- package2.xml successfully created Actual result: -------------- Invalid tag order in <dependencies>, found <optional> expected one of "required" PEAR_Packagefile_v2::toPackageFile: invalid package.xml

Comments

 [2007-08-18 22:30 UTC] cellog (Greg Beaver)
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.