aboutsummaryrefslogtreecommitdiffstats
path: root/test/schematron/zvon7.sct
diff options
context:
space:
mode:
Diffstat (limited to 'test/schematron/zvon7.sct')
-rw-r--r--test/schematron/zvon7.sct9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/schematron/zvon7.sct b/test/schematron/zvon7.sct
new file mode 100644
index 00000000..a22a89ed
--- /dev/null
+++ b/test/schematron/zvon7.sct
@@ -0,0 +1,9 @@
+<schema xmlns="http://www.ascc.net/xml/schematron" >
+ <pattern name="Test integer">
+ <rule context="AAA">
+ <report test="floor(.) = number(.)">O.K.</report>
+ <assert test="floor(.) = number(.)">The AAA value is not an integer.</assert>
+ </rule>
+ </pattern>
+</schema>
+