<?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 2014-01-20T21:41:03.854Z by 'extract-isosch.xsl'. -->

<!-- ********************* -->
<!-- namespaces, declared: -->
<!-- ********************* -->


<!-- ********************* -->
<!-- namespaces, implicit: -->
<!-- ********************* -->
<ns prefix="eip-d1e27789" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27805" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27820" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27835" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27850" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27865" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27880" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27898" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="eip-d1e27908" uri="http://www.tei-c.org/ns/tite/1.0"/>
   <ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>

   <!-- ************ -->
<!-- constraints: -->
<!-- ************ -->
<pattern id="tei_tite-att.datable-calendar-constraint-calendar">
          <rule context="tei:*[@calendar]">
            <assert test="string-length(.) gt 0">
@calendar indicates the system or calendar to which the date represented by the content of this element
belongs, but this <name/> element has no textual content.</assert>
          </rule>
        </pattern>
   <pattern id="tei_tite-att.typed-constraint-subtypeTyped">
      <rule context="*[@subtype]">
        <assert test="@type">The <name/> element should not be categorized in detail with @subtype
 unless also categorized in general with @type</assert>
      </rule>
    </pattern>
   <pattern id="tei_tite-att.pointing-targetLang-constraint-targetLang">
          <rule context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
            <assert test="count(@target)">@targetLang can only be used if @target is specified.</assert>
          </rule>
        </pattern>
   <pattern id="tei_tite-ptr-constraint-ptrAtts">
      <rule context="tei:ptr">
         <report test="@target and @cRef">Only one of the
attributes @target and @cRef may be supplied on <name/>.</report>
      </rule>
   </pattern>
   <pattern id="tei_tite-ref-constraint-refAtts">
      <rule context="tei:ref">
         <report test="@target and @cRef">Only one of the
	attributes @target' and @cRef' may be supplied on <name/>
         </report>
      </rule>
   </pattern>
   <pattern id="tei_tite-lg-constraint-atleast1oflggapl">
      <rule context="tei:lg">
         <assert test="count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) &gt; 0">An lg element
        must contain at least one child l, lg or gap element.</assert>
      </rule>
   </pattern>
</schema>
