ID: 22774
User updated by: fgarcia at uef dot es
Reported By: fgarcia at uef dot es
-Status: Feedback
+Status: Open
Bug Type: DOM XML related
Operating System: Windows 2000
PHP Version: 4.3.2RC1
New Comment:
I have tested only in 4.3.0 and 4.3.2RC1 win32 versions.
Both have the same problem.
Previous Comments:
------------------------------------------------------------------------
[2003-03-18 20:19:01] [EMAIL PROTECTED]
Are you sure you really are using the 4.3.2RC1 ???
------------------------------------------------------------------------
[2003-03-18 20:18:22] [EMAIL PROTECTED]
I can not reproduce this on Linux using latest stable CVS snapshot with
the example script. Maybe it's win32 only bug?
------------------------------------------------------------------------
[2003-03-18 16:21:19] fgarcia at uef dot es
Sorry, on Windows 2000
------------------------------------------------------------------------
[2003-03-18 16:19:37] fgarcia at uef dot es
Runnig the following script (php -q domtest.php), you will get a
Windows System Error when the script ends.
The Error depends on the internal size of the xml document.
If the 'for' is of 100 iterations, the error no happen.
(I'm using the Windows compilation downloaded from php.net. Same
problem in version 4.3.0)
domtest.php:
<?
if (!extension_loaded("php_domxml")) @dl("php_domxml.dll");
$domR=domxml_new_doc('1.0');
$nItinerario = $domR->create_element("itinerario");
for ($i=0; $i<400; $i++) {
$n=$domR->create_element("HH");
$n->append_child($domR->create_text_node('long long long long long
long long long long long long long'));
$nItinerario->append_child($n);
}
$domR->append_child($nItinerario);
//$xml=$domR->dump_mem();
//echo $xml;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22774&edit=1