XQuery Update Facility Grammar Test Page

This page is meant to be a tool for readers and parser implementers of XQuery Update Facility (http://www.w3.org/TR/2007/WD-xquery-update-10-20070828/). It allows them to type in an expression, and then view the parse tree, or else obtain an error if it is syntactically incorrect. The results should not be used as an absolute reference, and may flag legal syntax or errors not intended by the drafts. However, the parser used was generated by processing the XML representation of the grammar, which is also used to produce the EBNF productions in the XPath and XQuery drafts. This parser is also used by the working groups to validate the integrity of the grammar. Implementers may wish to download the XPath 2.0/XQuery 1.0 Parser Build, xquery-update.zip, if they are interested in the parser production, and more details of this process. The JavaCC/JJTree files are at xquery-update-grammar.jj and xquery-update-grammar.jjt.

Type in a XQuery Update Facility expression then click on the button:

If the Applet box above is gray, or non-functional, it is likely that your browser does not support Java. In particular, Microsoft no longer distributes their Java VM. You may install the Sun Java Plug-in. Go to http://java.sun.com/products/plugin/ and follow the "Download the JRE" link, and install.

Page created by Scott Boag.
Page maintained by Liam Quin.
Current: $Revision: 1.4 $

Copyright © 2000-2006 W3C (MIT, ERCIM, Keio ), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.