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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Early Draft Review: XQuery for Java (JSR 225)

[ Lists Home | Date Index | Thread Index ]

> What you say is quite impossible - maybe I am not clear enough:
> the simple static analysis I am aiming at is made by the *Java
> compiler*: correct syntax of the query, and possibly some type-checking.
> This catches the "easily avoidable errors".

My point is you can use the prepare step to validate the query. It's not compile
time, but it's pre-execution.

> Let us suppose you want to use such a tool: every abstract syntax tree
> can be serialized to concrete syntax with no effort.

Suppose I want to [build | buy ] a query logger, performance monitor, trace tool
or query designer that's programmed in C++ or Visual Basic. It can process or
generate XQuery strings, but it's unlikely to "understand" encrypted Java


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

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