> > > //someelement[@id='S55']/position() > > What I found worrying however, is that Jaxen doesn't throw an exception > > with the path you tried :) > Couldja explain why? It's not technically illegal, is it?
It is illegal. You can't just invoke a function in a location path. Grammar snippet: RelativeLocationPath ::= Step | RelativeLocationPath '/' Step | AbbreviatedRelativeLocationPath Step ::= AxisSpecifier NodeTest Predicate* | AbbreviatedStep A step cannot be a function. The only exception is that a path may *start* with a function, e.g. id('foo')/bar/baz This is captured in: PathExpr ::= LocationPath | FilterExpr | FilterExpr '/' RelativeLocationPath | FilterExpr '//' RelativeLocationPath Christian _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest