You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Ed Blachman <Ed...@trellix.com> on 2001/03/27 23:26:31 UTC

RE: Question Re: [Bug 1110] New - XPath module returns a curious result

> I have looked into the W3 docs on XML and and XPath but can't convince
> myself of the right way to evaluate this XPath, (//.)[self::e1]  Is it
> legitimate?
> 
> This bug does not appear if you use (//)[self::e1]  and an 
> error results from //.[self::e1]  Both of those results make sense to me. 

I don't know about legitimacy (although after reading the docs, my next
recourse would be to see what Saxon and XT do with such an XPath
expression), but that sure looks weird to me. Isn't it the same (at least in
intent) as just plain //e1?

Ed Blachman
Trellix Corporation