<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date$
    $Id$
-->
<?xml-model href="http://tei.oucs.ox.ac.uk/jenkins/job/TEIP5/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>

<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="certainty" ident="precision">
  <desc versionDate="2009-06-05" xml:lang="en">indicates the numerical accuracy or precision  associated
  with some aspect of the text markup.</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="model.global.meta"/>
    <memberOf key="att.scoping"/>
    <memberOf key="att.ranging"/>
    <memberOf key="model.certLike"/>
    <memberOf key="att.datable"/>
  </classes>
  <content>
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="model.descLike"/>
        <rng:ref name="model.certLike"/>
      </rng:choice>
    </rng:zeroOrMore>
  </content>
  <attList>
    <attDef ident="precision">
      <desc versionDate="2011-04-13" xml:lang="en">characterizes the precision of the element or attribute pointed 
        to by the <gi>precision</gi> element.</desc>
      <datatype>
        <rng:ref name="data.certainty"/>
      </datatype>
    </attDef>
    <attDef ident="stdDeviation" usage="opt">
      <desc versionDate="2009-06-05" xml:lang="en">supplies a standard deviation associated with the value in
      question</desc>
      <datatype>
        <rng:ref name="data.numeric"/>
      </datatype>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date xml:id="date001" notBefore="0014" notAfter="0064">Within about 50
        years of the death of Augustus</date>
      <precision target="#date001" match="@notBefore" precision="high"/>
      <precision target="#date001" match="@notAfter" precision="low"/>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date notBefore="1632" notAfter="1642">Not more than ten years before the start of the Civil War
            <precision match="parent::date/@notBefore" precision="low"/>
            <precision match="parent::date/@notAfter" precision="high"/>
         </date>
    </egXML>
  </exemplum>
  <!--<exemplum xml:lang="en">
      <egXML xmlns="http://www.tei-c.org/ns/Examples">
         <state from="1382" to="1477">
            <p>Catholicos-Patriarch of the Church of the East.</p> 
            <precision match="@from" atLeast="1382" atMost="1430"/>
            <precision match="@to" atLeast="1444"  atMost="1477"/>
         </state>
      </egXML>
   </exemplum>-->
  <listRef>
    <ptr target="#CEPREC"/>
  </listRef>
</elementSpec>
