Bug #17985 [Opn->Csd]: package.xml is invalid
| From: | brett dot bieber at gmail dot com | Date: | Thu, 21 Oct 2010 22:27:27 +0000 |
| Subject: | Bug #17985 [Opn->Csd]: package.xml is invalid | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4956@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17985&edit=1
ID: 17985
Updated by: brett.bieber@gmail.com
Reported By: brett dot bieber at gmail dot com
Summary: package.xml is invalid
-Status: Open
+Status: Closed
Type: Bug
Package: DB_DataObject_FormBuilder
Operating System: OSX
Package Version: 1.0.0
PHP Version: 5.3.3
-Assigned To:
+Assigned To: saltybeagle
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: saltybeagle
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.
Previous Comments:
------------------------------------------------------------------------
[2010-10-21 21:46:53] saltybeagle
Description:
------------
The package isn't installable with Pyrus because the package.xml doesn't
validate to the schema.
xmllint --valid --schema ~/workspace/PEAR2/Pyrus/data/package-2.0.xsd
package.xml
package.xml:152: element notes: Schemas validity error : Element
'{http://pear.php.net/dtd/package-2.0}notes':
This element is not
expected. Expected is ( {http://pear.php.net/dtd/package-2.0}date ).
package.xml:164: element notes: Schemas validity error : Element
'{http://pear.php.net/dtd/package-2.0}notes':
This element is not
expected. Expected is ( {http://pear.php.net/dtd/package-2.0}date ).
package.xml:893: element notes: Schemas validity error : Element
'{http://pear.php.net/dtd/package-2.0}notes':
This element is not
expected. Expected is ( {http://pear.php.net/dtd/package-2.0}date ).
package.xml fails to validate
Test script:
---------------
php pyrus.phar install pear/DB_DataObject_FormBuilder-1.0.0
Expected result:
----------------
Installed!
Actual result:
--------------
PEAR2\Pyrus\Package\Exception: Invalid abstract package
pear.php.net/DB_DataObject_FormBuilder
PEAR2\Pyrus\HTTPException: Download of
http://pear.php.net/get/DB_DataObject_FormBuilder-1.0.0.phar
failed,
file does not exist
PEAR2\Pyrus\Package\Exception: Could not download from
"http://pear.php.net/get/DB_DataObject_FormBuilder-1.0.0.tgz"
PEAR2\Pyrus\PackageFile\Exception: Invalid package.xml
PEAR2\Pyrus\XMLParser\Exception: Invalid XML document
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17985&edit=1