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 ]

[not xposted to jsr-225-comments@jcp.org]

Bob Foster wrote:

> The main advantage of your proposal, OOP orthodoxy aside, seems to be in 
> preventing syntactically incorrect queries. 

No. Syntactic correctness isn't what's valuable, nor is OOP 
conformance. What is valuable is the ability to construct and 
mnaipulate queries dynamically in the target programming language - 
XQuery reflection.

>  On the con side, 
> building up expressions using individual For, Where, etc. classes is 
> certainly going to be clumsier.

Not in my experience. Having access to a syntax tree can be quite 



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

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