- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 26 Apr 2005 14:25:05 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1273
Summary: [XPath] Binding for xml: in static/dynamic contexts
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XPath
AssignedTo: chamberl@almaden.ibm.com
ReportedBy: Norman.Walsh@Sun.COM
QAContact: public-qt-comments@w3.org
In the course of discussing the xml:id attribute in the Core WG, the issue of
the namespace binding for the xml: prefix has come up. In particular, if
//*[@xml:id]
can every fail to match an xml:id attribute because some API has setup the
namespace binding for the "xml" prefix in some odd way. Or if
//*[@foo:id]
can ever match an xml:id attribute because some API has setup the namespace
binding for the "foo" prefix to be the XML Namespace.
I think it would be valuable to state that the xml: prefix is always bound,
that it is an error for the prefix xml: to be bound to another namespace,
or for any other prefix to be bound to the XML Namespace in either the
static or dynamic contexts at any time.
Apologies if we already say this, but I didn't find it in the XPath spec.
Received on Tuesday, 26 April 2005 14:25:12 UTC