<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
   <title>ISO Schematron rules</title>
   <!-- This file generated 2016-03-30T02:43:55Z by 'extract-isosch.xsl'. -->

   <!-- ********************* -->
   <!-- namespaces, declared: -->
   <!-- ********************* -->
   <ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>

   <!-- ********************* -->
   <!-- namespaces, implicit: -->
   <!-- ********************* -->
   <ns prefix="dcr" uri="http://www.isocat.org/ns/dcr"/>
   <ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>

   <!-- ************ -->
   <!-- constraints: -->
   <!-- ************ -->
   <pattern id="isofs-f-constraint-f-has-child-or-PCDATA-1">
      <rule context="tei:f">
         <report test="tei:*  and  text()[normalize-space(.) ne '']">A feature value cannot contain both text and element content</report>
      </rule>
   </pattern>
   <pattern id="isofs-f-constraint-f-has-max-one-child-element-2">
      <rule context="tei:f">
         <report test="count(tei:*) gt 1">A feature value can contain only one child element</report>
      </rule>
   </pattern>
</schema>
