W3C

XQuery Annotations and Optional Features Namespace Document

Table of Contents

1 Introduction
2 XQuery Annotations
3 XQuery Features
4 Normative References
5 Non-Normative References


1 Introduction

This document describes the namespace http://www.w3.org/2012/xquery defined by the [XQuery 3.1] specification (March 2017 version). This namespace is identified in this document by the namespace prefix qfa:, but that is not a predefined namespace prefix; this namespace is not defined by an XML Schema. For updated information, please refer to the latest version of the [XQuery 3.1] specification.

This document describes the intended uses of this namespace. The W3C reserves the right to define names in this namespace in the future. [XQuery 3.1] is the only specification that may amend this namespace.

This document contains a directory of links to related resources, using RDDL (as defined in [Resource Directory Description Language (RDDL)]).

It is GRDDL-enabled (as defined in [Gleaning Resource Descriptions from Dialects of Languages (GRDDL)]), that is to say that a GRDDL-compliant processor can extract useful RDF (as defined in [Resource Description Framework (RDF): Concepts and Abstract Syntax]) representations of the information contained herein.

2 XQuery Annotations

[XQuery 3.1] provides syntax to define annotations on function declarations and variable declarations. Two annotations are defined in [XQuery 3.1]. Application and query authors may define additional annotations, as may XQuery implementations. Those additional applications belong, by default, to the http://www.w3.org/2012/xquery namespace (but may be defined in other namespaces as well).

3 XQuery Features

[XQuery 3.1] defines two features that are used to control the use of other, optional features.

There are several optional features defined in [XQuery 3.1] for which these two features have meaning:

4 Normative References

XQuery 3.1

XQuery 3.1 (21 March 2017 version)

This document describes the usage of this namespace. The W3C reserves the right to define names in this namespace in the future. [XQuery 3.1] is the only specification that is permitted to amend this namespace. It may, however, be augmented by other specifications that define XQuery 3.1 extensions.

5 Non-Normative References

Resource Directory Description Language (RDDL)
Gleaning Resource Descriptions from Dialects of Languages (GRDDL)
Resource Description Framework (RDF): Concepts and Abstract Syntax