This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29559 - QT3toXSLT3converter - generates bad code for lookup expressions
Summary: QT3toXSLT3converter - generates bad code for lookup expressions
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 11:04 UTC by Michael Kay
Modified: 2016-06-14 14:50 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2016-04-05 11:04:18 UTC
The QT3toXSLT3converter stylesheet (with $unfolded=true) generates incorrect code for an integer literal in a lookup expression. See test ArrayTest-012

given [1,2,3]?0

it generates [XXXX]?unfolded:literal(0)

but a function call is not valid on the RHS of "?".
Comment 1 Michael Kay 2016-06-14 14:50:27 UTC
This appears to have been fixed.