From: development at 2mtec dot de Operating system: Linux 2.4.36.9 PHP version: 5.2.7RC4 PHP Bug Type: *XML functions Bug description: Missing < and > in XML-Source
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 bug report at http://bugs.php.net/?id=46669&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46669&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46669&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46669&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46669&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46669&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46669&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46669&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46669&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46669&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46669&r=support Expected behavior: http://bugs.php.net/fix.php?id=46669&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46669&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46669&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46669&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46669&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46669&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46669&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46669&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46669&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46669&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46669&r=mysqlcfg