[PEPr] Comment on XML::XML_Indexing
| From: | Christian Stocker | Date: | Mon, 04 Oct 2004 06:36:10 +0000 |
| Subject: | [PEPr] Comment on XML::XML_Indexing | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33646@lists.php.net to get a copy of this message | ||
Christian Stocker (http://pear.php.net/user/chregu) has commented on the proposal for
XML::XML_Indexing.
Comment:
I don't know, what I should think of this package. Nice idea, missleading
title, wrong implementation of XPath
1) You're not implementing "Not all of the XPath language, but an
appropriate subset for what a big XML files is expected to contain.", but
a very limited one, which is even wrong.
the get the title of the 2nd entry of my test file, I have to write
/planet/entry/title[2]
while it should be
/planet/entry[2]/title
2) More than one attribute matching doesn't work
3) namespaces are not supported (AFAICS)
4) It exhausted my memory (a 5 MB File hit the 16 MB memlimit, which
XPath/PHP5 didn't)
The idea is nice and I certainly see a use for this package, but I think
the name is missleading, since it promises too much
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=158
--
Sent by PEPr, the automatic proposal system at http://pear.php.net