Edit

kc3-lang/libxml2/test/schematron/zvon7.sct

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2005-07-31 16:49:51
    Hash : d541c8f8
    Message : report improvement more tests Daniel * schematron.c: report improvement * test/schematron/zvon* result/schematron/zvon*: more tests Daniel

  • test/schematron/zvon7.sct
  • <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>