A type and range constraint on numbers. Syntax is:
<column [type="integer"] [min="min"] [max="max"]/>
where you donnot need to specify both min and max.
Or:
<integer|number [min="min-value"] [max="max-value"] [message="error-message"] />
Note: this constraint is not meant to replace an internal SQL constraint in the database,
since it cannot be made sure that complex updates will respect this constraint.
author: Claude Brisson |