delb-xml / delb-py

A library that provides an ergonomic model for XML encoded text documents (e.g. with TEI-XML).
https://delb.readthedocs.io
GNU Affero General Public License v3.0
16 stars 0 forks source link

WIP: Fixes parsing of attribute test predicate conjunctions in xpath queries #21

Closed JKatzwinkel closed 3 years ago

JKatzwinkel commented 3 years ago

Splitting an expression at the delimiter " and " would be handled incorrectly, resulting in segments starting with whitespace, which would cause determination of query ambiguity always fail.

Conjunction of attribute tests in seperate square brackets wasn't permitted, even though it could be.

funkyfuture commented 3 years ago

i'll cherry-pick this to #20 and then discuss this there. the fundamental question is: how serious does one take that XPath thing?