SAA-SDT / eac-cpf-schema

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

Change data type NMTOKEN to token #266

Closed SJagodzinski closed 2 years ago

SJagodzinski commented 3 years ago

Change data type for all attributes from NMTOKEN to token in all EAS standards.

Creator of issue

  1. @fordmadox

The issue relates to

Wanted change/feature

In general, I'd like not to use NMTOKEN either, since we are not providing a DTD of EAC-CPF (and have decided not to continue doing that with EAD3, at least), but we do have a lot of attributes that use NMTOKEN now, so I'm fine with changing vocabularySource to that datatype.

Suggested Solution

Attributes with data type NMTOKEN: @calendar #258 @certainty #251 @era #259 @countryCode #159 @languageCode #160 @languageOfElement #151 @scriptCode #161 @scriptOfElement #152

Context

NMTOKEN: any of the allowed characters can be the first character; NMTOKEN values can’t contain any whitespace token: sets of all strings after whitespace replacement

karinbredenberg commented 3 years ago

@fordmadox in the EAC-CPF meeting (2021-08-06) we concluded that we support this suggestion but its a need for the Schema team to decide and state that token is used in attributes with text. Also check the opinion with the EAD Team. When this decision is made its ok to implement in EAC-CPF and the EAC-CPF team needs to be informed so updates in the TL can be made.

fordmadox commented 2 years ago

Just noting this for discussion: https://lists.oasis-open.org/archives/ubl/200906/msg00012.html.

SJagodzinski commented 2 years ago

Token is used in attributes with text, implemented in EAC-CPF 2.0 schema and Tag Library.