summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schematron/zvon3.sct
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/schematron/zvon3.sct')
-rw-r--r--libxml2/test/schematron/zvon3.sct8
1 files changed, 8 insertions, 0 deletions
diff --git a/libxml2/test/schematron/zvon3.sct b/libxml2/test/schematron/zvon3.sct
new file mode 100644
index 0000000..f75b67b
--- /dev/null
+++ b/libxml2/test/schematron/zvon3.sct
@@ -0,0 +1,8 @@
+<schema xmlns="http://www.ascc.net/xml/schematron" >
+ <pattern name="Attribute test">
+ <rule context="CCC">
+ <assert test="@name">attribute name is not present</assert>
+ <report test="@name">attribute name is present</report>
+ </rule>
+ </pattern>
+</schema>