Nested XPath selects on text nodes does not work
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| lxml |
Triaged
|
Wishlist
|
Unassigned | ||
Bug Description
Text nodes are not returned as a lxml.etree.
### BUG
from lxml import etree
string = "<div><
html = etree.fromstrin
x1 = html.xpath(
x2 = x1[0].xpath(
### ---
Python : sys.version_
lxml.etree : (2, 3, 4, 0)
libxml used : (2, 7, 8)
libxml compiled : (2, 7, 8)
libxslt used : (1, 1, 26)
libxslt compiled : (1, 1, 26)

This is a feature request.