W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1273] New: [XPath] Binding for xml: in static/dynamic contexts

From: <bugzilla@wiggum.w3.org>
Date: Tue, 26 Apr 2005 14:25:05 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DQQzp-0005pQ-I1@wiggum.w3.org>

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 GMT

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