Req #65604 [Com]: xmlrpc_decode return null when huge data
| From: | s1ay3r dot no0n3 at gmail dot com | Date: | Wed, 11 Mar 2015 10:13:58 +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-191305@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: s1ay3r dot no0n3 at gmail 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 bug on PHP 5.5.9, libxml 2.9.1.
Previous Comments:
------------------------------------------------------------------------
[2014-05-13 21:25:18] scott_mosbrucker at doosan dot com
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
------------------------------------------------------------------------
[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