# HG changeset patch # User Patrick PIERRE # Date 1419346213 -3600 # Node ID 1dce0160fefd974c4e4bb7a50084d4dc46fa619e # Parent 73f2c224e7d78c4ae62bc85b483879ad88e62328 Ajout des intrus diff -r 73f2c224e7d7 -r 1dce0160fefd Data/Quiz/matching.xml --- a/Data/Quiz/matching.xml dim. déc. 21 15:15:05 2014 +0100 +++ b/Data/Quiz/matching.xml mar. déc. 23 15:50:13 2014 +0100 @@ -11,6 +11,9 @@ + + On mange comme des ogres. + On s'entend très bien. On s'entend comme chien et chat. diff -r 73f2c224e7d7 -r 1dce0160fefd RelaxNG/publiquiz.rnc --- a/RelaxNG/publiquiz.rnc dim. déc. 21 15:15:05 2014 +0100 +++ b/RelaxNG/publiquiz.rnc mar. déc. 23 15:50:13 2014 +0100 @@ -200,6 +200,7 @@ multiple.attribute? matching.content = + matching.intruders?, match, match+ @@ -515,8 +516,15 @@ blanks.intruders.content = blank+ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ match.item ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~~~~~~~~~~~~~~~~~ matching.intruders, match.item ~~~~~~~~~~~~~~~~~~~~~~ +# ~~~~~~~ matching.intruders +matching.intruders = element intruders { matching.intruders.content } + +matching.intruders.content = + match.item+ + +# ~~~~~~~ match.item match.item = element item { match.item.content } match.item.content =