Home | History | Annotate | Download | only in py-dom-xpath
      1 PASS //item[@id >= 2 and @id <= "4"]
      2 PASS //item[@id >= 2 and @id <= 3]
      3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
      4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
      5 PASS string-length(100)
      6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
      7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
      8 PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0]
      9 PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
     10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
     11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
     12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
     13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51.
     14 PASS (1)
     15 PASS ((1 + 1))
     16 PASS 1 or 1
     17 PASS 1 or 0
     18 PASS 0 or 1
     19 PASS 0 or 0
     20 PASS 1 and 1
     21 PASS 1 and 0
     22 PASS 0 and 1
     23 PASS 0 and 0
     24 PASS (//set[@id=1]/*) = (//set[@id=3]/*)
     25 PASS (//set[@id=1]/*) = (//set[@id=2]/*)
     26 PASS (//set[@id=1]/*) != (//set[@id=1]/*)
     27 PASS (//set[@id=4]/*) != (//set[@id=4]/*)
     28 PASS (//set[@id=1]/*) <= (//set[@id=2]/*)
     29 PASS (//set[@id=2]/*) <= (//set[@id=1]/*)
     30 PASS (//set[@id=1]/*) < (//set[@id=2]/*)
     31 PASS (//set[@id=2]/*) < (//set[@id=1]/*)
     32 PASS (//set[@id=2]/*) > (//set[@id=1]/*)
     33 PASS (//set[@id=1]/*) > (//set[@id=2]/*)
     34 PASS (//set[@id=2]/*) >= (//set[@id=1]/*)
     35 PASS (//set[@id=1]/*) >= (//set[@id=2]/*)
     36 PASS (//set[@id=4]/*) = (1 = 1)
     37 PASS (//set[@id=4]/*) = (1 = 0)
     38 PASS (//set[@id=4]/*) != (1 = 0)
     39 PASS (//set[@id=4]/*) != (1 = 1)
     40 PASS (//set[@id=4]/*) = 42
     41 PASS (//set[@id=4]/*) = 43
     42 PASS (//set[@id=4]/*) != 43
     43 PASS (//set[@id=4]/*) != 42
     44 PASS (//set[@id=4]/*) = "42.0"
     45 PASS (//set[@id=4]/*) = "42"
     46 PASS (//set[@id=4]/*) != "42"
     47 PASS (//set[@id=4]/*) != "42.0"
     48 PASS "a" <= "a"
     49 PASS "a" <= "b"
     50 PASS "a" >= "a"
     51 PASS "b" > "a"
     52 PASS 1 <= 1
     53 PASS 2 <= 1
     54 PASS 1 < 2
     55 PASS 1 < 1
     56 PASS 1 >= 1
     57 PASS 1 >= 2
     58 PASS 2 > 1
     59 PASS 1 > 1
     60 PASS successfullyParsed is true
     61 
     62 TEST COMPLETE
     63 
     64