[SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-20 Thread Jaroslav Pullmann
Dear Rahul, dear all, the result value of an XPath-selection is limited to an XPathConstants.NODE as of XPathEvaluator#evalLocation(Context, String). Having a root element is reasonable for assignments etc. but I'd need to select a NodeSet based on the XPath predicates first (and then wrap

Re: [SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-20 Thread Rahul Akolkar
On Tue, Oct 20, 2009 at 10:42 AM, Jaroslav Pullmann wrote: > >  Dear Rahul, dear all, > >  the result value of an XPath-selection is limited to an XPathConstants.NODE >  as of XPathEvaluator#evalLocation(Context, String). Having a root element > is >  reasonable for assignments etc. but I'd need t

Re: [SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-22 Thread Jaroslav Pullmann
Dear Rahul, thank you for responding. Essentially the use case is simply a selection of a NodeSet instead of a Node and this seeems to be what the spec (WD May 2008) guarantees: 9.3.3.1 Location Expressions: "XPath 2.0 expressions are used to select a node-set from the data model by

Re: [SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-22 Thread Rahul Akolkar
On Thu, Oct 22, 2009 at 3:00 AM, Jaroslav Pullmann wrote: > > >  Dear Rahul, >  thank you for responding. Essentially the use case is simply >  a selection of a NodeSet instead of a Node and this seeems >  to be what the spec (WD May 2008) guarantees: > >  9.3.3.1 Location Expressions: >  "XPath 2