<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=XML_Beautifier</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/19146" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18896" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18832" />
      <rdf:li rdf:resource="http://pear.php.net/bug/5450" />
      <rdf:li rdf:resource="http://pear.php.net/bug/4197" />
      <rdf:li rdf:resource="http://pear.php.net/bug/2144" />
      <rdf:li rdf:resource="http://pear.php.net/bug/1884" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/19146">
      <title>XML_Beautifier: Feature/Change Request 19146 [Open] package.xml should not declare versioned dependency on XML_Util</title>
      <link>http://pear.php.net/bugs/19146</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Feature/Change Request
Reported by mati
2011-12-19T16:26:05+00:00
PHP: Irrelevant OS:  Package Version: 1.2.2

Description:
------------
I am building this package for Debian. package.xml declares a 
versioned dependency on XML Util, this breaks Debian build 
scripts as this will create a versioned dependency. XML_Util is 
now part of the php-pear package and a non-versioned 
dependency does work great. The attached (trivial) patch fixes 
the problem.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Feature/Change Request
Reported by mati
2011-12-19T16:26:05+00:00
PHP: Irrelevant OS:  Package Version: 1.2.2

Description:
------------
I am building this package for Debian. package.xml declares a 
versioned dependency on XML Util, this breaks Debian build 
scripts as this will create a versioned dependency. XML_Util is 
now part of the php-pear package and a non-versioned 
dependency does work great. The attached (trivial) patch fixes 
the problem.</pre>]]></description>
      <dc:date>2011-12-19T16:26:05+00:00</dc:date>
      <dc:creator>mati &amp;#x61;&amp;#116; restauth &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>XML_Beautifier Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18896">
      <title>XML_Beautifier: Bug 18896 [Open] Beautifier Changed the Value of the Certain elements</title>
      <link>http://pear.php.net/bugs/18896</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Bug
Reported by subingeorge
2011-10-09T02:37:29+00:00
PHP: 5.3.8 OS: Windows &amp; Package Version: 1.2.2

Description:
------------
Hi Team,


I am not quite not sure the reproduction of the bug. I found the issues, when i am beautifying a bigger XML files (60K+ lines after beautification). I found the issues many times,  but for different elements  each time. 
 
Issues found is beautifier is adding white space in the data values. I have got the issue mainly for URL , latitude and longitude elements.

Note: This is NOT happening to all the elements. Its happening randomly. I am not sure to find the real issue.


It's adding white space as following 

-  'htt p://yellow.co.ke/business/amuga-company/684'
-  'http ://yellow.co.ke/business/murimi-co-advocates/1448'

Also for Latitude longitudes 

Original': '36.8265' 
Expected ': '36.8265' 
Actual': '3 6.8265' 


Thanks In Advance

Subin George P
http://subin.me


Test script:
---------------
Part from my source XML
...
&lt;content&gt;&lt;attributes&gt;&lt;link&gt;http://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;&lt;author&gt;YellowDigi&lt;/author&gt;&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;&lt;/attributes&gt;&lt;/content&gt;

Expected result:
----------------
&lt;content&gt;
	&lt;attributes&gt;
		&lt;link&gt;http://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;
		&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;
		&lt;author&gt;YellowDigi&lt;/author&gt;
		&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;
		&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;
	&lt;/attributes&gt;
&lt;/content&gt;

Actual result:
--------------
&lt;content&gt;
	&lt;attributes&gt;
		&lt;link&gt;http ://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;
		&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;
		&lt;author&gt;YellowDigi&lt;/author&gt;
		&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;
		&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;
	&lt;/attributes&gt;
&lt;/content&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Bug
Reported by subingeorge
2011-10-09T02:37:29+00:00
PHP: 5.3.8 OS: Windows &amp; Package Version: 1.2.2

Description:
------------
Hi Team,


I am not quite not sure the reproduction of the bug. I found the issues, when i am beautifying a bigger XML files (60K+ lines after beautification). I found the issues many times,  but for different elements  each time. 
 
Issues found is beautifier is adding white space in the data values. I have got the issue mainly for URL , latitude and longitude elements.

Note: This is NOT happening to all the elements. Its happening randomly. I am not sure to find the real issue.


It's adding white space as following 

-  'htt p://yellow.co.ke/business/amuga-company/684'
-  'http ://yellow.co.ke/business/murimi-co-advocates/1448'

Also for Latitude longitudes 

Original': '36.8265' 
Expected ': '36.8265' 
Actual': '3 6.8265' 


Thanks In Advance

Subin George P
http://subin.me


Test script:
---------------
Part from my source XML
...
&lt;content&gt;&lt;attributes&gt;&lt;link&gt;http://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;&lt;author&gt;YellowDigi&lt;/author&gt;&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;&lt;/attributes&gt;&lt;/content&gt;

Expected result:
----------------
&lt;content&gt;
	&lt;attributes&gt;
		&lt;link&gt;http://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;
		&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;
		&lt;author&gt;YellowDigi&lt;/author&gt;
		&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;
		&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;
	&lt;/attributes&gt;
&lt;/content&gt;

Actual result:
--------------
&lt;content&gt;
	&lt;attributes&gt;
		&lt;link&gt;http ://yellow.co.ke/business/t-m-mutunga-co/303&lt;/link&gt;
		&lt;title&gt;T M Mutunga &amp; Co&lt;/title&gt;
		&lt;author&gt;YellowDigi&lt;/author&gt;
		&lt;website&gt;http://urt-to-the-page/subpage&lt;/website&gt;
		&lt;date month=&quot;5&quot; day=&quot;20&quot; year=&quot;2010&quot;/&gt;
	&lt;/attributes&gt;
&lt;/content&gt;</pre>]]></description>
      <dc:date>2011-10-09T02:37:29+00:00</dc:date>
      <dc:creator>subin &amp;#x64;&amp;#111;&amp;#x74; george &amp;#x64;&amp;#111;&amp;#x74; p &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_Beautifier Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18832">
      <title>XML_Beautifier: Bug 18832 [Assigned]  Use of undefined constant XML_BEAUTIFIER_INCLUDE_PATH - assumed 'XML_BEAUTIFIE</title>
      <link>http://pear.php.net/bugs/18832</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Bug
Reported by doconnor
2011-09-14T06:18:37+00:00
PHP: 5.3.8 OS:  Package Version: 1.2.2

Description:
------------
The script is doing:
if (!defined('XML_BEAUTIFIER_INCLUDE_PATH')) {
    define('XML_BEAUTIFIER_INCLUDE_PATH', 
'XML/Beautifier');
}

... but this does not appear to be behaving as expected under 
PHP 5.3.8.

There's little point to having this - where it's used like:
         require_once XML_BEAUTIFIER_INCLUDE_PATH . 
'/Tokenizer.php'; 

is presumably for tests or building from SVN.

Creating the right dir structure in SVN and running the tests 
from an appropriate location should correct this:

svn mkdir XML
svn mv Beautifier.php XML/
svn mv Beautifier/ XML/
vim package.xml</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Bug
Reported by doconnor
2011-09-14T06:18:37+00:00
PHP: 5.3.8 OS:  Package Version: 1.2.2

Description:
------------
The script is doing:
if (!defined('XML_BEAUTIFIER_INCLUDE_PATH')) {
    define('XML_BEAUTIFIER_INCLUDE_PATH', 
'XML/Beautifier');
}

... but this does not appear to be behaving as expected under 
PHP 5.3.8.

There's little point to having this - where it's used like:
         require_once XML_BEAUTIFIER_INCLUDE_PATH . 
'/Tokenizer.php'; 

is presumably for tests or building from SVN.

Creating the right dir structure in SVN and running the tests 
from an appropriate location should correct this:

svn mkdir XML
svn mv Beautifier.php XML/
svn mv Beautifier/ XML/
vim package.xml</pre>]]></description>
      <dc:date>2011-09-18T13:05:09+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_Beautifier Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/5450">
      <title>XML_Beautifier: Bug 5450 [Verified] Parser strip many tags</title>
      <link>http://pear.php.net/bugs/5450</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Bug
Reported by jonysk@...
2005-09-19T05:42:21+00:00
PHP: 5.0.3 OS: Debian Linux Package Version: 

Description:
------------
This class is very useful for indent codes... But, unfortunately, many relevant tags are stripped, such as CDATA sections and DOCTYPE definition. This make the class useless for complex codes that have those features...



Test script:
---------------
A little example: 

$string = &quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;&lt;!DOCTYPE bookmark SYSTEM \&quot;bookmark.dtd\&quot;&gt;&lt;bookmark&gt;&lt;category&gt;&lt;![CDATA[ this cdata will be stripped ]]&gt;&lt;/category&gt;&lt;/bookmark&gt;&quot;;

$xml_b = new XML_Beautifier();
if (Error::isError($a = $xml_b-&gt;formatString($string))) {
        echo $a-&gt;getMessage();	
} else {
        echo $a;
}

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE bookmark SYSTEM &quot;bookmark.dtd&quot;&gt;
&lt;bookmark&gt;
      &lt;category&gt;
            &lt;![CDATA[ this cdata will be stripped ]]&gt;
      &lt;/category&gt;
&lt;/bookmark&gt;

Actual result:
--------------
&lt;bookmark&gt;
      &lt;category&gt;
            this cdata will be stripped
      &lt;/category&gt;
&lt;/bookmark&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Bug
Reported by jonysk@...
2005-09-19T05:42:21+00:00
PHP: 5.0.3 OS: Debian Linux Package Version: 

Description:
------------
This class is very useful for indent codes... But, unfortunately, many relevant tags are stripped, such as CDATA sections and DOCTYPE definition. This make the class useless for complex codes that have those features...



Test script:
---------------
A little example: 

$string = &quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;&lt;!DOCTYPE bookmark SYSTEM \&quot;bookmark.dtd\&quot;&gt;&lt;bookmark&gt;&lt;category&gt;&lt;![CDATA[ this cdata will be stripped ]]&gt;&lt;/category&gt;&lt;/bookmark&gt;&quot;;

$xml_b = new XML_Beautifier();
if (Error::isError($a = $xml_b-&gt;formatString($string))) {
        echo $a-&gt;getMessage();	
} else {
        echo $a;
}

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE bookmark SYSTEM &quot;bookmark.dtd&quot;&gt;
&lt;bookmark&gt;
      &lt;category&gt;
            &lt;![CDATA[ this cdata will be stripped ]]&gt;
      &lt;/category&gt;
&lt;/bookmark&gt;

Actual result:
--------------
&lt;bookmark&gt;
      &lt;category&gt;
            this cdata will be stripped
      &lt;/category&gt;
&lt;/bookmark&gt;</pre>]]></description>
      <dc:date>2011-09-28T01:24:22+00:00</dc:date>
      <dc:creator>jonysk &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_Beautifier Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/4197">
      <title>XML_Beautifier: Feature/Change Request 4197 [Open] Choose change to open and close tags</title>
      <link>http://pear.php.net/bugs/4197</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Feature/Change Request
Reported by info@...
2005-04-21T13:15:37+00:00
PHP: 5.0.3 OS:  Package Version: 

Description:
------------
I would like to be abled to choose how tags are changed to open and close tags.

1.) &lt;div /&gt; --&gt; &lt;div /&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div&gt;&lt;/div&gt;
2.) &lt;div /&gt; --&gt; &lt;div&gt;&lt;/div&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div&gt;&lt;/div&gt;
3.) &lt;div /&gt; --&gt; &lt;div /&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div /&gt;

Now method 3 is always used. This pretty much kills the use of the beautifier for XHTML, since tags like &lt;script /&gt; are not accepted.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Feature/Change Request
Reported by info@...
2005-04-21T13:15:37+00:00
PHP: 5.0.3 OS:  Package Version: 

Description:
------------
I would like to be abled to choose how tags are changed to open and close tags.

1.) &lt;div /&gt; --&gt; &lt;div /&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div&gt;&lt;/div&gt;
2.) &lt;div /&gt; --&gt; &lt;div&gt;&lt;/div&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div&gt;&lt;/div&gt;
3.) &lt;div /&gt; --&gt; &lt;div /&gt;  |  &lt;div&gt;&lt;/div&gt; --&gt; &lt;div /&gt;

Now method 3 is always used. This pretty much kills the use of the beautifier for XHTML, since tags like &lt;script /&gt; are not accepted.</pre>]]></description>
      <dc:date>2008-10-02T21:45:46+00:00</dc:date>
      <dc:creator>info &amp;#x61;&amp;#116; adaniels &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>XML_Beautifier Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/2144">
      <title>XML_Beautifier: Bug 2144 [Verified] High-UTF entities in attributed decoded as ?</title>
      <link>http://pear.php.net/bugs/2144</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Bug
Reported by spam@...
2004-08-17T07:08:53+00:00
PHP: 4.3.3 OS: MacOS X 10.3 Package Version: 

Description:
------------
When converting XML in UTF-8 containing russian letters 
encoded as character references in attribute values 
converted attribute values contain only ?????

Reproduce code:
---------------
	$_xml = '&lt;' . '?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?' . '&gt;';
  
  $_xml .= &lt;&lt;&lt;EOF
  &lt;bogustag attribute=&quot;&amp;#x418;&amp;#x43D;&amp;#x43D;&amp;#x43E;&amp;#x432;&amp;#x430;&amp;#x446;&amp;#x438;&amp;#x43E;&amp;#x43D;&amp;#x43D;&amp;#x44B;&amp;#x439; &amp;#x434;&amp;#x430;&amp;#x439;&amp;#x434;&amp;#x436;&amp;#x435;&amp;#x441;&amp;#x442;&quot;&gt;
    &lt;content /&gt;
  &lt;/bogustag&gt;
EOF;

require_once 'pear/XML/Beautifier.php';
$bf = new XML_Beautifier;

echo $bf-&gt;formatString( $_xml);

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;  
&lt;bogustag attribute=&quot;(russian letters here)&quot;&gt;
    &lt;content /&gt;
&lt;/bogustag&gt;

see http://clients.julik.nl/cases/bea.xml

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;  
&lt;bogustag attribute=&quot;????????????? ????????&quot; 
feed_id=&quot;4&quot;&gt;
    &lt;content /&gt;
&lt;/bogustag&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Bug
Reported by spam@...
2004-08-17T07:08:53+00:00
PHP: 4.3.3 OS: MacOS X 10.3 Package Version: 

Description:
------------
When converting XML in UTF-8 containing russian letters 
encoded as character references in attribute values 
converted attribute values contain only ?????

Reproduce code:
---------------
	$_xml = '&lt;' . '?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?' . '&gt;';
  
  $_xml .= &lt;&lt;&lt;EOF
  &lt;bogustag attribute=&quot;&amp;#x418;&amp;#x43D;&amp;#x43D;&amp;#x43E;&amp;#x432;&amp;#x430;&amp;#x446;&amp;#x438;&amp;#x43E;&amp;#x43D;&amp;#x43D;&amp;#x44B;&amp;#x439; &amp;#x434;&amp;#x430;&amp;#x439;&amp;#x434;&amp;#x436;&amp;#x435;&amp;#x441;&amp;#x442;&quot;&gt;
    &lt;content /&gt;
  &lt;/bogustag&gt;
EOF;

require_once 'pear/XML/Beautifier.php';
$bf = new XML_Beautifier;

echo $bf-&gt;formatString( $_xml);

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;  
&lt;bogustag attribute=&quot;(russian letters here)&quot;&gt;
    &lt;content /&gt;
&lt;/bogustag&gt;

see http://clients.julik.nl/cases/bea.xml

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;  
&lt;bogustag attribute=&quot;????????????? ????????&quot; 
feed_id=&quot;4&quot;&gt;
    &lt;content /&gt;
&lt;/bogustag&gt;</pre>]]></description>
      <dc:date>2011-09-28T01:24:16+00:00</dc:date>
      <dc:creator>spam &amp;#x61;&amp;#116; julik &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>XML_Beautifier Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/1884">
      <title>XML_Beautifier: Bug 1884 [Verified] Parser is changing Ã¶ to &quot; Ã¶ &quot;</title>
      <link>http://pear.php.net/bugs/1884</link>
      <content:encoded><![CDATA[<pre>XML_Beautifier Bug
Reported by rm@...
2004-07-15T19:58:34+00:00
PHP: Irrelevant OS: Debian Package Version: 

Description:
------------
The Parser is changing sch&amp;#246;n to sch Ã¶ n.

Reproduce code:
---------------
&lt;?php
$vXMLBeautifier='XML/Beautifier.php';

$vXMLInhalt = '&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;&lt;objekttitel&gt;sch&amp;#246;n&lt;/objekttitel&gt;';

require_once $vXMLBeautifier;
$vXMLBeautifier = new XML_Beautifier();
echo $vXMLBeautifier-&gt;formatString($vXMLInhalt);
?&gt;


Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;&lt;objekttitel&gt;sch&amp;#246;n&lt;/objekttitel&gt;


Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; standalone=&quot;yes&quot;?&gt;&lt;objekttitel&gt;sch Ã¶ n&lt;/objekttitel&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_Beautifier Bug
Reported by rm@...
2004-07-15T19:58:34+00:00
PHP: Irrelevant OS: Debian Package Version: 

Description:
------------
The Parser is changing sch&amp;#246;n to sch Ã¶ n.

Reproduce code:
---------------
&lt;?php
$vXMLBeautifier='XML/Beautifier.php';

$vXMLInhalt = '&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;&lt;objekttitel&gt;sch&amp;#246;n&lt;/objekttitel&gt;';

require_once $vXMLBeautifier;
$vXMLBeautifier = new XML_Beautifier();
echo $vXMLBeautifier-&gt;formatString($vXMLInhalt);
?&gt;


Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;&lt;objekttitel&gt;sch&amp;#246;n&lt;/objekttitel&gt;


Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; standalone=&quot;yes&quot;?&gt;&lt;objekttitel&gt;sch Ã¶ n&lt;/objekttitel&gt;</pre>]]></description>
      <dc:date>2011-09-28T01:24:09+00:00</dc:date>
      <dc:creator>rm &amp;#x61;&amp;#116; visionthink &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>XML_Beautifier Bug</dc:subject>
    </item>
</rdf:RDF>
