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

@scriptOfElement #152

Closed
SJagodzinski opened this issue Aug 6, 2020 · 5 comments
Closed

@scriptOfElement #152

SJagodzinski opened this issue Aug 6, 2020 · 5 comments
Labels
Attribute Tested by Schema Team Passed both the RNG and XSD schemas.

Comments

@SJagodzinski
Copy link
Contributor

SJagodzinski commented Aug 6, 2020

Script of Element

Add optional attribute @scriptOfElement with data type NMTOKEN. Use @scriptOfElement in all non-empty elements.

Creator of issue

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

Related issues / documents

Language codes: adopt EAD 3 solution #29

EAD3 Reconciliation

Summary: Indicates the writing script of the content of an element (e.g., Cyrillic, Katakana). Content should be taken from ISO 15924 Codes for the Representation of Names of Scripts, or another controlled list, as specified in the scriptencoding attribute in <control>. May be used consistently in a multi-lingual finding aid to specify which elements are written in which script. Available on all non-empty elements.
Data Type: NMTOKEN

Context

EAD3 specific attribute

Solution documentation: agreed solution for TL and guidelines

Summary: Indicates the writing script of the content of an element (e.g., Cyrillic, Katakana). Content should be taken from ISO 15924 Codes for the Representation of Names of Scripts, or another controlled list, as specified in the scriptencoding attribute in <control>. May be used consistently in a multi-lingual finding aid to specify which elements are written in which script. Available on all non-empty elements.

Data Type: NMTOKEN

May occur within: <abstract>, <address>, <addressLine>, <agencyCode>, <agencyName>, <agent>, <alternativeSet>, <biogHist>, <chronItem>, <chronItemSet>, <chronList>, <citedRange>, <componentEntry>, <contact>, <contactLine>, <conventionDeclaration>, <date>, <dateRange>, <dateSet>, <description>, <descriptiveNote>, <event>, <eventDateTime>, <eventDescription>, <existDates>, <fromDate>, <function>, <functions>, <generalContext>, <geographicCoordinates>, <head>, <identityId>, <item>, <language>, <languageDeclaration>, <languageUsed>, <languagesUsed>, <legalStatus>, <legalStatuses>, <list>, <localControl>, <localDescription>, <localDescriptions>, <localTypeDeclaration>, <maintenanceAgency>, <maintenanceEvent>, <maintenanceHistory>, <mandate>, <mandates>, <nameEntry>, <nameEntrySet>, <occupation>, <occupations>, <otherAgencyCode>, <otherEntityType>, <otherEntityTypes>, <otherRecordId>, <p>, <part>, <place>, <placeName>, <placeRole>, <places>, <recordId>, <reference>, <relation>, <relationType>, <relations>, <representation>, <rightsDeclaration>, <setComponent>, <shortCode>, <source>, <sources>, <span>, <targetEntity>, <targetRole>, <term>, <term>, <toDate>, <useDates>, <writingSystem>

Example encoding

@alexduryee
Copy link

Currently does not use NMTOKEN (Lat n is valid) and is not applied to all elements (ref. citedRange) in either schema.

@alexduryee
Copy link

Re-tested and works correctly in both schemas.

@alexduryee alexduryee added the Tested by Schema Team Passed both the RNG and XSD schemas. label Dec 8, 2020
@kerstarno kerstarno modified the milestones: Schema, Tag Library Dec 16, 2020
@kerstarno kerstarno mentioned this issue Jan 22, 2021
@kerstarno
Copy link
Contributor

kerstarno commented Jan 22, 2021

Additional note resulting from testing for @languageOfElement.

  • @scriptOfElement is used with 86 out of 89 elements in the draft for EAC-CPF 2.0
  • The three elements that do not have @languageOfElement are:
    • <multipleIdentities> - to be confirmed
    • <entityType> - as it does not have text
    • <objectXMLWrap> - as its sub-elements are not from the EAS namespace

Pending confirmation alongside #151.

@SJagodzinski
Copy link
Contributor Author

@fordmadox , @kerstarno : Please keep the lang attributes as they are: not available in <mulitpleIdentities>, <entityType> and <objectXMLWrap>

List will be completed

@kerstarno
Copy link
Contributor

@SJagodzinski thanks for the confirmation.

With this, the attribute is ready.

@SJagodzinski SJagodzinski assigned SJagodzinski and unassigned ailie-s Mar 27, 2021
@SJagodzinski SJagodzinski removed this from the Tag Library milestone Jan 9, 2022
@SJagodzinski SJagodzinski removed their assignment May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Attribute Tested by Schema Team Passed both the RNG and XSD schemas.
Projects
None yet
Development

No branches or pull requests

5 participants