[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The use of XML syntax in XML Query


embed xml query
Elliotte Rusty Harold wrote:
> 
> Nobody's going to confuse Java or SQL with XML. People will confuse
> XQuery with XML.

But people wanting to embed Java or SQL in an XML document will have the
same problems as people wanting to embed XQuery in an XML document.
(Those less-than signs in where clauses are still going to cause
problems.) My guess is that putting XQuery statements into an XML
document is a less than 20% case, and removing the XML-like constructor
syntax will just make life unnecessarily difficult on the remaining
80+%.

> Languages designed for processing XML documents should either be XML
> themselves (XSLT, Schemas) or totally non-XML (XPath) but in-between
> these two poles lies disaster.

Well, you've certainly got more experience with everyday users than I
do, but I'm less than convinced :)

> I want both at the same time, and see no reason I can't have that.
> :-) For the record, I specifically reject any syntax so complicated
> that I can't write it in BBEdit. i.e. no special tools should be
> necessary to generate an XQuery.

Agreed.

> I'm smart enough to write SQL and
> XSLT by hand. Why does XQuery need to be any more complex than this?

I don't think the current syntax is.

> That rules XQueryX as it exists now, but it could be fixed if that
> were considered desirable by the working group.

I'm less than convinced. Experience with schema languages suggests that
XML-izing things often makes them harder to read. In fact, the only XML
stuff I've seen that's easy to read is: (a) documents a la XHTML, and
(b) XML that looks like object serializations.

-- Ron

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.