Thanks for reporting this bug.

I have created a bug issue report, where you can track its progress. Please see: 

This regression has occurred as a result of the changes to the FilterExpressionCompiler (originally reported in the bug issue:

kind regards,


On 31 Jul 2014, at 10:29, Gunther Rademacher <> wrote:

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
Best regards,
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
saxon-help mailing list archived at

O'Neil Delpratt
Software Developer, Saxonica Limited Email:
Tel: +44 118 946 5894
Saxonica Community site:
Bug tracking site: