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

Re: Re: What is the Venn diagram for XPath, XQuery, a

Subject: Re: Re: What is the Venn diagram for XPath, XQuery, andXQuery Update?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Feb 2023 20:29:17 -0000
Re:  Re: What is the Venn diagram for XPath
On 2/1/2023 9:05 PM, Roger L Costello costello@xxxxxxxxx wrote:
Thanks Martin for the pointer to the Saxon web page on XQuery Update. That
web page says this:

---------------------------------------------


Saxon implements XQuery Update Facility 1.0, which reached Recommendation
status on 17 March 2011. All features, including optional features, are
implemented.



The XQuery Update specification defines a number of extensions to the XQuery
1.0 grammar. Saxon implements these as extensions to the XQuery 3.1 grammar.

---------------------------------------------


Huh? I'm confused. What is that saying? Is it saying:



(a) Saxon implements XQuery Update 1.0 which is a superset of XQuery 1.0
which is a superset of XPath 1.0



(b) Saxon implements XQuery Update 1.0 which is a superset of XQuery 3.1
which is a superset of XPath 3.1



(c) Something else - what?





I think you are on the wrong way with your subset/superset idea or terminology, I did already post a simple XPath expression (a string literal with an ampersand) that doesn't work as an XQuery expression.


As for XQuery Update being a superset of some XQuery, I don't think so, it has extensions in the form of new expressions but also restrictions on how expressions can be composed, once you use XQuery Update your are bound to ensure your expressions/programs follow the rules for XQuery update. You can't freely and arbitrarily mix updating and non-updating expressions, for instance, at least as far as I understand it.

Current Thread

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