PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » XML » XML_Beautifier » Bug #1884

Parser is changing ö to " ö "

Details

Submitted2004-07-15 19:58 UTC
Fromrm at visionthink dot de
StatusVerified
PackageXML_Beautifier
PHP VersionIrrelevant
OSDebian
Roadmaps(Not assigned)

Comments

[2004-07-15 19:58 UTC] rm at visionthink dot de

Description:
------------
The Parser is changing schön to sch ö n.

Reproduce code:
---------------
<?php
$vXMLBeautifier='XML/Beautifier.php';

$vXMLInhalt = '<?xml version="1.0" encoding="ISO-8859-1"?><objekttitel>schön</objekttitel>';

require_once $vXMLBeautifier;
$vXMLBeautifier = new XML_Beautifier();
echo $vXMLBeautifier->formatString($vXMLInhalt);
?>

Expected result:
----------------
<?xml version="1.0" encoding="ISO-8859-1"?><objekttitel>schön</objekttitel>

Actual result:
--------------
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?><objekttitel>sch ö n</objekttitel>