[Bug 15687] [XQ30] Annotations and XQST0045

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15687

--- Comment #1 from Jonathan Robie <jonathan.robie@gmail.com> 2012-02-14 14:37:12 UTC ---
(In reply to comment #0)
> XQuery 3.0 states in 4.15 Annotations:
> 
> !!! SNIP !!! it is an error for users to create annotations in the
> following reserved namespaces [err:XQST0045]:

We will change this to:

"it is an error for a user to declare a function or a variable with an
annotation in the following reserved namespaces, except for annotations defined
in the XQuery family of specifications."

>  declare %fn:x function local:foo() {
>             "bar"
>          };

This is an error.

> Similarly, I'm not clear whether the following (from QT£ test
> annotation-assertion-16) should expect XQST0045.
> 
>   () instance of %fn:x function(*)

We will say:


"it is an error to use an annotation in the following reserved namespaces,
except for annotations defined in the XQuery family of specifications."

-- 
Configure bugmail: https://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 Tuesday, 14 February 2012 14:37:21 UTC