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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2019 The PHP Group
All rights reserved.
Last updated: Fri May 24 07:01:26 2019 UTC