Thanks for your answer Sylvain,
A boolean condition on the assert validator instead of a range validator suits me well, but to play the devil's advocate ;), what about more complex validations, such email ? No way for the moment ?
It would be very interesting !
<mode type="random-thoughts">
What about nested validators? Child validators would be checked only if the parent succeds.
</mode>
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
