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

Fixed: Make customizations valid #1183

Merged
merged 9 commits into from
Jun 5, 2023
Merged

Conversation

ahankinson
Copy link
Member

This PR follows on from #1171 and fixes errors in the customizations.

It should be merged after #1171, since it includes the changes from that PR.

The commits in this PR are separated by the individual changes and the commit message contains a short description on what the problem was.

kepper and others added 8 commits May 26, 2023 23:30
No need to remove these classes since they were defined on the CMN
module, and it was not included.
The CMN module was not included, so model classes did not need to be deleted.

Also fixed the name of an attribute class.
classSpecs are not valid in the "include"; only elementSpec.
The composer, arranger, and lyricist elements are defined in shared, not header.
these classSpec are commented out, so it was commented out here.
@github-actions github-actions bot added Component: Customizations changes to customizations/**/* (assigned automatically) Component: Validation changes to source/validation/* (assigned automatically) labels May 30, 2023
@ahankinson ahankinson requested review from kepper, lpugin and a team May 30, 2023 04:05
@ahankinson ahankinson added Priority: High Status: Needs Review Type: Bugfix indicates that a fix for a bug has been provided labels May 30, 2023
@ahankinson ahankinson added this to the MEI 5.0 milestone May 30, 2023
kepper
kepper previously approved these changes May 30, 2023
Copy link
Member

@kepper kepper left a comment

Choose a reason for hiding this comment

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

In general, all fine. I would suggest to also give credit to @ahankinson, though…

customizations/mei-basic.xml Show resolved Hide resolved
Copy link
Member

@bwbohl bwbohl left a comment

Choose a reason for hiding this comment

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

Still got one validation error in mi-CMN.xml, at least on my machine.
System-ID: /Volumes/VCS/GitHub/bwbohl/music-encoding/customizations/mei-CMN.xml
Haupt-Validierungsdatei: /Volumes/VCS/GitHub/bwbohl/music-encoding/customizations/mei-CMN.xml
Schema: /Volumes/VCS/GitHub/bwbohl/music-encoding/source/validation/mei-customizations.sch
Programmname: ISO Schematron
Fehlerlevel: error
Beschreibung: There is no model class with name "model.scorePart.mensuralAndNeumes".
Anfang: 107:26

@bwbohl bwbohl assigned bwbohl and ahankinson and unassigned bwbohl May 30, 2023
The model.scorePart.mensuralAndNeumes class is commented out in the spec, so it's commented out here.
@ahankinson
Copy link
Member Author

@bwbohl fixed.

@bwbohl
Copy link
Member

bwbohl commented May 30, 2023

thx @ahankinson

@bwbohl bwbohl requested a review from kepper May 30, 2023 11:13
@ahankinson ahankinson requested a review from a team June 3, 2023 22:24
@bwbohl
Copy link
Member

bwbohl commented Jun 5, 2023

thx @rettinghaus!

@bwbohl bwbohl merged commit fa7fef6 into develop Jun 5, 2023
1 check passed
@bwbohl bwbohl deleted the fixed-validate-customizations branch June 5, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Customizations changes to customizations/**/* (assigned automatically) Component: Validation changes to source/validation/* (assigned automatically) Priority: High Type: Bugfix indicates that a fix for a bug has been provided
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants