Reformat grammar.
Improve error handling for query body.
Separate parser tests for valid and error scenarios.
Improve syntax error handling.
Improve XML syntax error handling.