-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving use of TEI dating attributes #63
Comments
My understanding is that |
(confusion of the values in |
That is my understanding as well: which I think means that we should technically be using |
Indeed - but even with |
At present the schema requires
@when
,@notBefore
, or@notAfter
on most dating elements. These are part of att.datable.w3c, i.e. using the W3C XML Schema datatype, which is based on ISO 8601 but with some important differences.I've encountered a number of problems with our approach:
@notBefore
, or@notAfter
should give an earliest/late possible date for an event, and we are not distinguishing these from precise beginning/end points where we have them, which should instead be specified in@from
and@to
.@notBefore
and@notAfter
.notBefore="1800" notAfter="1899"
ornotBefore="1800" notAfter="1900"
ornotBefore="1801" notAfter="1900"
.notBefore
/notAfter
that give actual dates from those that give estimates to the century or decade. I would expect the machine-readable date to reflect the prose precisely. In an ideal world, it should be possible to eliminate the prose date entirely and instead give a precise multilingual text representation of a date from the machine-readable version.In the ISO 8601 specification, one can write
when-iso="18"
to represent the 19th century (a date between 1800–1899); or196
to indicate the 1960s. It also allows intervals such as2020/2022
for 2020–22 or181/185
for the 1810s × 1850s.ISO 8601-2:2019 helps further with extensions to improve the syntax of imprecise dates, allowing for example
18XX
for an unspecified point in the 19th century. It also gives machine-readable equivalents to 'circa' etc, based on the Extended Date/Time Format (EDTF) Specification. TEI have planned support for this in@when-iso
.The radical solution would be to normalize all date attributes to
when-iso
– it would be easier to write, more precise, and more interoperable (e.g. by avoiding the problem of different definitions of centuries). Whether that is realistic is another question, and we would need to develop guidance on translating parts of centuries into ISO notation; I noted some of these problems in bodleian/medieval-mss#623.Note that ISO 8601-1:2019+A1:2022 and ISO 8601-2:2019 are available through British Standards Online (requires the university VPN).
The text was updated successfully, but these errors were encountered: