ID: 12993
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: DOM XML related
Operating System: Debian/unstable Linux 2.4.9
PHP Version: 4.0CVS-2001-08-28
New Comment:

ah forgot to mention:
the script worked in 4.0.6



Previous Comments:
------------------------------------------------------------------------

[2001-08-28 04:21:14] [EMAIL PROTECTED]

actually it does not work in PHP_4_0_7 from cvs as well.

script:
$fd = fopen( $datasrc, "r" );
$xmlstring = fread( $fd, filesize( $datasrc ) );
fclose( $fd );
$xml = xmldoc($xmlstring);
$xpth = $xml->xpath_new_context($xml);
$node = $xpth->xpath_eval("/root/books");

just segfaults at xpath_eval().

libxml2-version is 2.4.3

chregu

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12993&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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