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

Inconsistency in cardinality of metsHdr/agent/name #102

Closed
jmaferreira opened this issue Oct 6, 2021 · 3 comments
Closed

Inconsistency in cardinality of metsHdr/agent/name #102

jmaferreira opened this issue Oct 6, 2021 · 3 comments
Assignees
Labels
bug This issue describes a bug that needs to be investigated and handled
Milestone

Comments

@jmaferreira
Copy link
Contributor

jmaferreira commented Oct 6, 2021

The cardinality requirements for metsHdr/agent/name do not follow a consistent logic in relation to the cardinality of their metsHdr/agent. According to mets.xsd, metsHdr/agent/name cardinality is 1..1, a "conditional MUST," i.e. if a metsHdr/agent exists, it MUST have exactly one metsHdr/agent/name.

metsHdr/agent Cardinality metsHdr/agent/name Cardinality
SIP9 Archival creator agent 0..1 MAY SIP12 0..* MAY
SIP15 Submitting agent 1..1 MUST SIP18 1..1 MAY
SIP21 Contact person agent 0..* MAY SIP24 1..1 MUST
SIP26 Preservation agent 0..1 MAY SIP29 1..1 MAY

Duplicates #101

@jmaferreira jmaferreira added the bug This issue describes a bug that needs to be investigated and handled label Oct 6, 2021
@jmaferreira
Copy link
Contributor Author

@karinbredenberg The requirements XML files need to be updated to have the right cardinality.

@jmaferreira
Copy link
Contributor Author

jmaferreira commented May 9, 2023

A fix has been issued on commit 432e860. Waiting for a Pull Request to merge it into master.

jmaferreira added a commit that referenced this issue May 9, 2023
karinbredenberg added a commit that referenced this issue Jun 22, 2023
Update so the requriment follows the mets schema Closes #101 Closes #102
jmaferreira pushed a commit that referenced this issue Aug 28, 2023
Update so the requriment follows the mets schema Closes #101 Closes #102
@jmaferreira
Copy link
Contributor Author

Resolved.

jmaferreira pushed a commit that referenced this issue Mar 4, 2024
Update so the requriment follows the mets schema Closes #101 Closes #102
jmaferreira pushed a commit that referenced this issue Mar 4, 2024
Update so the requriment follows the mets schema Closes #101 Closes #102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a bug that needs to be investigated and handled
Projects
None yet
Development

No branches or pull requests

2 participants