zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #11328
[Bug 867357] Re: Improved parser error message
** Changed in: zorba
Status: New => Fix Committed
--
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:
Fix Committed
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