[Bug 15687] [XQ30] Annotations and XQST0045

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

--- Comment #2 from Jonathan Robie <jonathan.robie@gmail.com> 2012-02-14 14:42:49 UTC ---
(In reply to comment #1)
> (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."

Ooops - that's oddly worded. 

"if a user declares a function or a variable with an annotation in the
following reserved namespaces, the annotation must be defined in the XQuery
family of specifications [err:TBD]. For instance, a function may be declared
%fn:private, but not %fn:carrot.

> > 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."

Make that:

"it is an error to use an annotation assertion in the following reserved
namespaces,
except for annotation assertions 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:42:53 UTC