Community
Participate
Working Groups
WTP 3.2 RC2 build (retrieved as wst-sdk-buildrepo-S-3.2.0RC2-20100520232028) The XPath view does not honour the currently selected node in the editor when evaluating the XPath2 expression, as it does when evaluating as XPath1. This is fixed by adding dc.set_focus(new Focus(new DefaultResultSequence(NodeType.dom_to_xpath(node)))); just before the call to eval.evaluate in XPathComputer.
XPath view is contributed as part of the wst.xsl component. Targeted this for 3.2.1
No patch yet; deferring.
Created attachment 173337 [details] One line patch The patch which adds the line from the description. I threw in a test case as well.
Committed to 3_2 branch. Will release once I see how the current 3_2_2 build works out...