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

Bug #16764 Invalid Package.xml
Submitted: 2009-11-05 04:15 UTC
From: mklappstuhl Assigned: izi
Status: Closed Package: Console_CommandLine (version 1.1.0)
PHP Version: 5.3.0 OS: Mac OS X 10.5.8
Roadmaps: (Not assigned)    
Subscription  


 [2009-11-05 04:15 UTC] mklappstuhl (Martin Klepsch)
Description: ------------ Something with your license blocks in your Package.xml is wrong. I tested that with http://www.validome.org/xml/validate/ . Test script: --------------- I tried to install it via pyrus and i got an error that the package.xml is invalid. $ pyrus install pear.php.net/Console_CommandLine Expected result: ---------------- I expected that the package gets installed. Actual result: -------------- The output from the command i posted above is: pear2\Pyrus\Package\Exception: Invalid abstract package pear.php.net/Console_CommandLine=========> ] 97% (35/36 kb) pear2\Pyrus\HTTPException: Download of http://pear.php.net/get/Console_CommandLine-1.1.0.phar failed, file does not exist pear2\Pyrus\Package\Exception: Could not download from "http://pear.php.net/get/Console_CommandLine-1.1.0.tgz" pear2\Pyrus\PackageFile\Exception: Invalid package.xml pear2\Pyrus\XMLParser\Exception: Invalid XML document

Comments

 [2009-11-05 07:57 UTC] doconnor (Daniel O'Connor)
Works for me / PHP 5.2.10 & PEAR 1.9.0RC1 I don't suppose you've got a mangled version of libxml by any chance?
 [2009-11-05 17:29 UTC] mklappstuhl (Martin Klepsch)
As i wrote im using the Pyrus(PEAR2) installer which needs valid package.xml files. I am running PHP5.3.1 RC1.1.
 [2009-11-05 18:36 UTC] mklappstuhl (Martin Klepsch)
 [2009-11-05 18:41 UTC] mklappstuhl (Martin Klepsch)
- added a patch file with date fields before the license elements. - package.xml should be valid now (ready to use with pyrus)
 [2009-11-11 22:49 UTC] izi (David Jean Louis)
-Status: Open +Status: Closed -Assigned To: +Assigned To: izi
This bug has been fixed in SVN. 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. Patch applied, thank you very much Martin !