rougail/tests/dictionaries/10check_base_target_optional/00-base.xml

14 lines
360 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<variable name="my_variable"/>
</variables>
<constraints>
<check name="valid_entier">
<param name="mini" type="number">0</param>
<param name="maxi" type="number">100</param>
<target optional="True">int</target>
</check>
</constraints>
</rougail>