Joerg Heinicke wrote:
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
sure looks like it, and I hope Mr. Zgodzinski reads up on the thread
'fraid I didn't check any code, but just the wiki page...
well, looks like you just convinced me to update that :-)
hm, who owes who a bear in this case? Carsten?
anyway thx and regards,
-marc=
--
Marc Portier http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]