[Bug 5804] [XQuery] Version numbers in XQuery version declarations

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5804





--- Comment #9 from Jonathan Robie <jonathan.robie@redhat.com>  2008-10-20 14:51:27 ---
I propose the following text for XQuery 1.1:

Introduction:

[Definition: An XQuery 1.1 Processor processes a query according to the XQuery
1.1 specification.]

[Definition: An XQuery 1.0 Processor processes a query according to the XQuery
1.0 specification.]

Version Declarations:


[2]     VersionDecl        ::=          "xquery" (("encoding" StringLiteral) |
("version" StringLiteral ("encoding" StringLiteral)?)) Separator

[Definition: A version declaration can identify the applicable XQuery syntax
and semantics for a module, as well as its encoding.] The version number "1.0"
indicates a requirement that the module must be processed by an XQuery 1.0
processor; the version number "1.1" indicates a requirement that the module
must be processed by an XQuery 1.1 processor. If the version declaration is not
present or the version is not included in the declaration, an XQuery 1.1
processor assumes a version of "1.1". If an XQuery 1.1 processor processes a
module labeled with a version of "1.0", it must either raise a static error
[err:XQST0031], or attempt to process the module with an XQuery 1.0 processor.
It is the intent of the XQuery working group to give later versions of this
specification numbers other than "1.0" and "1.1", but this intent does not
indicate a commitment to produce any future versions of XQuery, nor if any are
produced, to use any particular numbering scheme.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 20 October 2008 14:51:37 UTC