music-encoding / encoding-tools

Tools for working with or transforming MEI Encodings
Educational Community License v2.0
41 stars 32 forks source link

tools: v5 transformation review of mei40To50.xsl #31

Closed bwbohl closed 1 year ago

bwbohl commented 1 year ago

This PR adds some changes that were introduced later or missed in the first place in #30 :

And some improvements:

musicEnfanthen commented 1 year ago

This probably needs #30 first, right? Can you have a look at the open suggestions there, please, @bwbohl ?

bwbohl commented 1 year ago

Can you have a look at the open suggestions there, please, @bwbohl ?

done

This probably needs #30 first, right?

Probably not, it targets the add-v5-transform branch. So first merge this, then test v5-transform (or ping me for testing it). Then we can merge v5-transform after having created a v4 release.

bwbohl commented 1 year ago

ping @kepper

musicEnfanthen commented 1 year ago

Checklist for inclusion of changes in v5.0

Removed elements

bwbohl commented 1 year ago

@musicEnfanthen there are so many things checked in the above list are you working on some modifications?

musicEnfanthen commented 1 year ago

The checked things are already included in your version. I will add some suggestions to cover the missing cases.

musicEnfanthen commented 1 year ago

I will add some suggestions to cover the missing cases.

You've been much faster, thanks :)

musicEnfanthen commented 1 year ago

Thank you @bwbohl. I checked all the transformations for the section "MATCH TEMPLATES FOR CHANGES BETWEEN MEI v4 and MEI v5" with unit tests (using XSpec) and everything transforms great.

Screenshot 2023-07-28 130512

In case, anyone is interested in the XSpec file:

mei40To50_test.xspec ```xml 1234567890 1234567890 Test header 1 should have func=first Test header 2 should have func=all Test header 2 should have func=all Test header 1 should have func=first Test header 2 should have func=all Test header 1 should have func=first Test header 1 should have func=first Test header 2 should have func=all Test header 1 should have func=first Test header 2 should have func=all Test footer 1 should have func=first Test footer 2 should have func=all Test footer 2 should have func=all Test footer 1 should have func=first Test footer 2 should have func=all Test footer 1 should have func=first Test footer 1 should have func=first Test footer 2 should have func=all Test footer 1 should have func=first Test footer 2 should have func=all Test title Test title Test title Test title Test title Test title Test title Test title Test title Test title ```
bwbohl commented 1 year ago

Thank you @bwbohl. I checked all the transformations for the section "MATCH TEMPLATES FOR CHANGES BETWEEN MEI v4 and MEI v5" with unit tests (using XSpec) and everything transforms great.

Screenshot 2023-07-28 130512

In case, anyone is interested in the XSpec file:

mei40To50_test.xspec

this is absolutely great!