[Home] [By Thread] [By Date] [Recent Entries]


Bill de hÓra wrote:

> 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.

And you couldn't construct and manipulate strings dynamically?

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

Yes, it can. But the most common use of syntax trees is as a parse 
result. A corollary in this domain would be if one could read a stored 
(or user-entered) query and obtain a syntax tree from it. But I didn't 
get that from the sketched proposal, which seemed to me to be 
output-only. Granted, given that there is no actual proposal, one is 
free to attach all sorts of wonderful things one would like to be in it, 
but it would be good to know what use cases you or others are thinking 
an OOPified API would address.

Bob Foster
http://xmlbuddy.com/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member