| OLD | NEW |
| 1 PASS //item[@id >= 2 and @id <= "4"] | 1 PASS //item[@id >= 2 and @id <= "4"] |
| 2 PASS //item[@id >= 2 and @id <= 3] | 2 PASS //item[@id >= 2 and @id <= 3] |
| 3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE
, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax erro
r or otherwise is not a legal expression according to the rules of the specific
XPathEvaluator.. | 3 PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE
, null) threw exception SyntaxError: An invalid or illegal string was specified.
. |
| 4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null
) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or o
therwise is not a legal expression according to the rules of the specific XPathE
valuator.. | 4 PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null
) threw exception SyntaxError: An invalid or illegal string was specified.. |
| 5 PASS string-length(100) | 5 PASS string-length(100) |
| 6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE,
null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error
or otherwise is not a legal expression according to the rules of the specific X
PathEvaluator.. | 6 PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE,
null) threw exception SyntaxError: An invalid or illegal string was specified.. |
| 7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE
, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax erro
r or otherwise is not a legal expression according to the rules of the specific
XPathEvaluator.. | 7 PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE
, null) threw exception SyntaxError: An invalid or illegal string was specified.
. |
| 8 PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0] | 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 INVALID_EXPRESSION_ERR: The expression had a syntax erro
r or otherwise is not a legal expression according to the rules of the specific
XPathEvaluator.. | 9 PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE
, null) threw exception SyntaxError: An invalid or illegal string was specified.
. |
| 10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen
t, null, XPathResult.ANY_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The
expression had a syntax error or otherwise is not a legal expression according
to the rules of the specific XPathEvaluator.. | 10 PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", doc.documentElemen
t, null, XPathResult.ANY_TYPE, null) threw exception SyntaxError: An invalid or
illegal string was specified.. |
| 11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY
_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax
error or otherwise is not a legal expression according to the rules of the spec
ific XPathEvaluator.. | 11 PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY
_TYPE, null) threw exception SyntaxError: An invalid or illegal string was speci
fied.. |
| 12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X
PathResult.ANY_TYPE, null) threw exception INVALID_EXPRESSION_ERR: The expressio
n had a syntax error or otherwise is not a legal expression according to the rul
es of the specific XPathEvaluator.. | 12 PASS doc.evaluate('/doc/string(item[@id = 2])/@id', doc.documentElement, null, X
PathResult.ANY_TYPE, null) threw exception SyntaxError: An invalid or illegal st
ring was specified.. |
| 13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul
l) threw exception INVALID_EXPRESSION_ERR: The expression had a syntax error or
otherwise is not a legal expression according to the rules of the specific XPath
Evaluator.. | 13 PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, nul
l) threw exception SyntaxError: An invalid or illegal string was specified.. |
| 14 PASS (1) | 14 PASS (1) |
| 15 PASS ((1 + 1)) | 15 PASS ((1 + 1)) |
| 16 PASS 1 or 1 | 16 PASS 1 or 1 |
| 17 PASS 1 or 0 | 17 PASS 1 or 0 |
| 18 PASS 0 or 1 | 18 PASS 0 or 1 |
| 19 PASS 0 or 0 | 19 PASS 0 or 0 |
| 20 PASS 1 and 1 | 20 PASS 1 and 1 |
| 21 PASS 1 and 0 | 21 PASS 1 and 0 |
| 22 PASS 0 and 1 | 22 PASS 0 and 1 |
| 23 PASS 0 and 0 | 23 PASS 0 and 0 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 54 PASS 1 < 2 | 54 PASS 1 < 2 |
| 55 PASS 1 < 1 | 55 PASS 1 < 1 |
| 56 PASS 1 >= 1 | 56 PASS 1 >= 1 |
| 57 PASS 1 >= 2 | 57 PASS 1 >= 2 |
| 58 PASS 2 > 1 | 58 PASS 2 > 1 |
| 59 PASS 1 > 1 | 59 PASS 1 > 1 |
| 60 PASS successfullyParsed is true | 60 PASS successfullyParsed is true |
| 61 | 61 |
| 62 TEST COMPLETE | 62 TEST COMPLETE |
| 63 | 63 |
| OLD | NEW |