Details
Description
When xpath has OR-ed primary type and a couple of OR-ed property constraint (e.g. [0]), the converted sql statement doesn't get ordering clause.
[0]:
//(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
When xpath has OR-ed primary type and a couple of OR-ed property constraint (e.g. [0]), the converted sql statement doesn't get ordering clause.
[0]:
//(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo