W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2006

[Bug 2950] Modules binding the xml/xmlns prefix is valid

From: <bugzilla@wiggum.w3.org>
Date: Tue, 28 Feb 2006 13:51:36 +0000
To: public-qt-comments@w3.org
Message-Id: <E1FE5GK-0004hE-TN@wiggum.w3.org>


           Summary: Modules binding the xml/xmlns prefix is valid
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: frans.englich@telia.com
         QAContact: public-qt-comments@w3.org

>From thread "modules binding the xml/xmlns prefix" on the public-qt-comments    
4.12 Namespace Declaration specifies that it is not allowed to redeclare the     
xml and xmlns prefix(XQST0070).    
A module declaration also allows an namespace binding to be done: "In the     
statically known namespaces of the library module, the namespace prefix     
specified in the module declaration is bound to the module's target     
I don't see what makes it invalid to do for example "module namespace xml =     
In other words, from what I can tell there is none which says XQST0070 should   
be raised if the code "module namespace xml = 'example.org/ns';" is   
Jonathan Robie added:   
I think we say this clearly in "4.12 Namespace Declaration", but in several   
other parts of our spec where we create namespace bindings, we do not refer to   
section 4.12, and do not state that the same error conditions apply.   
One way could be to not "duplicate" specifying namespace declaration, but to,   
in the case of module declaration, state that it is module declaration /plus/   
a namespace declaration, and then map it into 4.12 Namespace Declaration such  
that 4.12 takes care of all namespace related.  
Received on Tuesday, 28 February 2006 13:51:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:10 UTC