pyrus/Pyrus — Issue #83: Issues with non-ascii characters
Author: pierregoudjo
Created: 2011-12-17 02:17:35+00:00
State: open

When pyrus.phar is launched from a directory whose name contains non-ascii characters pyrus thows an XMLParser\Exception.

For example:

pierre@pierre-K52Jc:~$ php Téléchargements/pyrus.phar

PHP Warning: XMLReader::setSchema(): Unable to set schema. This must be set prior to reading or schema contains errors. in phar:///home/pierre/Téléchargements/pyrus.phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/XMLParser.php on line 171
PEAR2\Pyrus\XMLParser\Exception: Invalid XML document
PEAR2\Pyrus\XMLParser\Exception: Line 0: failed to load external entity "phar:///home/pierre/T%C3%A9l%C3%A9chargements/pyrus.phar/PEAR2_Pyrus-2.0.0a3/data/pear2.php.net/PEAR2_Pyrus/customcommand-2.0.xsd"

PEAR2\Pyrus\XMLParser\Exception: Line 0: Failed to locate the main schema resource at 'phar:///home/pierre/Téléchargements/pyrus.phar/PEAR2_Pyrus-2.0.0a3/data/pear2.php.net/PEAR2_Pyrus/customcommand-2.0.xsd'.