You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Robert Leland <le...@speakeasy.net> on 2004/06/09 03:07:55 UTC

Re: cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator validator-bsf.xml

> -----Original Message-----
> From: Ted Husted [mailto:husted@apache.org]
> Sent: Tuesday, June 8, 2004 04:05 PM
> To: 'Jakarta Commons Developers List'
> Subject: Re: cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator validator-bsf.xml
> 
> Something like a contrib folder is fine as a whiteboard. But it not a practical way to distribute useful code. Unless the contrib folder is released, the vast majority of teams cannot use it.  We'd really need a second Commons Validator distribution, dependant on the first. 
> 
> I'll reverse the patches, but that's going to consume the time I had set aside to complete the release. I'm away most of next week, so it looks like we may be stalled for another fortnight :(


The Original plan was to release the VALIDATOR_1_1_2_BRANCH and not the head. This is simply because HEAD contained the 'extends' syntax for validator a nd other higher risk changes. 

-Rob 

> 
> -Ted.
> 
> 
> On Tue, 08 Jun 2004 08:45:27 -0700 (PDT), David Graham wrote:
> > I thought we agreed to add BSF and JXPath validators to a contrib
> > directory so we wouldn't bloat the dependencies needed to
> > distribute the core validator?  I'm -1 on adding dependencies in
> > the core distro.
> >
> > David
> >
> >
> > --- husted@apache.org wrote:
> >> husted      2004/06/08 07:53:12
> >>
> >>
> >> Added:       validator/src/test/org/apache/commons/validator
> >> validator-bsf.xml Log: Apply #29205 "Add BSFValidator", submitted
> >> by Don Brown.
> >>
> >> Revision  Changes    Path
> >> 1.1
> >>
> >>
> > jakarta-
> > commons/validator/src/test/org/apache/commons/validator/validator-
> > bsf.xml
> >
> >>
> >> Index: validator-bsf.xml
> >> =================================================================== <!
> >> DOCTYPE form-validation PUBLIC
> >> "-//Apache Software Foundation//DTD Commons Validator Rules
> >> Configuration 1.1//EN"
> >> "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
> >>
> >>
> >> <form-validation>
> >> <global>
> >> <validator name="bsf"
> >> classname="org.apache.commons.validator.BSFValidator"
> >> method="isValid"
> >>
> >> methodParams="java.lang.Object,org.apache.commons.validator.Field" msg
> >> =""/> </global> <formset> <form name="bsfForm"> <field
> >> property="value" depends="bsf"> <var> <var-name>eval</var-name>
> >> <var-value>value.equals("foo")</var-value> </var> </field>
> >> </form> <form name="bsfForm-numeric"> <field property="value"
> >> depends="bsf"> <var> <var-name>eval</var-name>
> >> <var-value>Integer.parseInt(value)>0 &amp;&amp;
> >> Integer.parseInt(value)&lt;100</var-value> </var> </field>
> >> </form> <form name="bsfForm-nested"> <field property="object"
> >> depends="bsf"> <var> <var-name>eval</var-name>
> >> <var-value>value.value.equals("foo")</var-value> </var> </field>
> >> </form> </formset> </form-validation>
> >>
> >>
> >> ------------------------------------------------------------------
> >> --- To unsubscribe, e-mail: commons-dev-
> >> unsubscribe@jakarta.apache.org For additional commands, e-mail:
> >> commons-dev-help@jakarta.apache.org
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Friends.  Fun.  Try the all-new Yahoo! Messenger.
> > http://messenger.yahoo.com/
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: commons-dev-
> > unsubscribe@jakarta.apache.org For additional commands, e-mail:
> > commons-dev-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org