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

Consider a rule to ensure that @...Encoding attributes are present and linked to <conventionDeclaration> #4

Open
5 of 9 tasks
kerstarno opened this issue Jul 13, 2023 · 1 comment
Assignees
Labels
EAD major revision (EAD 4.0) This issue is part of the EAD major revision towards EAD 4.0 EAD schematron This issue relates to the EAD schematron Review This is being reviewed in order to decide whether it will be implemented

Comments

@kerstarno
Copy link
Contributor

Creator of issue

  1. Kerstin Arnold
  2. EAD team lead, TS-EAS
  3. @kerstarno
  4. [email protected]

The issue relates to

  • EAC-CPF schema issue
  • EAC-CPF Tag Library issue
  • EAD schema issue
  • EAD Tag Library issue
  • Schema issue
  • Tag Library issue
  • Suggestions for all schemas
  • Suggestions for all Tag Libraries
  • Other

Wanted change/feature

  • Text: This feature request follows Remove fixed value lists eas-schemas#1. With the decision to define the use of value lists via @...Encoding attributes within <control>, it might be worth investigating and considering if this could be linked to a Schematron rule, especially if - as currently suggested - the vast majority of these @...Encoding attributes would be optional. Ideally there would be two checks:
  • First, if any of the attributes that would require the definition of a value list via @...Encoding is used, there should be a check if this @...Encoding attribute indeed is present. E.g. if I use the @audience attribute, I need to have the @audienceEncoding attribute in <control>.
  • Second, though I will admit that I'm not sure, if Schematron can be used in this case, it would be great if there could be a check that, in case the @audienceEncoding attribute (to stick with the example) is set to "otherAudienceEncoding", there indeed is a <conventionDeclaration> element that defines or references a definition of the values used for @audience. As there would be not prescribed way on how to encode this, though, it might not be possible to do this?
@kerstarno kerstarno added Review This is being reviewed in order to decide whether it will be implemented EAD schematron This issue relates to the EAD schematron EAD major revision (EAD 4.0) This issue is part of the EAD major revision towards EAD 4.0 labels May 3, 2024
@kerstarno
Copy link
Contributor Author

Adding @marieelia as eventually this might also apply to EAC-CPF given that it would be expected for EAC-CPF to also remove the predefined values from attributes and to use the @...Encoding attributes in <control> instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EAD major revision (EAD 4.0) This issue is part of the EAD major revision towards EAD 4.0 EAD schematron This issue relates to the EAD schematron Review This is being reviewed in order to decide whether it will be implemented
Projects
Status: Review
Development

No branches or pull requests

3 participants