<?xml version="1.0" encoding="UTF-8"?><!-- Start license statement: do not remove 

EpiDoc: Guidelines for Structured Markup of Epigraphic Texts in TEI
Copyright (C) 2000-2006 by all contributors listed in <div type="gl-responsibility">, below.
Additional contributors' copyright may be designated in individual source files.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

Information about the EpiDoc community can be obtained via 
http://epidoc.sf.net.

End license statement: do not remove -->
<!-- Start CVS information: do not remove -->
<!-- $Header: /cvsroot/epidoc/guidelines/src/dates.xml,v 1.9 2006/04/18 21:12:51 paregorios Exp $ -->
<!-- End CVS information: do not remove -->

<!DOCTYPE div SYSTEM "../dtd/tei-epidoc.dtd">
<div xmlns="http://www.tei-c.org/ns/1.0" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" id="dates" org="uniform" part="N" sample="complete">
   <head>Dates</head>
   <p n="regexerror">divcount mismatch</p>
   <p>Dates may be identified in the ancient text (consular years, olympiads, etc.), or in editorial discussion. The date element contains a date in any format. There are basically three contexts in which an expression might be tagged as a date in an EpiDoc file:</p>
   <list type="unordered">
      <item>a regular date expression in a bibliographical citation or editorial discussion;</item>
      <item>any kind of date expression in the original text of an inscription;</item>
      <item>the editor's dating of an inscription or monument, either by a specific date or a span of years or centuries.</item>
   </list>
   <p>(Note: A year or regular date in the Gregorian calendar may simply be tagged as a <tag>date</tag> with no further information required from attribute values. If the date or span of dates is expressed in prose, in ancient terms, or in a different calendar, further information may be given using the following attributes.)</p>
   <p>There are two groups of attributes which add information to the date element. The attributes 'value' and 'precision' express a single date, exactly or approximately, whereas 'notBefore', 'notAfter', and 'exact' define a span of possible dates within which the date in question may be located.</p>
   <list type="unordered">
      <item>value: in an ancient date expression this attribute may indicate the regularised date in the Julian calendar; if the date is already numerical and unproblematic, it may be ommitted;</item>
      <item>precision: the level of accuracy to be assigned to "value", e.g. "approx" or "exact";</item>
   </list>
   <ab part="N">versus:</ab>
   <list type="unordered">
      <item>notBefore: beginning of a span of possible dates;</item>
      <item>notAfter: end of span of possible dates;</item>
      <item>exact: refers to the previous two attributes; values include 'notBefore', 'notAfter', 'both' and 'none'.</item>
   </list>
   <p>Date expressions should be given in the form recommended by ISO 8601:2000, i.e. 'yyyy-mm-dd'. This means that years below 1000 (either BCE or CE) need leading zeroes to make them up to four digits. (See examples below.) When a date is not known to the very day the shortened forms 'yyyy-mm' and 'yyyy' may be used. Dates BCE should be indicated by the placement of a minus sign (hyphen) before the date expression. (Unlike ISO 8601:2000 we do not assume the existance of a year zero in the Gregorian calendar, so 44 BCE is "-0044" not "-0043".)</p>
   <p>There is also an additional attribute 'calendar', which may be used to express the non-regular dating system in the case of dates in the original text. Example values include: 'Attic', 'A.U.C.', 'Julian', Amphictionic, Macedonian, etc.</p>
   <p>(Note: the difference between a single date <hi rend="strong">within</hi> a span of possibilities (marked by the notBefore and notAfter attributes of <tag>date</tag>, as above) and an expression indicating a time period (such as the reign of an emperor). For the latter EpiDoc recommends the use of <tag>dateRange</tag>, as documented in the TEI Guidelines.)</p>
   <div id="dates-regex-1" type="gl-regextest" org="uniform" part="N" sample="complete">
      <head>Regular Expression Test</head>
      <list type="simple">
         <item id="Regex-1"> blah</item>
         <item id="Regex-2"> blah</item>
         <item id="Regex-3"> blah</item>
         <item id="Regex-4"> blah</item>
         <item id="Regex-5"> blah</item>
         <item id="Regex-6"> blah</item>
         <item id="Regex-7"> blah</item>
      </list><link id="TestLink-1" type="regextest" targets="TypoEx-1 EncEx-1 Regex-1" targOrder="U"/>
   </div>
   <div id="dates-edition" lang="lat" type="gl-edition" org="uniform" part="N" sample="complete">
      <head lang="en">EpiDoc appearance with standard XSLT</head>
      <div id="dates-edition-in-description" type="gl-edition" org="uniform" part="N" sample="complete">
         <head lang="en">Inscription/monument dates in <tag>div type="description"</tag></head>
         <list type="ordered">
            <item id="EncEx-1"><date notBefore="-0399" notAfter="-0398" exact="both">399/8 BCE</date></item>
            <item id="EncEx-2"><date notBefore="0201" notAfter="0225" exact="none">First quarter third century CE</date></item>
            <item id="EncEx-3"><date notBefore="0014-08-19" notAfter="0045" exact="notBefore">Early Julio-Claudian</date></item>
            <item id="EncEx-4"><date notAfter="-0027-01-16" notBefore="-0100" exact="notAfter">Late Republican</date></item>
            <item id="EncEx-5"><date value="-0044-03-15" precision="exact">the Ides of March 44</date> (Note the use of Julian calendar!)</item>
            <item id="EncEx-6"><date value="0523-02-14" precision="exact">ἰνδικτίωνος α´ μηνὸς β´, ιδ´, ἡμέρα τρίτη</date></item>
         </list>
      </div>
      <div id="dates-edition-elsewhere" type="gl-edition" org="uniform" part="N" sample="complete">
         <head lang="en">Dates elsewhere, bibliography, etc.</head>
         <list type="ordered">
            <item id="EncEx-7">Roueché (<date>1989</date>), no. 22</item>
         </list>
      </div>
   </div>
   <div id="dates-tei-p4links" type="gl-tei-p4links" org="uniform" part="N" sample="complete">
      <head>TEI P4 links</head>
      <list type="simple">
         <item><xref href="http://www.tei-c.org/P4X/ref-DATE.html" evaluate="all" from="ROOT" targOrder="Y" to="DITTO"><tag>date</tag></xref></item>
         <item><xref href="http://www.tei-c.org/P4X/CO.html#CONADA" evaluate="all" from="ROOT" targOrder="Y" to="DITTO">6.4.4. Dates and Times</xref></item>
         <item><xref href="http://www.tei-c.org/P4X/ND.html#NDDATE" evaluate="all" from="ROOT" targOrder="Y" to="DITTO">20.4 Dates and Time</xref></item>
      </list>
   </div>
   <div id="dates-responsibility" type="gl-responsibility" org="uniform" part="N" sample="complete">
      <head>Responsibility for this section</head>
      <listBibl default="NO">
         <bibl default="NO"><respStmt><resp>author</resp><name>Gabriel Bodard</name></respStmt></bibl>
         <bibl default="NO"><respStmt><resp>author</resp><name>John Bodel</name></respStmt></bibl>
         <bibl default="NO"><respStmt><resp>re-encoded from xwiki to TEI-ish</resp><name>Tom Elliott</name></respStmt></bibl>
      </listBibl>
   </div>
   <div id="dates-cvs" type="gl-cvs" org="uniform" part="N" sample="complete">
      <head><abbr expan="Concurrent Versioning System">CVS</abbr> Information</head>
      <p id="dates-cvs-revision-number">Revision number: <seg n="cvs-revision-number" cert="high" part="N">$Revision: 1.9 $</seg></p>
      <p id="dates-cvs-revision-name">Revision name (if any): <seg n="cvs-revision-name" cert="high" part="N">$Name: r-4-beta-1 $</seg></p>
      <p id="dates-cvs-revision-date">Revision date: <seg n="cvs-revision-date" cert="high" part="N">$Date: 2006/04/18 21:12:51 $</seg></p>
      <p id="dates-cvs-revision-author">Revision committed by: <seg n="cvs-revision-author" cert="high" part="N">$Author: paregorios $</seg></p>
   </div>
</div>