Bug #60511 [Opn]: XMLReader chokes on mid-size 'single line' documents
Edit report at https://bugs.php.net/bug.php?id=60511&edit=1
ID: 60511
User updated by: r dot altenburg at eti dot uva dot nl
Reported by: r dot altenburg at eti dot uva dot nl
Summary: XMLReader chokes on mid-size 'single line' documents
Status: Open
Type: Bug
Package: XML Reader
Operating System: Mac OS X 10.6.8
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
Expected result should be a completely parsed XML file of course...
Previous Comments:
------------------------------------------------------------------------
[2011-12-13 15:35:45] r dot altenburg at eti dot uva dot nl
Description:
------------
I must say in honesty that I have only verified in 5.3.6 and 5.2.17, I have no
option to verify in the very latest versions.
I have created a script that parses large XML files. Essentially these files are
single line documents without returns between the tags. When running the script
(see URL), I get a timeout after processing just a few nodes.
Incidentally I had a copy of the same XML file at hand that had been formatted for
readability in BBEdit. To my surprise this version was parsed to the very end!
Test script:
---------------
Test script
http://test.etibioinformatics.nl/xmlreader/index.php.zip
Two version of the same XML file
http://test.etibioinformatics.nl/xmlreader/xml.zip
Expected result:
----------------
Timeout
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60511&edit=1
Thread (4 messages)