← Back to team overview

zorba-coders team mailing list archive

[Bug 867227] Re: Confusing error message

 

** Changed in: zorba
    Milestone: None => 2.7

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867227

Title:
  Confusing error message

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query:
  for $test in (1 to 10)
  return if(true()) then {
   true();
   1
  } else {

  }

  true()

  outputs:
  :9,1: static error [err:XPST0003]: invalid expression: syntax error, unexpected "QName", expecting "end of file";

  However this message is not explicit about what's wrong in the query
  above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867227/+subscriptions