rougail/tests/dictionaries/88valid_enum_variable_optional/00-base.xml

22 lines
623 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>a</value>
</variable>
<variable name="var" type="string" description="New variable" multi="True">
<value>a</value>
<value>b</value>
<value>c</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param type="variable" optional="True">var</param>
<target>mode_conteneur_actif</target>
</check>
</constraints>
</rougail>