[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: isXPath1 / isXPath2 -- not(/..)
On 19 December 2015 at 17:22, Hermann Stamm-Wilbrandt <STAMMW@de.ibm.com> wrote:
in xpath 1 not(/..) will coerce /.. from a node set to a boolean by the rule that empty node sets are false so it's not(false()) which is true. false()=/.. or (4=5)=/.. is equality of a boolean against a node set so this will use the existential form and be true just if some node in the node set has string value equal to the string value of false(). As the node set is empty then this is necessarily false (although I note saxon 6 reports true) David
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|