SAA-SDT / eac-cpf-schema

https://eac.staatsbibliothek-berlin.de/
10 stars 4 forks source link

@standardDate #240

Closed SJagodzinski closed 2 years ago

SJagodzinski commented 3 years ago

Standard Date

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. silkejagodzinski@gmail.com

Related issues / documents

@standardDate, @standardDateTime: remove regex pattern #33

EAD3 Reconciliation

Summary: The standardized form of date expressed in <datesingle>, <fromdate>, or <todate>. It is recommened that standarddate values follow ISO 8601, for example, 2011-07-22, 1963, or 1912-11, or another standard date format as specified in dateencoding.

Data Type: token

Context

Summary: The date represented in a standard form for computer processing.

Description and Usage: The standardDate may occur on <date>, <fromDate>, and <toDate>. The value of standardDate provides a standard form of the date expressed in <date>, <fromDate>, or <toDate> that can be used in computer processing, such as searching.

Data Type: Union of the XML Schema Datatypes date, gYear, and gYearMonth. The following are all valid patterns: 2009-12-31, 2009, 2009-12.

Solution documentation:

Rephrasing Summary and Description and Usage needed

May occur within: <date>, <fromDate>, <toDate> Data type: token

Example encoding

ailie-s commented 3 years ago

Tag Library Text:

Summary: The standardized form of date expressed in <date>, <fromDate>, and <toDate>. It is recommended that @standardDate values follow ISO 8601, for example, 2011-07-22, 1963, or 1912-11, or another standard date format as specified in @dateEncoding. Data type: token

kerstarno commented 3 years ago

Tested as part of Schema Team's schema testing:

The above applies to both schemas, RNG and XSD.

The attribute is ready.