XQuery 3.0 Requirements /**/ /* from xsl:query.xsl (C) */ code { font-family: monospace; }
div.constraint, div.issue, div.note, div.notice { margin-left: 2em; }
div.issue p.title { margin-left: -2em; }
ol.enumar { list-style-type: decimal; } ol.enumla { list-style-type: lower-alpha; } ol.enumlr { list-style-type: lower-roman; } ol.enumua { list-style-type: upper-alpha; } ol.enumur { list-style-type: upper-roman; }
li p { margin-top: 0.3em; margin-bottom: 0.3em; }
sup small { font-style: italic; color: #8F8F8F; } /* from xsl:query.xsl (D) */ div.exampleInner pre { margin-left: 1em; margin-top: 0em; margin-bottom: 0em} div.exampleOuter {border: 4px double gray; margin: 0em; padding: 0em} div.exampleInner { background-color: #d5dee3; border-top-width: 4px; border-top-style: double; border-top-color: #d3d3d3; border-bottom-width: 4px; border-bottom-style: double; border-bottom-color: #d3d3d3; padding: 4px; margin: 0em } div.exampleWrapper { margin: 4px } div.exampleHeader { font-weight: bold; margin: 4px}
div.issue { border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1pt; margin-bottom: 20pt; }
th.issue-toc-head { border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1pt; }
/* from xsl-query.xsl (B) */ table.small { font-size: x-small; } a.judgment:visited, a.judgment:link { font-family: sans-serif; color: black; text-decoration: none } a.processing:visited, a.processing:link { color: black; text-decoration: none } a.env:visited, a.env:link { color: black; text-decoration: none } /**/ This version: http://www.w3.org/TR/2014/NOTE-xquery-30-requirements-20140408/ Latest version: http://www.w3.org/TR/xquery-30-requirements/ Previous versions: http://www.w3.org/TR/2013/WD-xquery-30-requirements-20130108/ http://www.w3.org/TR/2010/WD-xquery-30-requirements-20100916/ Editors: Jonathan Robie, EMC Corporation Daniel Engovatov, BEA Systems <[email protected]> Copyright W3C ® MIT ERCIM Keio Beihang liability trademark document use This document specifies goals and requirements for XML Query (XQuery) 3.0. This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index This is a Working Group Note Process Document XML Query Working Group XML Activity These Requirements identify extensions to the XQuery 1.0 Recommendation No substantive changes have been made to this specification since its previous publication as a Working Draft. Please report errors in this document using W3C's public Bugzilla system http://www.w3.org/XML/2005/04/qt-bugzilla [email protected] http://lists.w3.org/Archives/Public/public-qt-comments/ Publication as a Working Group Note This document was produced by a group operating under the 5 February 2004 W3C Patent Policy public list of any patent disclosures Essential Claim(s) section 6 of the W3C Patent Policy 1 Goals Requirements Terminology General Requirements Backward compatibility Extension compatibility XML Query Functionality Value-based grouping Error processing and recovery Numeric formatting Date formatting Default values for external variables Non-deterministic external functions Positional grouping Windowing Output numbering Dynamic creation of namespace bindings Declaration of serialization parameters Node references Outer for Type declaration for context item Support for new data types Higher order functions Conditional constructors Validation Module composition restrictions Invocation of external functionality Static typing extensions References Normative Non-normative The goal of XML Query 3.0 is to extend XML Query 1.0 with additional functionality in response to requests from users and implementors. Satisfying these goals may require changes to the set of seven documents that have progressed to Recommendation together (Data Model, Functions and Operators, Serialization, XPath 2.0, XQuery 1.0, XQueryX, and XSLT 2.0). The following keywords are used throughout the document to specify the extent to which an item is a requirement for the work of the XML Query Working Group: The item is an absolute requirement. There may exist valid reasons not to treat this item as a requirement, but the full implications should be understood and the case carefully weighed before discarding this item. An item deserves attention, but further study is needed to determine whether the item should be treated as a requirement. When the words MUST SHOULD MAY IETF RFC 2119 Each requirement also includes a status section, indicating its current situation in the XQuery/XPath/XSLT family of specifications. Three status levels are used: "Green" status "Yellow" status "Red" status XQuery 3.0 MUST Every valid XQuery 1.0 expression MUST MUST Status: XQuery 3.0 MUST XML Query Working Group XQuery Update Facility XQuery 1.0 and XPath 2.0 Full-Text Status: XQuery 3.0 MUST Status: XQuery 3.0 MUST This MAY try-catch Status: XQuery 3.0 MUST It SHOULD XSLT 2.0 format-number() Status: XQuery 3.0 MUST It SHOULD XSLT 2.0 format-date() format-time() format-dateTime() Status: XQuery 3.0 MUST Status: XQuery 3.0 MUST Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD a) the reference could be included in a constructed element b) the reference can be dereferenced, returning the original node with the original node id. Status: XQuery 3.0 SHOULD outer-for Status: XQuery 3.0 SHOULD Status: XQuery 3.0 SHOULD XML Schema 1.1 Status: XQuery 3.0 MAY Status: XQuery 3.0 MAY Status: XQuery 3.0 MAY Status: if ($mentor) then attribute mentor { $mentor } else () (attribute mentor { $mentor })[$mentor] XQuery 3.0 MAY Status: or against non-global element declarations or types. Status: XQuery 3.0 MAY Status: XQuery 3.0 MAY Status: XQuery 3.0 MAY Status: XQuery 3.0 MAY Status: XQuery 3.0: An XML Query Language latest version XQuery and XPath Data Model (XDM) 3.0 latest version XSL Transformations (XSLT) Version 3.0 latest version XQuery Update Facility 3.0 Requirements and Use Cases latest version XQuery and XPath Full Text 3.0 Requirements and Use Cases latest version XQuery 1.0: An XML Query Language XSL Transformations (XSLT) Version 2.0 XQuery 1.0 and XPath 2.0 Data Model (XDM) XML Query (XQuery) Requirements The following references are some of the works considered by the WG in deriving its requirements. Extensible Markup Language (XML) 1.0 (Fourth Edition) XML Schema Part 0: Primer Second Edition XML Schema Part 1: Structures Second Edition XML Schema Part 2: Datatypes Second Edition Requirements for XML Schema 1.1 "Positional Grouping in XQuery", Kay, M.H. XIME-P International workshop proceedings, 2006 "Extending XQuery for Analytics", Beyer K., Chamberlin D. et al. SIGMOD 2005 "Extending XQuery for Grouping, Duplicate Elimination, and Outer Joins.", Borkar V. and Carey M. XML 2004, Idealliance