ID:               44661
 User updated by:  elaine dot seery at gmail dot com
 Reported By:      elaine dot seery at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         SOAP related
 Operating System: Debian/WindowsXP
 PHP Version:      5.2.5
 New Comment:

in fact, this 'bug' comes from using SOAP UI to generate the request
and read the response. it's not a php bug at all.


Previous Comments:
------------------------------------------------------------------------

[2008-04-07 14:16:00] elaine dot seery at gmail dot com

Description:
------------
if data returned by a SOAP request begins with <![CDATA, another CDATA
section is added by the SOAP server.

It looks like when a '<' is detected in the return string by the soap
server, there is an automatic <![CDATA[ prefix added - even if the < is
already the start of a CDATA statement.

Reproduce code:
---------------
data to be returned 
$maildetails = "<![CDATA[<?xml version="1.0" encoding="......";


Expected result:
----------------
<ns1:EmailDetails><![CDATA[<?xml version="1.0" encoding="

Actual result:
--------------
<ns1:EmailDetails><![CDATA[<![CDATA[<?xml version="1.0" encoding="


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44661&edit=1

Reply via email to