4 Modules and Prologs


Table A-21 describes how DataDirect XQuery supports XQuery modules and prologs.

Table A-21. XQuery Modules and Prologs 
XQuery Language
Support
Version declaration
Supported. The version can be 1.0 or 1.1. If an encoding declaration is specified, it is ignored. See Specifying the XQuery Version for more information.
Module declaration
Supported.
Boundary-space declaration
Supported.
Default collation declaration
Supported. Any collation supported by the Java Virtual Machine can be specified. See Specifying Collations for more information about collations.
Base URI declaration
Supported.
Construction declaration
Supported. DataDirect XQuery always implements preserve.
Ordering mode declaration
Supported.
Empty order declaration
Supported.
Copy-namespaces declaration
Supported. DataDirect XQuery always implements inherit, preserve.
Schema import
Not supported.
Decimal-format declaration
Supported for XQuery 1.1 only.
Module import
Namespace declaration
Supported.
Default namespace declaration
Supported.
Variable declaration
Supported.
VarValue and VarDefaultValue declaration parts are supported in XQuery 1.1 only.
Function declaration
Supported.
Option declaration
Supported. See Option Declarations for details.
Context item declaration
Supported for XQuery 1.1 only.