Re: XML_Xpath
| From: | Lukas Smith | Date: | Thu, 29 Jan 2004 23:30:59 +0000 |
| Subject: | Re: XML_Xpath | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-427@lists.php.net to get a copy of this message | ||
Cipriano Groenendal wrote:
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]Well I was about to send this package to the not yet existing orphanage. If you can fix it up so that the examples actually work I am all for handing you the maintanership of the package. Dan seems to be really swamped with other things and its really a huge issues to have such a severly broken package in CVS. Please also make sure the package runs on php5 .. special care needs to be taken since get_class() will actually return the exact case of the class in php5 ... regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07