att.datable.w3c
att.datable.w3c provides attributes for normalization of elements that contain datable events conforming to the W3C XML Schema Part 2: Datatypes Second Edition. [3.6.4 Dates and Times 13.4 Dates] | |||||||||||||||||||||||||||||||||||||
Module | tei — The TEI Infrastructure | ||||||||||||||||||||||||||||||||||||
Members | att.datable [acquisition affiliation age altIdentifier application author binding birth bloc change climate conversion country creation custEvent date death district editor education event faith floruit funder gender geogFeat geogName idno langKnowledge langKnown licence location meeting name nationality objectName occupation offset orgName origDate origPlace origin persName persPronouns placeName population precision principal provenance region relation residence resp seal settlement sex socecStatus sponsor stamp state terrain time title trait unitDecl unitDef] | ||||||||||||||||||||||||||||||||||||
Attributes |
|
||||||||||||||||||||||||||||||||||||
Schematron |
<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> |
||||||||||||||||||||||||||||||||||||
Schematron |
<sch:rule context="tei:*[@from]"> <sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report> </sch:rule> |
||||||||||||||||||||||||||||||||||||
Schematron |
<sch:rule context="tei:*[@to]"> <sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report> </sch:rule> |
||||||||||||||||||||||||||||||||||||
Example | |||||||||||||||||||||||||||||||||||||
Note |
The value of these attributes should be a normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by XML Schema Part 2: Datatypes Second Edition, using the Gregorian calendar. The most commonly-encountered format for the date portion of a temporal attribute
is Note that this format does not currently permit use of the value 0000 to represent the year 1 BCE; instead the value -0001 should be used. |