php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46669 Missing < and > in XML-Source
Submitted: 2008-11-25 17:26 UTC Modified: 2008-12-03 01:00 UTC
From: development at 2mtec dot de Assigned:
Status: No Feedback Package: *XML functions
PHP Version: 5.2.7RC4 OS: Linux 2.4.36.9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-11-25 17:26 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-25 19:43 UTC] jani@php.net
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.



 [2008-12-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC