<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://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"?>
<classSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" module="tei" type="atts" ident="att.datable.w3c" xml:id="DATABLEW3C">
  <desc versionDate="2013-11-22" xml:lang="en">provides attributes for normalization of elements that contain
  datable events  conforming to the W3C
    <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>.</desc>
  <desc versionDate="2007-12-20" xml:lang="ko">W3C 데이터 유형을 사용하여 날짜가 명기된 사건을 포함하는 요소의 규격화를 위한 속성을 제공한다.</desc>
  <desc versionDate="2007-05-02" xml:lang="zh-TW">提供用於元素規格化的屬性，這些元素包含以W3C datatypes所定義的日期明確之事件。</desc>
  <desc versionDate="2019-02-13" xml:lang="ja">W3Cの<ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>に準拠した年代測定可能なイベントを含む要素の正規化に関する属性を提供する。</desc>
  <desc versionDate="2007-06-12" xml:lang="fr">fournit des attributs
  pour la normalisation d'éléments qui contiennent des mentions
  d'événements datés ou susceptibles de l'être.</desc>
  <desc versionDate="2007-11-06" xml:lang="it">indica degli attributi per la normalizzazione di elementi che contengono eventi databili utilizzando i tipi di dati del W3C</desc>
  <desc versionDate="2007-05-04" xml:lang="es">proporciona atributos para la normalización de elementos que contienen eventos datables.</desc>
  <constraintSpec ident="att-datable-w3c-when" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:*[@when]">
        <sch:report test="@notBefore|@notAfter|@from|@to" role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <constraintSpec ident="att-datable-w3c-from" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:*[@from]">
        <sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <constraintSpec ident="att-datable-w3c-to" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:*[@to]">
        <sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <attList>
    <attDef ident="when" usage="opt">
      <desc versionDate="2008-07-23" xml:lang="en">supplies the value of the date or time in a standard form,
        e.g. yyyy-mm-dd.</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">표준형식으로 날짜 또는 시간의 값을 제공한다.</desc>
      <desc versionDate="2019-03-28" xml:lang="ja">標準形式での日付や時刻を提供する。たとえば、yyyy-mm-dd</desc>
      <desc versionDate="2007-06-12" xml:lang="fr">spécifie une date exacte pour un événement sous
        une forme normalisée, par ex. aaaa-mm-jj.</desc>
      <desc versionDate="2007-11-06" xml:lang="it">indica il valore di una data o di un orario in un formato standard</desc>
      <desc versionDate="2007-05-04" xml:lang="es">proporciona el valor de una fecha o una hora en un formato estandard.</desc>
      <datatype><dataRef key="teidata.temporal.w3c"/></datatype>
      <exemplum xml:lang="en">
        <p>Examples of W3C date, time, and date &amp; time formats.</p>
        <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-br" source="#NONE">
          <p>
            <date when="1945-10-24">24 Oct 45</date>
            <date when="1996-09-24T07:25:00Z">September 24th, 1996 at 3:25 in the morning</date>
            <time when="1999-01-04T20:42:00-05:00">Jan 4 1999 at 8 pm</time>
            <time when="14:12:38">fourteen twelve and 38 seconds</time>
            <date when="1962-10">October of 1962</date>
            <date when="--06-12">June 12th</date>
            <date when="---01">the first of the month</date>
            <date when="--08">August</date>
            <date when="2006">MMVI</date>
            <date when="0056">AD 56</date>
            <date when="-0056">56 BC</date>
          </p>
        </egXML>
      </exemplum>
      <exemplum versionDate="2008-04-06" xml:lang="fr">
        <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-tm" source="#NONE">
          <p>
            <date when="1945-10-24">24 Oct 45</date>
            <date when="1996-09-24T07:25:00Z">24 septembre 1996 à 3h 25 du matin</date>
            <time when="1999-01-04T20:42:00-05:00">4 janvier 1999 à 8h de l'après-midi.</time>
            <time when="14:12:38">14 h 12 minutes et 38 secondes</time>
            <date when="1962-10">octobre 1962</date>
            <date when="--06-12">12 juin</date>
            <date when="---01">premier du mois</date>
            <date when="--08">Août</date>
            <date when="2006">MMVI</date>
            <date when="0056">56 ap. J.-C.</date>
            <date when="-0056">56 av. J.-C.</date>
          </p>
        </egXML>
      </exemplum>
      <exemplum versionDate="2016-03-28" xml:lang="fr">
	<egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-py" source="#fr-ex-Ormesson-douane">Shakespeare meurt dix jours plus tard, à Stratford-on-Avon,
	  Warwickshire, dans l'Angleterre protestante et dans le
	  calendrier julien, le
	  <date calendar="#julian" when="--05-03">mardi 23 avril ancien style</date>,
	  c'est-à-dire le
	  <date calendar="#gregorian" when="--05-03">3 mai</date> dans
	  le calendrier grégorien.</egXML>
      </exemplum>
      <exemplum xml:lang="en">
        <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-xp">This list begins in
          the year 1632, more precisely on Trinity Sunday, i.e. the Sunday after
          Pentecost, in that year the
	  <date calendar="#julian" when="1632-06-06">27th of May (old style)</date>.</egXML>
      </exemplum>
      <exemplum xml:lang="en">
        <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-mh">
          <opener><dateline><placeName>Dorchester, Village,</placeName><date when="1828-03-02">March 2d.  1828.</date></dateline><salute>To
            Mrs. Cornell,</salute> Sunday <time when="12:00:00">noon.</time>
          </opener>
        </egXML>
      </exemplum>
    </attDef>
    <attDef ident="notBefore" usage="opt">
      <desc versionDate="2007-04-09" xml:lang="en">specifies the earliest possible date for the event in
        standard form, e.g. yyyy-mm-dd.</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">yyyy-mm-dd와 같은 표준 형식으로 사건의 가능한 한 이른 날짜를 명시한다.</desc>
      <desc versionDate="2007-05-02" xml:lang="zh-TW">以標準格式說明該事件可能發生的最早日期，例如年-月-日。</desc>
      <desc versionDate="2008-04-05" xml:lang="ja">当該事象の一番古い日付を、標準形式で示す。例えば、yyyy-mm-dd。</desc>
      <desc versionDate="2007-06-12" xml:lang="fr">spécifie la date la plus ancienne pour
        l'événement sous une forme normalisée, par ex. aaaa-mm-jj.</desc>
      <desc versionDate="2007-11-06" xml:lang="it">specifica la prima data possibile per un evento nel formato standard aaaa-mm-gg</desc>
      <desc versionDate="2007-05-04" xml:lang="es">especifica la fecha más temprana posible para un evento en un formato estándard, p.ej. aaaa-mm-dd.</desc>
      <datatype><dataRef key="teidata.temporal.w3c"/></datatype>
    </attDef>
    <attDef ident="notAfter" usage="opt">
      <desc versionDate="2007-04-09" xml:lang="en">specifies the latest possible date for the event in
        standard form, e.g. yyyy-mm-dd.</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">yyyy-mm-dd와 같은 표준 형식으로 사건의 가능한 한 나중 날짜를 명시한다.</desc>
      <desc versionDate="2007-05-02" xml:lang="zh-TW">以標準形式標明該事件可能的最晚日期，例如年-月-日。</desc>
      <desc versionDate="2008-04-05" xml:lang="ja">当該事象の一番新しい日付を、標準形式で示す。例えば、yyyy-mm-dd。</desc>
      <desc versionDate="2007-06-12" xml:lang="fr">spécifie la date la plus récente possible pour
        l'événement sous une forme normalisée, par ex. aaaa-mm-jj.</desc>
      <desc versionDate="2007-11-06" xml:lang="it">specifica l'ultima data possibile per un evento nel formato standard aaaa-mm-gg</desc>
      <desc versionDate="2007-05-04" xml:lang="es">especifica la fecha más tardana posible para un evento en un formato estándard, p.ej. aaaa-mm-dd.</desc>
      <datatype><dataRef key="teidata.temporal.w3c"/></datatype>
    </attDef>
    <attDef ident="from" usage="opt">
      <desc versionDate="2008-02-10" xml:lang="en">indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">표준 형식으로 기간의 시작 지점을 표시한다.</desc>
      <desc versionDate="2007-05-02" xml:lang="zh-TW">以標準格式表示該段時間的起始點。</desc>
      <desc versionDate="2008-04-05" xml:lang="ja">標準形で当該時間幅の始点を示す。</desc>
      <desc versionDate="2007-06-12" xml:lang="fr">indique le point de départ d'une période sous une
        forme normalisée, par ex. aaaa-mm-jj.</desc>
      <desc versionDate="2007-11-06" xml:lang="it">indica l'inizio del periodo nel formato standard</desc>
      <desc versionDate="2007-05-04" xml:lang="es">indica el punto de inicio del período en el formato estándard.</desc>
      <datatype><dataRef key="teidata.temporal.w3c"/></datatype>
    </attDef>
    <attDef ident="to" usage="opt">
      <desc versionDate="2008-02-10" xml:lang="en">indicates the ending point of the period in standard
        form, e.g. yyyy-mm-dd.</desc>
      <desc versionDate="2007-12-20" xml:lang="ko">표준 형식으로 기간의 종료 지점을 나타낸다.</desc>
      <desc versionDate="2007-05-02" xml:lang="zh-TW">以標準格式表示該段時間的結束點。</desc>
      <desc versionDate="2008-04-05" xml:lang="ja">標準形で当該時間幅の終点を示す。</desc>
      <desc versionDate="2007-06-12" xml:lang="fr">indique le terme de la période sous une forme
        normalisée, par ex. aaaa-mm-jj.</desc>
      <desc versionDate="2007-11-06" xml:lang="it">indica la fine del periodo nel formato standard</desc>
      <desc versionDate="2007-05-04" xml:lang="es">indica el punto final de un periodo en formato estándard.</desc>
      <datatype><dataRef key="teidata.temporal.w3c"/></datatype>
    </attDef>
  </attList>
  
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="DATABLEW3C-egXML-yq">
      <date from="1863-05-28" to="1863-06-01">28 May through 1 June 1863</date>
    </egXML>
  </exemplum>
      <remarks versionDate="2008-07-23" xml:lang="en">
        <p>The value of these attributes should be a normalized
        representation of the date, time, or combined date &amp; time
        intended, in any of the standard formats specified by <ref target="#XSD2">XML Schema Part 2: Datatypes Second
        Edition</ref>, using the Gregorian calendar.</p>
        <p>The most commonly-encountered format for the date portion of
        a temporal attribute is <code>yyyy-mm-dd</code>, but
        <code>yyyy</code>, <code>--mm</code>, <code>---dd</code>,
        <code>yyyy-mm</code>, or <code>--mm-dd</code> may also be
        used. For the time part, the form <code>hh:mm:ss</code> is
        used. </p>
        <p>Note that this format does not currently permit use of the
        value <val>0000</val> to represent the year 1 BCE; instead the
        value <val>-0001</val> should be used. </p>
      </remarks>
      <remarks versionDate="2007-06-12" xml:lang="fr">
        <p>La valeur de l'attribut <att>when</att> doit être une représentation normalisée de la date ou de l'heure, ou des deux, dans l'un des formats spécifiés par le <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>, selon le calendrier grégorien.</p>
        <p> Pour la date, le format le plus courant est <code>yyyy-mm-dd</code>, mais on trouve aussi <code>yyyy</code>, <code>--mm</code>, <code>---dd</code>, <code>yyyy-mm</code>, ou <code>--mm-dd</code>. Pour l'heure, on utilise le format <code>hh:mm:ss</code>.</p>
        <p>Il faut noter qu'actuellement ce format ne permet pas d'utiliser la valeur <val>0000</val> pour représenter l'année précédant le début de l'ère chrétienne ; on doit utiliser la valeur <val>-0001</val>.</p>
      </remarks>
  <remarks versionDate="2018-09-08" xml:lang="es"><p>El valor del atributo <att>cuando</att> es una serie que representa una fecha o una hora, o ambas, en cualquiera de los siguientes formatos: <list><item>una fecha en los formatos estándares descritos por la <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>, p.ej. en el formato más común <code>aaaa-mm-dd</code>, pero también <code>aaaa</code>, <code>--mm</code>, <code>---dd</code>, <code>aaaa-mm</code>, o <code>--mm-dd</code></item><item>; una hora en el formato estándar descrito en <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>, es decir. <code>hh: mm: ss</code></item><item>; o una fecha y una hora combinadas en los formatos estándares descritos en <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>, es decir. <code>aaaa-mm-ddThh: mm: ss</code></item></list>. Obligatoriamente el valor de <att>cuando</att> aparecerá en un formato de fecha, tiempo, o ambos formatos combinados, de los reconocidos por W3C <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>. Esto se dará si el componente de la fecha (eventualmente) es una fecha gregoriana o proléptica gregoriana. A la hora de esta escritura, W3C no permite el año <val>0000</val>, que sería utilizado normalmente para representar el año 1 antes de nuestra era. Usando el sistema actual de W3C, el año 1 a.C. se indica con <val>-0001</val>, el año 2 a.C. con <val>-0002</val>, etc. <quote>Es la intención del grupo de trabajo del esquema de XML permitir <val>0000</val> como la representación léxica de 1 a.C. (que es un año bisiesto), <val>-0001</val> se convertiria en la representación léxica de 2 a.C., <val>-0002</val> de 3 a.C., etc.</quote> Así en algunos casos puede ser ventajoso utilizar en su lugar el atributo <att>cuando-ISO</att> para indicar los años anteriores a nuestra era.</p></remarks>
      <remarks versionDate="2019-03-28" xml:lang="ja">
        <p>
          この属性の値は、グレゴリオ暦を用い、<ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>で定義されるいずれかの標準形式で正規化された日付や時刻、あるいはその組み合わせである。時間の属性としてもっともよく使われる形式は、<code>yyyy-mm-dd</code>だが、<code>yyyy</code>、<code>--mm</code>、<code>---dd</code>、<code>yyyy-mm</code>、<code>--mm-dd</code>も用いてもよい。時間については、<code>hh:mm:ss</code>が用いられる。この形式は、紀元前1年を表現するのに<val>0000</val>という値を用いることは現在のところ許容していないことには注意されたい。代わりに<val>-0001</val>という値を用いる必要がある。
	           </p>
        <p>
	属性<att>when</att>の値は、日付や時間またはその組み合わを、
          <ref target="#XSD2">XML Schema Part 2: Datatypes Second Edition</ref>に従って示される。
	当該日付の値が、グレゴリオ暦またはそれ以前の前グレゴリオ暦シス
        テムの場合に真となる。
	</p>
        <p>
	現時点では、W3Cは年号の値として<val>0000</val>を認めていない。
	この場合、一般的には、1BCE(紀元前1世紀)と記される。
	現行W3Cのシステムを採用すれば、1BCEは<val>-0001</val>、2BCEは、
        <val>-0002</val>と記される。
	<quote>この背景には、XML Schema Working Groupが、値
        <val>0000</val>を1BCE(閏年)の文字表記として、<val>-0001</val>
        を2BCEの文字表記として、<val>-0002</val>を3BCEの文字表記として
        利用したかったためである。
	  </quote>
	  従って、場合によっては、属性<att>when-iso</att>により紀元前
        を示した方が便利かもしれない。
	  </p>
      </remarks>
  <listRef>
    <ptr target="#CONADA"/>
    <ptr target="#NDDATE"/>
  </listRef>
</classSpec>
