Longueur des trous
authorClaire MOULS <claire.mouls@prismallia.fr>
mar., 19 mai 2015 18:32:20 +0200
changeset 381 429101cc5d26
parent 380 17e61e935b8b
child 382 156ce0e2f943
Longueur des trous
RelaxNG/publiquiz.rnc
--- a/RelaxNG/publiquiz.rnc	mar. mai 19 17:52:15 2015 +0200
+++ b/RelaxNG/publiquiz.rnc	mar. mai 19 18:32:20 2015 +0200
@@ -141,6 +141,7 @@
 blanks-fill.attributes =
    success.attribute?
  & strict.attribute?
+ & long.attribute?
 blanks-select.attributes =
    success.attribute?
  & multiple.attribute?
@@ -148,6 +149,7 @@
 strict.attribute = attribute strict { xsd:boolean }
 multiple.attribute = attribute multiple { xsd:boolean }
 noshuffle.attribute = attribute no-shuffle { xsd:boolean }
+long.attribute = attribute long { xsd:positiveInteger }
 
 blanks-fill.content =
    (blanks.block+ | blanks.section+)
@@ -657,7 +659,10 @@
 blank = element blank { blank.attributes, blank.content }
 
 blank.attributes =
-   function.attribute?
+   area.attribute?
+ & long.attribute?
+ & function.attribute?
+area.attribute = attribute area { xsd:boolean }
 function.attribute = attribute function { 'lowercase' | 'uppercase' }
 
 blank.content =