From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- ...tor_createExpression_INVALID_EXPRESSION_ERR.xml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 test/testcases/tests/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.xml (limited to 'test/testcases/tests/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.xml') diff --git a/test/testcases/tests/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.xml b/test/testcases/tests/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.xml new file mode 100644 index 0000000..c477127 --- /dev/null +++ b/test/testcases/tests/level3/xpath/XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR.xml @@ -0,0 +1,50 @@ + + + + + + %entities; +]> + + + XPathEvaluator_createExpression_INVALID_EXPRESSION_ERR + Philippe Le Hégaret + + The XPathEvaluator can create a "XPathExpression" using the method + "createExpression(expression, resolver)". + + Retrieve the DOM document on which the + 'createExpression("12a", null)' method is + invoked with the document element. The method should fail to create + pre-compiled expression and throws + XPathException.INVALID_EXPRESSION_ERR + since "12a" is not an XPath expression. + + 2002-04-26 + + + + &vars; + + + &findXPathEvaluator; + + + + + + + + -- cgit v1.2.3