XPath context...

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 UTC