1 PASS .//* 2 PASS *[position() = 2] 3 PASS .//*[position() = 2] 4 PASS ./././/*[2]/. 5 PASS .//*/span[2] 6 PASS .//*[position() = 1] 7 PASS ./descendant-or-self::node()/child::*[position() = 2] 8 PASS descendant-or-self::node()/child::*[position() = 2] 9 PASS .//*/*[2] 10 PASS preceding::node()[1] 11 PASS preceding::node()[2] 12 PASS preceding::node()[3] 13 PASS preceding::node()/*[3] 14 PASS ancestor::node()[2] 15 PASS ancestor-or-self::node()[2] 16 PASS ancestor-or-self::node()[3] 17 PASS preceding::span[1] 18 PASS (preceding::span)[1] 19 PASS document.evaluate('p[@type="warning"][5]/@num', ROOT2, null, XPathResult.STRING_TYPE, null).stringValue is '6' 20 PASS document.evaluate('p[5][@type="warning"]/@num', ROOT2, null, XPathResult.STRING_TYPE, null).stringValue is '5' 21 PASS successfullyParsed is true 22 23 TEST COMPLETE 24 25