Bug #2924
closedUsing an array in the content expression of an element constructor
100%
Description
In both XQuery 3.1 and XSLT 3.0, the spec says that any array in the content of an element constructor should be recursively flattened (NOT atomized). We do not appear to be implementing this rule.
However, we are passing the tests in QT3 ArrayTest which purport to test this.
Updated by Michael Kay about 8 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.7, 9.8 added
It looks as if the code in SequenceWriter.append() is handling arrays correctly, but the code in ComplexContentOutputter.append() is not.
And in QT3 we're evaluating queries using XQueryEvaluator.iterate(), in pull mode, rather than XQueryEvaluator.run(), in push mode, which takes us down a different path internally.
Copied the array-flattening code from SequenceWriter to ComplexContentOutputter. On 9.7 and 9.8.
(It would be nice to rationalise this one day!)
Updated by O'Neil Delpratt about 8 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.10 added
Bug fix applied in the Saxon 9.7.0.10 maintenance release
Updated by O'Neil Delpratt over 7 years ago
- Applies to branch deleted (
9.8) - Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue