Actions
Bug #1688
closedIncorrect optimization of saxon:stream()
Start date:
2013-01-17
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
During optimization of a stylesheet, an incorrect rewrite may be applied to the "StreamingCopy" instruction, which is normally used as the compiled representation of a call on saxon:stream() (but may also represent an <xsl:copy-of saxon:read-once> instruction). The effect is to replace the "filter" part of the expression with a copy of the call on the doc instruction. So, for example, the expression saxon:stream(doc('a.xml')//elements) is rewritten as saxon:stream(doc('a.xml')//elements[doc('a.xml')]. In this example the predicate is always true, so it does not affect the results, but it does inhibit streaming.
Updated by O'Neil Delpratt about 11 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.4.0.7
Bug closed. Fixed in Saxon maintenance release 9.4.0.7
Please register to edit this issue
Actions