These changes fix the test failures that came up after adding ICU4J to the classpath, in tests with name prefix UCA.
The failure count for those tests reduces to 1 without and to 3 with ICU4J. The remaining failures are
UCA-params-034: Unknown function: fn:collation-key. This occurs in either variant.
UCA-reorder-codes-009, UCA-reorder-codes-010: these occur with ICU4J, and IMO they trigger a bug in ICU4J when using RuleBasedCollator.setReorderCodes. I made some experiments by setting the codes in a more explicit fashion, but did not manage to get it working consistently. This might be the same bug that Saxon is referring to in its documentation of reorder.
These changes fix the test failures that came up after adding ICU4J to the classpath, in tests with name prefix
UCA
.The failure count for those tests reduces to 1 without and to 3 with ICU4J. The remaining failures are
UCA-params-034
: Unknown function:fn:collation-key
. This occurs in either variant.UCA-reorder-codes-009
,UCA-reorder-codes-010
: these occur with ICU4J, and IMO they trigger a bug in ICU4J when usingRuleBasedCollator.setReorderCodes
. I made some experiments by setting the codes in a more explicit fashion, but did not manage to get it working consistently. This might be the same bug that Saxon is referring to in its documentation ofreorder
.