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

@localTypeDeclarationReference #175

Closed
SJagodzinski opened this issue Nov 1, 2020 · 4 comments
Closed

@localTypeDeclarationReference #175

SJagodzinski opened this issue Nov 1, 2020 · 4 comments
Labels

Comments

@SJagodzinski
Copy link
Contributor

SJagodzinski commented Nov 1, 2020

Local type declaration reference

Add new optional attribute @localTypeDeclarationReference with data type IDREF in all elements alongside the attribute @localType

With @localTypeDeclarationReference a direct link to a local type declaration element within cpf/control/localTypeDeclaration can be provided. The attribute should always be used when @localType is used, in order to link to the local type definition.

Creator of issue

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

Related issues / documents

<agencyCode>: add attribute @type #15
Add local identifier attribute #45

EAD3 Reconciliation

New EAS attribute

Context

New EAS attribute

Solution documentation: agreed solution for TL and guidelines

Rephrasing Summary, Description and Usage and Attribute usage needed

Data type: IDREF

May occur within: <abstract>, <address>, <addressLine>, <biogHist>, <chronItem>, <chronItemSet>, <chronList>, <componentEntry>, <contact>, <contactLine>, <date>, <dateRange>, <dateSet>, <event>, <existDates>, <fromDate>, <function>, <functions>, <generalContext>, <identityId>, <item>, <languageUsed>, <languagesUsed>, <legalStatus>, <legalStatuses>, <list>, <localControl>, <localDescription>, <localDescriptions>, <mandate>, <mandates>, <nameEntry>, <nameEntrySet>, <occupation>, <occupations>, <otherAgencyCode>, <otherEntityType>, <otherRecordId>, <part>, <place>, <placeName>, <places>, <relationType>, <representation>, <span>, <targetRole>, <toDate>

  • Example needed
  • Topic for Best Practise Guide

Example encoding

@ailie-s
Copy link

ailie-s commented Nov 2, 2020

Tag Library Text:

Summary: Use @localTypeDeclarationReference to provide a direct link to a <localTypeDeclaration> element within <control> from another element using @localType within the EAC-CPF instance. @localTypeDeclarationReference should always be used when @localType is used, in order to link to the local type definition.
Data type: IDREFS

@kerstarno
Copy link
Contributor

Tested as part of Schema Team's schema testing:

  • @localTypeDeclarationReference is an optional attribute for (currently) 49 elements (<abstract>, <address>, <addressLine>, <biogHist>, <chronItem>, <chronItemSet>, <chronList>, <componentEntry>, <contact>, <contactLine>, <date>, <dateRange>, <dateSet>, <event>, <existDates>, <fromDate>, <function>, <functions>, <generalContext>, <identity>, <identityId>, <item>, <languagesUsed>, <languageUsed>, <legalStatus>, <legalStatuses>, <list>, <localControl>, <localDescription>, <localDescriptions>, <mandate>, <mandates>, <nameEntry>, <nameEntrySet>, <occupation>, <occupations>, <otherAgencyCode>, <otherEntityType>, <otherRecordId>, <part>, <place>, <placeName>, <places>, <relationType>, <representation>, <span>, <structureOrGenealogy>, <targetRole>, <toDate>)
    • That adds <identity> and <structureOrGenealogy> to the elements listed in the solution documentation above. @SJagodzinski seeing that these two have @localType in EAC-CPF 1.0 and we decided to keep @localType where available outside of <control>, I'm assuming this is correct. Could you please confirm?
  • Its data type is IDREFS
  • It's always available together with the attribute @localType.

The above applies to both schemas, RNG and XSD.

@ailie-s the data type has recently changed to IDREFS in order to allow for several IDs to be pointed to within one attribute.

@kerstarno kerstarno self-assigned this Jan 22, 2021
@kerstarno kerstarno added Tested by Schema Team Passed both the RNG and XSD schemas. Pending final decision labels Jan 22, 2021
@SJagodzinski
Copy link
Contributor Author

  • That adds <identity> and <structureOrGenealogy> to the elements listed in the solution documentation above. @SJagodzinski seeing that these two have @localType in EAC-CPF 1.0 and we decided to keep @localType where available outside of <control>, I'm assuming this is correct. Could you please confirm?

Yes, I that's correct.

@kerstarno
Copy link
Contributor

@SJagodzinski thanks for the confirmation.

With this, the attribute is ready.

@kerstarno kerstarno modified the milestones: Tag Library, Schema Feb 2, 2021
@kerstarno kerstarno mentioned this issue Feb 2, 2021
@SJagodzinski SJagodzinski assigned SJagodzinski and unassigned ailie-s Mar 27, 2021
@SJagodzinski SJagodzinski removed this from the Tag Library milestone Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants