Index: LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt |
diff --git a/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt b/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt |
index ccc478a520283d4c54358f3f299f6b9b2553ab52..3a15182be7394447360f6e393466c72249dcd44a 100644 |
--- a/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt |
+++ b/LayoutTests/fast/xpath/py-dom-xpath/expressions-expected.txt |
@@ -1,16 +1,16 @@ |
PASS //item[@id >= 2 and @id <= "4"] |
PASS //item[@id >= 2 and @id <= 3] |
-PASS doc.evaluate("position(1)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
-PASS doc.evaluate("not()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
+PASS doc.evaluate("position(1)", 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 XPathEvaluator.. |
+PASS doc.evaluate("not()", 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 XPathEvaluator.. |
PASS string-length(100) |
-PASS doc.evaluate("count(100)", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
-PASS doc.evaluate("adumbrate()", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
+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 XPathEvaluator.. |
+PASS doc.evaluate("adumbrate()", 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 XPathEvaluator.. |
PASS //item[@id mod 2 = 0] | //item[@id mod 3 = 0] |
-PASS doc.evaluate("//item | 42", doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
-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. |
-PASS doc.evaluate('"monty"/anaconda', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
-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. |
-PASS doc.evaluate('(1)[1]', doc.documentElement, null, XPathResult.ANY_TYPE, null) threw exception Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51. |
+PASS doc.evaluate("//item | 42", 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 XPathEvaluator.. |
+PASS doc.evaluate("/doc/(item[@id = 2] | item[@id = 6])/@id", 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 XPathEvaluator.. |
+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 specific XPathEvaluator.. |
+PASS doc.evaluate('/doc/string(item[@id = 2])/@id', 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 XPathEvaluator.. |
+PASS doc.evaluate('(1)[1]', 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 XPathEvaluator.. |
PASS (1) |
PASS ((1 + 1)) |
PASS 1 or 1 |