<?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://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<macroSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tei" type="dt" ident="data.versionNumber" validUntil="2018-10-01">
  <desc versionDate="2013-04-14" xml:lang="en">defines the range of attribute values used for version numbers.</desc>
    <desc type="deprecationInfo" xml:lang="en"
	  versionDate="2018-09-14">Use <name
	  type="datatype">teidata.versionNumber.xml</name> instead.</desc>
  <content>
    <data xmlns="http://relaxng.org/ns/structure/1.0" type="token">
      <param name="pattern">[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}</param>
    </data>
    <!--
	    This matches the following types of version numbers:
	    
	    1
	    12
	    1.1
	    1b
	    1.2b6
	    1.3.4.5
	    1.2.3b.5
	    1.2.3b.5b
	    1.3alpha.5 
	-->
  </content>
  <remarks versionDate="2013-04-14" xml:lang="en">
    <p/>
  </remarks>
</macroSpec>
