OP-TED / efx-toolkit-java

This is an EFX translator written in Java. It supports multiple target languages. It includes an EFX expression translator to XPath. It is used to in the generation of the Schematron rules in the eForms SDK.
European Union Public License 1.2
9 stars 1 forks source link

Improved contextualisation of XPath steps with the same step-text but different predicates. #88

Closed rousso closed 1 year ago

bertrand-lorentz commented 1 year ago

Just added a commit to improve a test, and another commit to add a test.

I was not sure of the expected result for this new test: contextualize("/a/b/c[e/f = 'z']", "/a/b/c") But it turns out it already returns "." before this change.

Generating the schematron rules with this change does not have any impact. The rules probably do not hit the situation impacted by this.

So OK for me.