OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Announcement: new Grammar Test Pages for XQuery1.0 and XPath2.0

[ Lists Home | Date Index | Thread Index ]
  • To: Xml-Dev@Lists.xml.org
  • Subject: Announcement: new Grammar Test Pages for XQuery1.0 and XPath2.0
  • From: Massimo Marchiori <massimo@w3.org>
  • Date: Fri, 16 Aug 2002 21:07:44 -0400


New "grammar pages" are available for XQuery 1.0 and XPath 2.0: they allow to test
online the syntactic validity of an XQuery1.0 / XPath2.0 expression. The grammar pages
are up-to-date wrt the latest XQuery/XPath2.0 drafts (16 August 2002).

XQuery 1.0 Grammar page:
http://www.w3.org/2002/08/applets/xqueryApplet

XPath 2.0 Grammar page:
http://www.w3.org/2002/08/applets/xpathApplet

The pages are also linked from the XML-Query public home page (http://www.w3.org/XML/Query ), 
so there is no need to bookmark them separately.

More precise technical description:
These grammar pages are meant to be a tool for readers and parser implementers 
of XQuery/XPath 2.0. They allow to type in an XQuery/Xpath2.0 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 XML-Query and XSL working groups to validate the integrity of the grammar.
Implementers may wish to download the XPath 2.0/XQuery 1.0 Parser Build 
(http://www.w3.org/2002/08/applets/xgrammar.zip ) if they are interested in the parser 
production, and more details of this process.

-Massimo


/---------------------------------------------------------------\
| Massimo Marchiori                                             |
| The World Wide Web Consortium (W3C)  Tel: + 1 617 4523757     |
| MIT Laboratory for Computer Science  Fax: + 1 617 2585999     |
| University of Venice                 Tel: +39 041 2908423     |
| WWW: http://w3.org/People/Massimo    Fax: +39 041 2908419     |
| Email: massimo@w3.org                                         |
\---------------------------------------------------------------/





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS