aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2015-03-08 17:00:37 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2015-03-08 17:00:37 +0100
commit02b252d7a272483077f905eb3a71d489410d1c06 (patch)
tree2d858a45cdf08aec23b398bb29aacfdfa926a9ac
parent342658a132dddc6f2d72f83070e55a545a5c1608 (diff)
downloadandroid_external_libxml2-02b252d7a272483077f905eb3a71d489410d1c06.tar.gz
android_external_libxml2-02b252d7a272483077f905eb3a71d489410d1c06.tar.bz2
android_external_libxml2-02b252d7a272483077f905eb3a71d489410d1c06.zip
Regression test for bug #695699
-rw-r--r--result/XPath/tests/chaptersbase10
-rw-r--r--test/XPath/tests/chaptersbase1
2 files changed, 11 insertions, 0 deletions
diff --git a/result/XPath/tests/chaptersbase b/result/XPath/tests/chaptersbase
index 03c65670..e023bf01 100644
--- a/result/XPath/tests/chaptersbase
+++ b/result/XPath/tests/chaptersbase
@@ -113,3 +113,13 @@ Set contains 5 nodes:
ATTRIBUTE id
TEXT
content=chapter5
+
+========================
+Expression: //p[1]
+Object is a Node Set :
+Set contains 5 nodes:
+1 ELEMENT p
+2 ELEMENT p
+3 ELEMENT p
+4 ELEMENT p
+5 ELEMENT p
diff --git a/test/XPath/tests/chaptersbase b/test/XPath/tests/chaptersbase
index daa53b75..17638f73 100644
--- a/test/XPath/tests/chaptersbase
+++ b/test/XPath/tests/chaptersbase
@@ -7,3 +7,4 @@
/child::EXAMPLE/child::head/node()
/descendant::title
/descendant::p/ancestor::chapter
+//p[1]