Project

Profile

Help

Bug #2117

closed

Byte code generation goes for boolean value instead of numeric

Added by O'Neil Delpratt almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Byte code generation
Sprint/Milestone:
-
Start date:
2014-07-31
Due date:
% Done:

100%

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

Description

Reported by Gunther Rademacher:

When byte code generation is in effect, this XQuery

let $x := <x i="0"/>
      return $x[1 + $x/@i]

is rejected with a message of

     FORG0006: Effective boolean value is not defined for sequence starting with an atomic
      value other than a boolean, number, or string

This problem first appears in 9.5.1.6

Please register to edit this issue

Also available in: Atom PDF