sissaschool / elementpath

XPath 1.0/2.0/3.0/3.1 parsers and selectors for ElementTree and lxml
MIT License
72 stars 20 forks source link

First stab at fixing and testing preceding-sibling::text() and following-sibling::text() issue raised as issue 42 #43

Closed martin-honnen closed 2 years ago

martin-honnen commented 2 years ago

I found some problems with following-sibling::text() and preceding-sibling::text(), see issue https://github.com/sissaschool/elementpath/issues/42, and have tried to fix the obvious omissions to process parent.text and/or item.text.

brunato commented 2 years ago

Hi, thank you for the fix. I merge this and then i will fix static typing tests.