enable exslt functions in plain xpath

Bug #515553 reported by Dirk Rothe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lxml
Fix Released
Wishlist
scoder

Bug Description

It would be nice to have exslt function support in plain xpath.

> In [9]: print tree.xpath("/a[@b=str:split('12 34')]", namespaces={'str':
> "http://exslt.org/strings"})
> [...]
> XPathEvalError: Unregistered function

--dirk

Revision history for this message
scoder (scoder) wrote :

This has been implemented in trunk rev. 71556

https://codespeak.net/viewvc/?view=rev&revision=71556

Note, however, that the "split" and "tokenize" string functions are not currently available due to a bug in libxslt. See

https://bugzilla.gnome.org/show_bug.cgi?id=611394

Changed in lxml:
assignee: nobody → Stefan Behnel (scoder)
importance: Undecided → Wishlist
milestone: none → 2.3
status: New → Fix Committed
Revision history for this message
scoder (scoder) wrote :

Fixed in lxml 2.3alpha1.

Changed in lxml:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.