Skip to content
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

@dateEncoding #124

Closed
SJagodzinski opened this issue Jan 30, 2020 · 4 comments
Closed

@dateEncoding #124

SJagodzinski opened this issue Jan 30, 2020 · 4 comments
Labels
Attribute Comments period issues to (re)discuss during the Call for Comments Tested by Schema Team Passed both the RNG and XSD schemas.

Comments

@SJagodzinski
Copy link
Contributor

SJagodzinski commented Jan 30, 2020

Date Encoding

Add optional attribute @dateEncoding with closed lists of predefined values to <control>.

Availability: optional
Values: iso8601, otherDateEncoding
May occur within: <control>

Creator of issue

  1. Silke Jagodzinski
  2. TS-EAS: EAC-CPF subgroup
  3. [email protected]

Related issues / documents

20200128_SharedSchemaOverview
<control> #81

EAD3 Reconciliation

Decision from EAC-EAD-Schema joint meeting, 28 Jan 2020, due to alignment of in both standards.

Summary:
The authoritative source or rules for values provided in normal in <date> and <unitdate>. If the value "otherdateencoding" is selected an alternate code list should be specified in <conventiondeclaration>.

Values: iso8601, otherdateencoding

Context

EAD3 specific attribute.

Solution documentation

Summary: The authoritative source or rules for values provided in @standardDate in <date>, <fromDate> and <toDate>. If the value "otherDateEncoding" is selected an alternate code list should be specified in <conventionDeclaration>.

Values: iso8601, otherDateEncoding

May occur within: <control>

Example encoding

<eac>
<control audience="external" countryEncoding="iso3166-1" dateEncoding="iso8601" id="control1" languageEncoding="iso639-1" languageOfElement="en" repositoryEncoding="iso15511" scriptEncoding="iso15924" scriptOfElement="lat">
  <recordId>records identifier</recordId>
  <maintenanceStatus value="new"/>
  <maintenanceAgency>[...]</maintenanceAgency>
  <maintenanceHistory>[...] >/maintenanceHistory>
 </control>
</eac>
@SJagodzinski SJagodzinski self-assigned this Jan 30, 2020
@kerstarno kerstarno mentioned this issue Mar 26, 2020
9 tasks
@SJagodzinski SJagodzinski changed the title @dateencoding @dateEncoding Aug 5, 2020
@SJagodzinski SJagodzinski assigned fordmadox and ailie-s and unassigned SJagodzinski Aug 5, 2020
@SJagodzinski SJagodzinski added this to the Schema milestone Aug 5, 2020
@kerstarno kerstarno self-assigned this Jan 20, 2021
@kerstarno
Copy link
Contributor

Tested as part of Schema Team's schema testing:

  • @dateEncoding is an optional attribute in <control>
  • It can have the values "iso8601" or "otherDateEncoding"
  • It has the data type token as in EAD3

The above applies for both schemas, RNG and XSD.

The attribute is ready.

@kerstarno
Copy link
Contributor

kerstarno commented Jan 20, 2021

@fordmadox With regard to Schematron: I'm assuming, the EAD3 Schematron currently only includes checks for ISO 8601, as we wouldn't know what other date encoding people might want to use instead of this. But I was wondering, if Schematron documentation could include something about what to do when using "otherDateEncoding" as the value here? Not necessarily for Schematron only, but also in terms of e.g. a recommendation as to where to define such other date codes (e.g. <localControl>?) next to mentioning the standard itself in <conventionDeclaration>.

@kerstarno kerstarno added the Tested by Schema Team Passed both the RNG and XSD schemas. label Jan 20, 2021
@kerstarno kerstarno modified the milestones: Schema, Tag Library Jan 20, 2021
@fordmadox
Copy link
Member

Just a note that I do not think that "iso8601" is sufficient as a controlled value option. Version 2019 of ISO-8601 is very different from version 2014, etc.

@SJagodzinski SJagodzinski added the Comments period issues to (re)discuss during the Call for Comments label Feb 27, 2021
@SJagodzinski SJagodzinski assigned SJagodzinski and unassigned ailie-s Mar 27, 2021
@SJagodzinski SJagodzinski removed this from the Call for Comments milestone Apr 4, 2021
@karinbredenberg
Copy link
Member

In the EAC-CPF meeting on the (2021-08-06) we concluded that this fall into the Design principles (principle 7) an suggest that the principle gets an addition of links to the used versions and with this hands this over to the Schema team, @fordmadox .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Attribute Comments period issues to (re)discuss during the Call for Comments Tested by Schema Team Passed both the RNG and XSD schemas.
Projects
None yet
Development

No branches or pull requests

5 participants