summaryrefslogtreecommitdiffstats
path: root/libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath')
-rw-r--r--libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath9
1 files changed, 9 insertions, 0 deletions
diff --git a/libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath b/libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath
new file mode 100644
index 0000000..e919acc
--- /dev/null
+++ b/libxml2/test/c14n/1-1-without-comments/xmlbase-c14n11spec-102.xpath
@@ -0,0 +1,9 @@
+<!--
+http://www.w3.org/TR/xmldsig2ed-tests/#c14n11xmlbase-c14n11spec-102
+
+Check that correct xml:base fixup is performed.
+-->
+<XPath xmlns:ietf="http://www.ietf.org" >
+(//. | //@* | //namespace::*)
+[self::ietf:e1 or (parent::ietf:e1 and not(self::text() or self::e2)) or count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node())]
+</XPath>