ID: 10936
User Update by: [EMAIL PROTECTED]
Old-Status: Closed
Status: Open
Bug Type: Reproducible crash
Operating system: Win2K Pro
PHP Version: 4.0.5
Description: DOMXML crash with CDATA

Not in the binaries in

The children property returns NULL in all cases. The children method works correctly 
unless one of the children is a CDATA node.

The source code in
 shows children as a method and not as a property.

Previous Comments:

[2001-05-17 17:59:27] [EMAIL PROTECTED]
domxml has changed from children being a method to being a member. Try $children = 


[2001-05-17 13:21:56] [EMAIL PROTECTED]
I am running the latest Win32 binaries from the download page. I am using the 
ISAPI module on IIS5. In php.ini I enabled DOMXML by uncommenting the appropriate 

Calling the children function on a node that has a CDATA node as a child results in an 
access violation. Here's a script that reproduces the problem:

$doc = xmldocfile('');
$root = $doc->root();
$children = $root->children();
$children = $children[1]->children();

I would have generated a gdb backtrace if the instructions for doing so explained how 
to do it with the ISAPI module.


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to