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

[Bug 10860] New: [XQuery11] Module declarations do not prohibit the use of xml or xmlns namespaces.

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Sep 2010 15:00:22 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-10860-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10860

           Summary: [XQuery11] Module declarations do not prohibit the use
                    of xml or xmlns namespaces.
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 1.1
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org
             Group: XSLXQuery_WG


This is a follow-up to bug #10700.


Section 4.2 (Module Declaration) states:

The namespace prefix specified in a module declaration must not be xml or xmlns
[err:XQST0070], and must not be the same as any namespace prefix bound in the
same module by a schema import, by a namespace declaration, or by a module
import with a different target namespace [err:XQST0033].

Whislt this does restrict the namespace prefix used, it does not restrict the
namespace used.  Since this implicitly creates a namespace binding the
namespaces for these prefixes should also be excluded.


A similar exemption should be added to Schema Import (4.11), Module Import
(4.12) and 4.14 (Default Namespace Declaration).

4.13 (Namespace Declaration) does prohibit the use of the xml namespace (unless
bound to the XML prefix) but does not prevent the xml namespaces namespace from
being bound.

-- 
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 Thursday, 30 September 2010 15:00:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:06 GMT