2014-01-28 | Paul Boddie | raw annotate files changeset graph | Remove spurious error conditions before parsing, perhaps caused by other users of libxml2 in an Apache environment. |
1 <?xml version="1.0"?> 2 <schema xmlns="http://purl.oclc.org/dsdl/schematron"> 3 <title>Test of Schematron validation</title> 4 <pattern> 5 <rule context="zoo"> 6 <assert test="cage[@id]">A zoo contains cages each with an id attribute</assert> 7 <assert test="cage[@description]">Each cage has a description attribute</assert> 8 </rule> 9 </pattern> 10 </schema>