Hello.
The current XML_Xpath is 100% completely broken in the newer PHP Versions.
I'm not sure exactly when, but some time along the ride, the DomXML
implementation started returning all its classnames in lowercase(ie:
domdocument). The XML_Xpath package searches the classnames case sensitive
(DomDocument). Thus it'll never recognize XML as being loaded, and will
always fail.
A bug about this has already been submitted over 2 months ago[1], and a
fix[2] for this bug had already been applied to the CVS 5 months, 1 week
ago.
Yet untill now, there has been no new XML_XPath released.
The included test didn't work either, since it used functions(systime())
that simply don't exist.
[1] http://pear.php.net/bugs/bug.php?id=221
[2]
http://cvs.php.net/diff.php/pear/XML_XPath/XPath.php?login=2&r1=1.17&r2=1.18&ty=h
[3]