>My proposal:
><TextInput>
>   <validator>
>       <validation:RegexTextValidator>
>           <validation:pattern><![CDATA[
>*(["'])(?:\\\1|.)*?\1*
>          ]]></validation:pattern>
>       <validation:RegexTextValidator>
>   </validator>
></TextInput>

This should work (the property element doesn't need the "validation" prefix):

<TextInput>
   <validator>
       <validation:RegexTextValidator>
           <pattern><![CDATA[
               *(["'])(?:\\\1|.)*?\1*
          ]]></pattern>
       <validation:RegexTextValidator>
   </validator>
</TextInput>

However, support for setting property values via sub-elements is still fairly 
new, so there may be some unforeseen issues. I'll try it once Noel's updates 
are in.

G


Reply via email to