bartneck / swiML

A project to formalise swimming programs using XML
MIT License
2 stars 2 forks source link

Stroke within <repetition> #5

Closed bartneck closed 1 year ago

bartneck commented 1 year ago

Some strokes, such as IM Overlap and IM Order only make sense within a <repetition>. Modify swiML.xsd with an assertion that validates that all such strokes only occur within a repetition. In the folder bookExamples, the file strokeRepetition.xml has valid and invalid test cases.