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

Fix/934 #992

Merged
merged 3 commits into from
Sep 27, 2022
Merged

Fix/934 #992

merged 3 commits into from
Sep 27, 2022

Conversation

bwbohl
Copy link
Member

@bwbohl bwbohl commented Sep 22, 2022

As <exhibHist>, <treatHist> and <treatSched> have been remodelled after <provenance> in #911, the corresponding Schematron rule to report an error in work and expression contexts had to be updated. Moreover, in #934, we agreed also to apply this rule to the manifestation context if the manifestation is not a singleton.
This PR applies the necessary changes.

As `<exhibHist>`, `<treatHist>` and `<treatSched>` have been remodelled after `<provenance>` in music-encoding#911, the corresponding Schematron rule to report an error in work and expression contexts had to be updated. Moreover, in music-encoding#934, we agreed also to apply this rule to the manifestation context if the manifestation is not a singleton.
This commit applies the necessary changes.
@github-actions github-actions bot added the Component: Core Schema changes to source/modules/* (assigned automatically) label Sep 22, 2022
@bwbohl bwbohl added Status: Needs Review Type: Bugfix indicates that a fix for a bug has been provided and removed Component: Core Schema changes to source/modules/* (assigned automatically) labels Sep 22, 2022
@bwbohl bwbohl linked an issue Sep 22, 2022 that may be closed by this pull request
rettinghaus
rettinghaus previously approved these changes Sep 22, 2022
Copy link
Member

@rettinghaus rettinghaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

Copy link
Contributor

@doerners doerners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The schematron rule looks find to me, thanks @bwbohl! However, I noticed two things I think should be changed within the description:

  1. Not all elements affected by the schematron rule are listed within the description. I think it would be good to list all of them.
  2. My impression was that expression and manifestation were mixed up in the second half of the description – if I'm not totally mistaken there is no singleton expression.

The wording I provided is just a suggestion and I'm not set that it has to stay like this :)

source/modules/MEI.header.xml Outdated Show resolved Hide resolved
Co-authored-by: Sophia Dörner <38356908+doerners@users.noreply.github.com>
@github-actions github-actions bot added the Component: Core Schema changes to source/modules/* (assigned automatically) label Sep 27, 2022
@bwbohl
Copy link
Member Author

bwbohl commented Sep 27, 2022

thanks for the valuable contribution @doerners ! Merged it, If you would be so kind as to update your review ;-)

Copy link
Contributor

@doerners doerners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bwbohl looks great!

Copy link
Member

@rettinghaus rettinghaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better!

@bwbohl bwbohl merged commit b7e479c into music-encoding:develop Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Schema changes to source/modules/* (assigned automatically) Type: Bugfix indicates that a fix for a bug has been provided
Projects
No open projects
ODD Meetings
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

edit/update schematron rule in <history>
4 participants