bartneck / swiML

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

Intensity within <repetition> #6

Closed bartneck closed 1 year ago

bartneck commented 1 year ago

The <intensity><dynamicAcross>true</dynamicAcross></intensity> only makes sense within a <repetition> element. You proposed a new model of <intensity> that is split between <repetition> and <instruction>.

We need an assertion that intensity is always uniquely defined. We have to avoid that there is intensity in the repetition element and in the nested instruction element.