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

Bug #5123 Bad encoding or entities
Submitted: 2005-08-17 12:19 UTC
From: dexter at debian dot dot dot org Assigned:
Status: Bogus Package: PEAR
PHP Version: 5.1.0 OS: source install
Roadmaps: (Not assigned)    
Subscription  


 [2005-08-17 12:19 UTC] dexter at debian dot dot dot org
Description: ------------ Description: ------------ $ sapi/cli/php -n -C -q -d include_path=../pear ../pear/scripts/pearcmd.php -v -c $(pwd)/.pearrc install --installroot=$(pwd)/tmp-pear --force --nodeps ../pear/package-Archive_Tar.xml XML error: not well-formed (invalid token) at line 22 $ sed -n 22p ../pear/package-Archive_Tar.xml <name>Stig Sćther Bakken</name> It seems that XML parser does not recognize encoding?! The previous PHP5.0.4 and php5.1.0b3 binaries work correctly. Test script: --------------- $ sapi/cli/php -n -C -q -d include_path=../pear ../pear/scripts/pearcmd.php -v -c $(pwd)/.pearrc install --installroot=$(pwd)/tmp-pear --force --nodeps ../pear/package-Archive_Tar.xml

Comments

 [2005-08-17 15:47 UTC] cellog
this has nothing to do with PEAR. I have no idea why Pierre/Toby think it does. XML requires the ability to parse entities like { without prior declaration. Please re-open the original PHP bug.
 [2005-08-18 15:39 UTC] dexter
It was not entity here. In original file there is "ć" one-byte character.