bartneck / swiML

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

SegmentName #7

Closed bartneck closed 1 year ago

bartneck commented 1 year ago

The <segmentName> element can currently occur within any <repetition> or <instruction>. This makes no sense. It should only be allowed at the top level, right under the first element. In the folder bookExamples, the file segmentName.xml has valid and invalid test cases.

calloc262 commented 1 year ago

had it working but now the assertion doesn't work again. it works when testing in the xml file with Xpath builder but not when validating against actual xsd file