Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58925 invoked from network); 11 May 2004 11:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 May 2004 11:15:22 -0000 Received: (qmail 76544 invoked by uid 500); 11 May 2004 11:16:21 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76433 invoked by uid 500); 11 May 2004 11:16:20 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 76416 invoked by uid 98); 11 May 2004 11:16:20 -0000 Received: from DHohls@csir.co.za by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(146.64.10.166):. Processed in 1.524866 secs); 11 May 2004 11:16:20 -0000 X-Qmail-Scanner-Mail-From: DHohls@csir.co.za via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(146.64.10.166):. Processed in 1.524866 secs) Received: from unknown (HELO wabe.csir.co.za) (146.64.10.166) by hermes.apache.org with SMTP; 11 May 2004 11:16:18 -0000 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.12.8/8.12.5) with ESMTP id i4BBB24s011918 for ; Tue, 11 May 2004 13:11:05 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Tue, 11 May 2004 13:11:02 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Tue, 11 May 2004 13:10:49 +0200 From: "Derek Hohls" To: Subject: Forms Validation [Was Re: is it a cform field widget bug?] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-MailScanner-Information: Please contact sys-admin at csir.co.za for more information X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=0, required 8, QUOTED_EMAIL_TEXT -0.83, SPAM_PHRASE_02_03 0.76) X-MailScanner-From: dhohls@csir.co.za X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Um, I think you're mixing up different kinds of validation here - the schema part is simply to check that you have a well constructed XML file that adheres to a given grammar (in terms of what is or is not allowed, and what must be there or what is optional). Typically you would do this type of validation *before* releasing an application, although you could be doing it at run-time as well, see: http://www.xml.com/lpt/a/2003/11/12/cocoon-eai.html The other types of validation refer more to data that is created by users during the running of the application (and yes, sometimes the validation on the form is "duplicating" the validation that might otherwise be done by the database - simply to make things easier and less frustrating for the end user). I am not sure what a "central validation management" might cover? Derek >>> johnson@soho.club.tw 2004/05/11 12:52:33 PM >>> A schema just can do basic validation only! In form defination , we set validate once, custom validation the second,DBMS the third. why we need so many and duplicated validation? Is there and centra validation management skill? Best Regards johnson ----- Original Message ----- From: "Derek Hohls" To: Sent: Tuesday, May 11, 2004 6:21 PM Subject: Re: is it a cform field widget bug? > Well, maybe its just me, but I think *any* public XML > document - particularly one thats going to be widely used > (as we hope CForms is!) needs a Schema so it can > be validated. > > >>> johnson@soho.club.tw 2004/05/11 11:44:29 AM >>> > no schema in it,does cform need schema? > > best regards > > johnson > > > ----- Original Message ----- > From: "Derek Hohls" > To: > Sent: Tuesday, May 11, 2004 4:04 PM > Subject: Re: is it a cform field widget bug? > > > > Hmm - a check with a schema would pick this up quickly - > > does one exist? > > > > >>> mpo@outerthought.org 2004/05/11 10:01:23 AM >>> > > > > > > Johnson wrote: > > > Hi! > > > > > > I use field widget to represent a boolean field , like below > > > > > > > > > dc: > > > > > > > > > > > > > > > > key="single">single > > > > > > > > ^^^^ > > > > you might want to try with 'true' in stead > > > > -marc= > > > > > > key="double">double > > > > > > > > > > > > > > > when I run the form,the source is below. > > > > > > > > > > > > both the value is false! > > > > > > is it a bug? > > > > > > Best Regards > > > > > > Johnson Hsu > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > > > > -- > > Marc Portier http://outerthought.org/ > > Outerthought - Open Source, Java & XML Competence Support Center > > Read my weblog at http://blogs.cocoondev.org/mpo/ > > mpo@outerthought.org mpo@apache.org > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > MailScanner thanks transtec Computers for their support. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > For additional commands, e-mail: users-help@cocoon.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org