Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#522 Incorrect filter optimization in Saxon-SA

v8.7.1
closed
Michael Kay
5
2012-10-08
2006-05-11
Michael Kay
No

When the Saxon-SA optimizer decides that a filter
expression applied to a variable, such as

$idElements[@id=$hrefs]

would benefit from construction of an index, the result
of the indexed retrieval is not (always) sorted and
deduplicated, which means that items from the sequence
$idElements can appear more than once and in the wrong
order.

(For my reference: source fix is in
IndexedClosure.findItems)

Discussion