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

Re: Re: [xquery-talk] JDBC in an XQuery world (?)

  • From: Liam R E Quin <liam@w3.org>
  • To: John Cowan <cowan@mercury.ccil.org>
  • Date: Sun, 02 Oct 2011 15:24:14 -0400

Re:  Re: [xquery-talk] JDBC in an XQuery world (?)
On Sun, 2011-10-02 at 14:42 -0400, John Cowan wrote:
> Liam R E Quin scripsit:
> 
> > > What if I have (or want) an XQuery database
> > > (or would you call that a XML database with an XQuery interface ...?) 
> > 
> > SQL/XML I think describes enough of a mapping, no?
> 
> I don't think so.  SQL/XML extends SQL to add XML as a new kind of primitive
> SQL data type, like strings, numbers, and dates.  What's needed here is a
> way to do ordinary SQL operations over an XDM-based database.

I saw David's first question as having two aspects - could you connect
to a remote XQuery database using ODBC/JDBC and send it XQuery
expressions... the answer is probably, given that SQL has an XQuery
function now.  The other aspect, could you map from the XDM into SQL
types, is also addressed by SQL/XML, as I understand it (e.g. how
xs:dateTime maps to SQL date) so that you can use the results... When we
published the XQuery 1.0 Recommendation we were careful to liaise
between the editor of the ISO SQL work and the (co-)chair of the W3C
XQuery work... which was a straightforward mapping also.

The other question is, could you provide something jdbc-like but with no
SQL at all, not even a one-line wrapper function, and return XDM
instances directly to a system that can deal with this.  Sure, and we
could probably define an xdm:// or xquery:// URI scheme too. Lots of
interesting possibilities.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.