Bug #14494: xpath_new_context nolonger works
| From: | peter at jingo dot com | Date: | Thu, 13 Dec 2001 21:31:57 +0000 |
| Subject: | Bug #14494: xpath_new_context nolonger works | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73620@lists.php.net to get a copy of this message | ||
From: peter@jingo.com
Operating system: Linux Red Hat 7.1
PHP version: 4.1.0
PHP Bug Type: DOM XML related
Bug description: xpath_new_context nolonger works
xpath_new_context()
worked fine in 4.0.6 with libxml2-2.3.10
but not with 4.1 with neither
libxml2-2.4.2 nor libxml2-2.4.12
<?php
$xmlDOM = xmldocfile('index.xml');
$xpath = xpath_new_context ($xmlDOM);
?>
returns:
Warning: Invalid object in test.php on line 13
./configure --with-apxs=/usr/local/apache/bin/apxs --with-db
--with-pgsql=/usr/local/pgsql --with-gettext --with-openssl=/usr/local/ssl
--enable-dbase --with-expat-dir=/usr/local/expat --with-dom --with-zlib
--enable-xslt --with-xslt-sablot=/usr/local/sablot
--
Edit bug report at: http://bugs.php.net/?id=14494&edit=1