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

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 UTC