Afficher un message
Vieux 25/10/2007, 23h24   #3
Weston
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Limits to XPath implementaiton in PHP5

On Oct 22, 3:37 pm, Jeremy <jer...@pinacol.com> wrote:
> That said, try using the DOM API instead of SimpleXML and see if you
> have better results.


There are indeed some different results. Here's a basic rundown:

count() predicate: succesful under DOM, fails quietly under SimpleXML
"|" (union) operator: succesful under DOM, not sure under SimpleXML
"union" operator: fails with error under both
"intersect" operator: fails with error under both
kaysian intersection technique: succesful under DOM, fails under
SimpleXML

>Then, try peeking into the libxml error stack
> directly using the libxml functions:
>
> http://us.php.net/manual/en/ref.libxml.php


I'll have to poke at that further, but at this point it does look like
both APIs can't simply be handing off to libxml.






  Réponse avec citation
 
Page generated in 0,04544 seconds with 9 queries