Bug #12993 Updated: xpath_eval doesn't work anymore (segfault)

From: Date: Tue, 28 Aug 2001 08:23:24 +0000
Subject: Bug #12993 Updated: xpath_eval doesn't work anymore (segfault)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64469@lists.php.net to get a copy of this message
ID: 12993 User updated by: chregu@phant.ch Reported By: chregu@phant.ch 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] chregu@phant.ch 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

« previous php.dev (#64469) next »