|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Early Draft Review: XQuery for Java (JSR 225)
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








