php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59098 invalid XML in http://pecl.php.net/rest/c/Authentication/packagesinfo.xml
Submitted: 2010-03-04 05:15 UTC Modified: 2012-02-10 09:13 UTC
Votes:12
Avg. Score:4.7 ± 0.7
Reproduced:6 of 8 (75.0%)
Same Version:2 (33.3%)
Same OS:2 (33.3%)
From: cweiske@php.net Assigned:
Status: Re-Opened Package: PECL website (PECL)
PHP Version: Irrelevant 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:

 

 [2010-03-04 05:15 UTC] cweiske@php.net
Description:
------------
The XML in 
http://pecl.php.net/rest/c/Authentication/packagesinfo.xml
is invalid (2nd xml header in the mid of the file). This breaks applications that rely on the validity of the XML, like pyrus.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-27 11:29 UTC] tyra3l at gmail dot com
I removed the duplicate xml tag from the following xmls on 
the server:

rest/c/Authentication/packagesinfo.xml
rest/c/Caching/packagesinfo.xml
rest/c/Database/packagesinfo.xml
rest/c/Images/packagesinfo.xml
rest/c/Networking/packagesinfo.xml
rest/c/System/packagesinfo.xml
rest/c/Text/packagesinfo.xml

if I remember correctly your discussion with Pierre on irc, 
no other action is needed, right?
 [2011-08-27 14:27 UTC] cweiske@php.net
Awesome!

$ pyrus remote-list pecl.php.net 

works fine now.
 [2012-02-06 21:57 UTC] jolyon at nixbox dot com
This is broken again:

pyrus remote-list pecl.php.net
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20090626/apc.so' - /usr/local/lib/php/20090626/apc.so: 
cannot open shared object file: No such file or directory in Unknown on line 0
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at /usr/local/share/pear2
Remote packages for channel pecl.php.net:
Audio:
   FliteTTS                   n/a       Text to speech voice synthesis for PHP             
   KTaglib                    0.2.0     Library to edit audio properties and 
tags on MPEG  
                                        and OGG files                                      
   Ovrimos                    n/a       Ovrimos interface                                  
Key: * = installed, ! = upgrades available
Authentication:
   courierauth                0.1.0     courierauth binding                                
   krb5                       n/a       Kerberos authentication and management             
   PAM                        1.0.3     PAM integration                                    
   radius                     1.2.5     Radius client library                              
   sasl                       0.1.0     Cyrus SASL Extension                               
Key: * = installed, ! = upgrades available
Benchmarking:
   DTrace                     1.0.3     A Solaris Dtrace provider                          
   inclued                    0.1.2     Clued-in about your inclueds                       
Key: * = installed, ! = upgrades available
PEAR2\Pyrus\REST\Exception: Invalid xml downloaded from 
"http://pecl.php.net/rest/c/Caching/packagesinfo.xml"
 PEAR2\Pyrus\XMLParser\Exception: Invalid XML document
  PEAR2\Pyrus\XMLParser\Exception: Line 650: XML declaration allowed only at the 
start of the document
 [2012-02-06 22:24 UTC] tyrael@php.net
-Status: Closed +Status: Re-Opened
 [2012-02-06 22:24 UTC] tyrael@php.net
from a quick glance, at least the following files got corrupted again:
rest/c/Caching/packagesinfo.xml
rest/c/Database/packagesinfo.xml
rest/c/Images/packagesinfo.xml
rest/c/Networking/packagesinfo.xml
rest/c/System/packagesinfo.xml
rest/c/Text/packagesinfo.xml

which means that there is a bug in the code (most probably in include/pear-
rest.php) which generates these xmls.

Tyrael
 [2012-02-10 09:13 UTC] tyrael@php.net
-Assigned To: tyrael +Assigned To:
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC