W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2010

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Nov 2010 15:29:18 +0000
To: public-qt-comments@w3.org
Message-Id: <E1PDInW-0005IL-U9@jessica.w3.org>

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. 

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:44 UTC