You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kenneth Petersen <Co...@epetersen.dk> on 2001/10/24 10:40:07 UTC

xml-schema / validate forms

Hi all!

I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms?

The only problem I can see in using xml-schemas is that it does not support I18N. On the other hand neither does FormValidatorAction. The lack of I18N can be solved with xml-schemas when generation the xml-file from parameters from the Request.

If it is already possible to use xml-schemas in Cocoon2, I would very much like to know.


Best Regards
KP

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Struts And Cocoon

Posted by Harden ZHU <ha...@sympatico.ca>.
Hi,

I am new to cocoon. Is there possible to intergate cocoon and strust
together?

thanks

Harden


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: xml-schema / validate forms

Posted by Martin Man <Ma...@seznam.cz>.
On Wed, Oct 24, 2001 at 10:40:07AM +0200, Kenneth Petersen wrote:
> Hi all!
> 
> I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms?
> 
the effort was put there (by me as the author and others) becuse at the time
of writing I was not that failiar with XML schema, and actually I never
thought about it, ..., but as I'm actually almost rewriting the validator I'm
immediately going to take a look at it ang possibly give it a chance (in case
it will save me coding and will make the things simpler)...


> The only problem I can see in using xml-schemas is that it does not support I18N. On the other hand neither does FormValidatorAction. The lack of I18N can be solved with xml-schemas when generation the xml-file from parameters from the Request.
> 
> If it is already possible to use xml-schemas in Cocoon2, I would very much like to know.
> 
> 
> Best Regards
> KP

thanx,
martin

p.s. you might check archives for recent discussion about "[RT] New Validator
Infrastructure" or how it was called :)

-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223
http://mman.dyndns.org/mman.gpg

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>