#46669 [Opn->Fbk]: Missing < and > in XML-Source
| From: | jani@php.net | Date: | Tue, 25 Nov 2008 19:43:18 +0000 |
| Subject: | #46669 [Opn->Fbk]: Missing < and > in XML-Source | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131316@lists.php.net to get a copy of this message | ||
ID: 46669
Updated by: jani@php.net
Reported By: development at 2mtec dot de
-Status: Open
+Status: Feedback
Bug Type: *XML functions
Operating System: Linux 2.4.36.9
PHP Version: 5.2.7RC4
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2008-11-25 17:26:36] development at 2mtec dot de
Description:
------------
Perhaps this Bug is related to http://bugs.php.net/bug.php?id=45485
However: The Problem is that i missing all < and > characters in XML
which i get through curl after i update to 5.2.7RC4 and XML-Lib 2.7.2
and CURL 7.15.5.
With 5.2.5 and XML-Lib 2.6.26 and CURL 7.16.0 all works very well and
without error messages.
Reproduce code:
---------------
function getXml4CategoryDirect()
{
$categoryId = $this->param[paramMM];
Logger::logg("getXml4CategoryDirect category id: " . $categoryId);
$ebay = $this->createEbay();
$array = $ebay->getXml4Category($this->installation, $categoryId);
echo utf8_encode($array[1]);
}
Expected result:
----------------
<?xml version="1.0"?> <eBay><Attributes>
<AttributeSet id='2136' >
<DomainName><![CDATA[Return Policy]]></DomainName>
Actual result:
--------------
<?xml version="1.0"?> eBayAttributes
AttributeSet id='2136'
DomainName![CDATA[Return Policy]]/DomainName
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46669&edit=1