Project

Profile

Help

Bug #1435

closed

Internal error on map-pairs

Added by Michael Kay about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2012-03-08
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

I know XQuery 3.0 is a work in progress, but thought I’d flag this up. Using latest Stylus Studio that comes with Saxon 9.3.0.8, if I try

map-pairs(concat(?,?),1 to 10, 2 to 11)

I get:

Internal error: early evaluation of subexpression with no context

Works fine on BaseX 7.1.1

map-pairs(function($a,$b){concat($a,$b)},1 to 10, 2 to 11)

works ok on 9.3.0.8

map(max(?),1 to 10)

fails too (Pointless I know, just want to show error with simpler case).

Please register to edit this issue

Also available in: Atom PDF