#49879 [NEW]: ERROR READING A LONG XML
From: bbarnett at gt dot co dot cr
Operating system: WServer 2K3
PHP version: 5.2.11
PHP Bug Type: SimpleXML related
Bug description: ERROR READING A LONG XML
Description:
------------
I have a long XML that I recieve from another system, but this XML has
more than 30000 records (tag), and when I try to read it PHP can't do it.
If you need the XML data, I can send it to the e-mail that you send me.
Reproduce code:
---------------
$xml= simplexml_load_string(utf8_decode(trim($xmlrecieved)));
if (!$xml ){
print 'MSG-20: Se detecto una respuesta invalida del INS '; die();
}
Expected result:
----------------
I need to process the data in the XML to update a database table.
Actual result:
--------------
PHP can't read it.
--
Edit bug report at http://bugs.php.net/?id=49879&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49879&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49879&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49879&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49879&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49879&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49879&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49879&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49879&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49879&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49879&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49879&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49879&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49879&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49879&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49879&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49879&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49879&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49879&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49879&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49879&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49879&r=mysqlcfg
Thread (6 messages)
- bbarnett at gt dot co dot cr