W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > July 2009

XPath context...

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 21 Jul 2009 18:03:17 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2tz15ofru.fsf@nwalsh.com>
Vojtech,

You updated the choose-006.xml test with this:

  <p:choose>
    <p:xpath-context xmlns:foo="http://www.foo.com"/>
    <p:when test="/foo:document/bar:title" xmlns:bar="http://www.bar.com">

That's not what xpath-context means. (And I fear it's too late to
change its name.)

XPath context establishes the context *node* for XPath expressions.
The namespace context always comes from the node on which the XPath
expression occurs.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Are you not the future of all the
http://nwalsh.com/            | memories stored within you? The future
                              | of the past?--Paul Valéry

Received on Tuesday, 21 July 2009 22:04:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 July 2009 22:04:03 GMT