summaryrefslogtreecommitdiff
path: root/test/testcases/tests/level3/xpath/dom3xpathents.ent
diff options
context:
space:
mode:
Diffstat (limited to 'test/testcases/tests/level3/xpath/dom3xpathents.ent')
-rw-r--r--test/testcases/tests/level3/xpath/dom3xpathents.ent16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/testcases/tests/level3/xpath/dom3xpathents.ent b/test/testcases/tests/level3/xpath/dom3xpathents.ent
new file mode 100644
index 0000000..8dd1053
--- /dev/null
+++ b/test/testcases/tests/level3/xpath/dom3xpathents.ent
@@ -0,0 +1,16 @@
+<!ENTITY level3 "http://www.w3.org/2001/DOM-Test-Suite/Level-3">
+<!ENTITY spec "http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath">
+
+<!ENTITY vars
+ "
+ <!-- common variables -->
+ <var name='doc' type='Document'/>
+ <var name='xpEvaluator' type='XPathEvaluator'/>
+ ">
+
+<!-- the following entity requires the entity vars as well -->
+<!ENTITY findXPathEvaluator
+ "
+ <load var='doc' href='staffNS' willBeModified='false'/>
+ <createXPathEvaluator var='xpEvaluator' document='doc'/>
+">