← Back to team overview

zorba-coders team mailing list archive

[Bug 867357] Re: Improved parser error message

 

** Branch linked: lp:~nbrinza/zorba/error-messages

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

Title:
  Improved parser error message

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Provide an improved error message for a syntax error reported by the
  parser:

  Given:

         for sm1 in $x/match

  I get:

  > line 23, column 7: [XPST0003] syntax error, unexpected "'QName'",
  expecting end of file

  A better error message would be:

  > unexpected QName (missing '$'?)

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