[Bug 10865] [XQuery11] Why do we allow implementations to declare their own annotations in the fn namespace?

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

Jonathan Robie <jonathan.robie@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jonathan Robie <jonathan.robie@redhat.com> 2010-11-02 15:29:18 UTC ---
We agree that implementations MUST NOT declare annotations in the fn namespace. 

<quote>
Implementations can add their own annotations, which <del>should
not</del><add>must not</add> be in the <del>fn namespace</del><add>namespace
http://www.w3.org/2005/xpath-functions</add>. For instance, if the eg prefix is
bound to a namespace associated with a particular implementation, it could
define annotations like eg:sequential. The semantics and error handling
associated with such annotations are beyond the scope of this
specification.</quote>

We also believe that users's must not do this, and will expand XQST0045 to
cover this case:

It is a static error [err:XQST0045] if a function name in a function
declaration or an annotation name in an annotation declaration is in any of the
following namespaces:

    *  http://www.w3.org/XML/1998/namespace
    *  http://www.w3.org/2001/XMLSchema
    *  http://www.w3.org/2001/XMLSchema-instance
    *  http://www.w3.org/2005/xpath-functions

-- 
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 Tuesday, 2 November 2010 15:29:20 UTC