diff -r 58b2704e601a -r 61f23b379b5d RelaxNG/publiquiz.rnc --- a/RelaxNG/publiquiz.rnc mer. sept. 05 17:18:31 2018 +0200 +++ b/RelaxNG/publiquiz.rnc mer. sept. 05 17:54:38 2018 +0200 @@ -281,8 +281,8 @@ & orientation.attribute? sort.content = + sort.intruders?, comparison?, - sort.intruders?, sort.item, sort.item+ @@ -871,12 +871,7 @@ inlines | (p, help?, answer?) -# ~~~~~~~~~~~~~~~~~~~~~~~~ comparison, sort.item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# ~~~~~~ comparison -comparison = element comparison { comparison.content } - -comparison.content = inlines +# ~~~~~~~~~~~~~~~~~~~~ sort.intruders, comparison, sort.item ~~~~~~~~~~~~~~~~~~ # ~~~~~~~ sort.intruders sort.intruders = element intruders { sort.intruders.content } @@ -884,6 +879,11 @@ sort.intruders.content = sort.item+ +# ~~~~~~ comparison +comparison = element comparison { comparison.content } + +comparison.content = inlines + # ~~~~~~ sort.item sort.item = element item { sort.item.attributes, sort.item.content }