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

24 lines
749 B
XML
Raw Normal View History

2020-12-26 15:15:51 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2020-12-26 15:15:51 +01:00
<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">
2020-12-26 15:15:51 +01:00
<param type="variable" optional="True">var</param>
<target>mode_conteneur_actif</target>
2020-12-26 15:15:51 +01:00
</check>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->