Hi Yitzhak,
Thanks for the test case.
I did run your test cases. The reason why the following,
Rule #2
string from country element value,
fails
gives an error, is because in the implementation of fn:index-of function in
Xerces's XPath 2.0 processor, the 2nd argument
Hi Yitzhak,
I studied one of the XPath expressions in the of your XSD. This
is below,
if (abs((ContractValueShortTerm + ContractValueLongTerm) - ContractValue)
le subsequence((0.05, 0.1, 0.05, 0.05, 0.05, 0.05, 0.05),
index-of(('BO','CO','GT','HN','PY','SV','TZ'), CountryCode), 1)) then
true()