php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59865 Invalid package.xml
Submitted: 2011-07-22 04:32 UTC Modified: 2012-06-11 14:02 UTC
From: cweiske@php.net Assigned: felipe (profile)
Status: Closed Package: xhprof (PECL)
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cweiske@php.net
New email:
PHP Version: OS:

 

 [2011-07-22 04:32 UTC] cweiske@php.net
Description:
------------
xhprof's package.xml file is invalid. This leads to the problem that installers that validate it cannot install the package - pyrus is one of them.

Reproduce code:
---------------
$ wget http://pecl.php.net/get/xhprof-0.9.2.tgz
$ tar xzvf xhprof-0.9.2.tgz
$ xmllint --noout --schema http://pear.php.net/dtd/package-2.0.xsd package.xml

Expected result:
----------------
No output

Actual result:
--------------
package.xml:112: element date: Schemas validity error : Element '{http://pear.php.net/dtd/package-2.0}date': This element is not expected. Expected is ( {http://pear.php.net/dtd/package-2.0}stability ).
package.xml:124: element date: Schemas validity error : Element '{http://pear.php.net/dtd/package-2.0}date': This element is not expected. Expected is ( {http://pear.php.net/dtd/package-2.0}stability ).
package.xml fails to validate


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-23 11:26 UTC] cataphract@php.net
Fixed in trunk, see rev 313635.
 [2012-06-11 14:02 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 05:01:28 2025 UTC