Re: XML_CSSML, XML_XPath
| From: | Helgi Þormar | Date: | Sun, 16 Oct 2005 06:34:51 +0000 |
| Subject: | Re: XML_CSSML, XML_XPath | ||
| References: | 1 2 3 4 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3135@lists.php.net to get a copy of this message | ||
On Sun, 16 Oct 2005 08:08:11 +0200, Sebastian Bergmann wrote:
> Arnaud Limbourg schrieb:
>> For the record, both packages were released today.
>
> Got the following message from my fellow Gentoo developer:
>
> When testing PEAR-XML_XPath, I found that it appears to depend on the
> PEAR_Error class provided by PEAR-PEAR. However, the current version
> of PEAR-PEAR appears to have deprecated PEAR_Error in favor of
> PEAR_ErrorStack.
This is false, it has not been deprecated and probably never will be,
ErrorStack is simply a more sophisticated alternative to PEAR_Error.
> Also, in trying to test that PEAR-XML_XPath actually works, the
> example script XML_XPath_example.php fails with the following;
>
> Fatal error: Call to undefined function domxml_open_mem() in
> /usr/share/php/XML/XPath.php on line 142
>
> It looks like XML_XPath needs a "PHP 4 only" dependency, too, just like
> XML_CSSML.
Also "false", if one takes a look at www.php.net/domxml then you can see
it's a PECL ext that is said to "work" on PHP 5, so placing a domxml
dep is the way to go, then again, how well does it "work" under PHP 5 ?
Well maybe PHP 4 dep is the way to go if one wants no problem from this
thing, guess someone should write a decent PHP 5 support to XPath.
- Helgi