Re: Xerces-J 2.12.0 vs. Saxon: XSD 1.1 validation errors

2018-07-05 Thread Mukul Gandhi
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

Re: Xerces-J 2.12.0 vs. Saxon: XSD 1.1 validation errors

2018-07-03 Thread Mukul Gandhi
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()