Req #65604 [Com]: xmlrpc_decode return null when huge data

From: Date: Tue, 13 May 2014 21:25:20 +0000
Subject: Req #65604 [Com]: xmlrpc_decode return null when huge data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185811@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65604&edit=1

 ID:                 65604
 Comment by:         scott_mosbrucker at doosan dot com
 Reported by:        pashak at ngs dot ru
 Summary:            xmlrpc_decode return null when huge data
 Status:             Open
 Type:               Feature/Change Request
 Package:            XMLRPC-EPI related
 Operating System:   linux
 PHP Version:        5.4.19
 Block user comment: N
 Private report:     N

 New Comment:

I can duplicate this problem on PHP 5.5.8, libxml 2.7.6

It works fine for us using php 5.1.6, libxml 2.6.26


Previous Comments:
------------------------------------------------------------------------
[2013-09-02 09:12:10] pashak at ngs dot ru

Description:
------------
Xml_rpc php extension uses libxml. For correct parsing huge data libxml contains a constant -
LIBXML_PARSEHUGE, but I can't use it in xml_rpc extension.
I can use it, for example, in simplexml extension:
$res = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_PARSEHUGE);

Now I can't process a large file (more then 10Mb) with xmlrpc_decode as he will always return
null.



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



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


Thread (5 messages)

« previous php.bugs (#185811) next »