On 02.06.2004 21:53, Marc Portier wrote:

nope,
the validation should be nested to the datatype:

<wd:datatype base="string">
  <wd:validation>
    <wd:length exact='4'/>
  </wd:validation>
</wd:datatype>

Should it not be besides datatype:

<wd:datatype base="string"/>
<wd:validation>
  <wd:length exact='4'/>
</wd:validation>

This has been different some time ago, but the new way works in both woody and forms block:
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/woody/samples/forms/form1.xml?annotate=1.25#55


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to