- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 28 Feb 2006 13:51:36 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2950
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
list:
<quote>
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
namespace".
I don't see what makes it invalid to do for example "module namespace xml =
'example.org/ns';".
</quote>
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
encountered.
Jonathan Robie added:
<quote>
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.
</quote>
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.
Frans
Received on Tuesday, 28 February 2006 13:51:47 UTC