Re: Validator Plugin and validator-rules.xml

2005-11-12 Thread Laurie Harper
Wendy Smoak wrote: How many people modify validator-rules.xml vs. adding custom rules to validation.xml (or an additional file)? While working on the "Struts Blank" archetype for Maven 2, it became apparent that we have an un-Maven-like situation with validator-rules.xml. It lives in core and h

Re: [validator-plugin] MASK_VALIDATOR

2004-06-01 Thread David Graham
--- Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi there, > > what is the reason, the mask need to start with "^" > and end with "$" ? Because Commons Validator uses ORO as the regex engine. I believe when we move to standard Java 1.4 regexs you won't need the ^ and $. David > > --> >

Re: [validator-plugin] MASK_VALIDATOR

2004-06-01 Thread Alvin Townsend Jr.
Hi Matthias, I believe that the ^ and $ in a regular expression pattern are used to symbolize the start and end of the evaluated string. Thus: ^a means the string must begin with an a, a$ means the string must end with an a. Struts may handle regex differently, but if you remove them, it will o

Re: Validator Plugin

2004-04-06 Thread Matt Bathje
- Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 06, 2004 11:52 AM Subject: Re: Validator Plugin > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Quoting Robert L

Re: Validator Plugin

2004-04-06 Thread Martin Cooper
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Quoting Robert Leland <[EMAIL PROTECTED]>: > > > [EMAIL PROTECTED] wrote: > > > > > > > >One issue with this is to make sure the validator DTD is up to date. > > > > > >The reason I say this is because the DTD appears to be missing the

Re: Validator Plugin

2004-04-06 Thread mpb
Quoting Robert Leland <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > > > >One issue with this is to make sure the validator DTD is up to date. > > > >The reason I say this is because the DTD appears to be missing the > var-jstype > >sub-element of the var element. Even the 1.2.0 version of

Re: Validator Plugin

2004-04-05 Thread Robert Leland
[EMAIL PROTECTED] wrote: One issue with this is to make sure the validator DTD is up to date. The reason I say this is because the DTD appears to be missing the var-jstype sub-element of the var element. Even the 1.2.0 version of the DTD on CVS is missing this. I assume it is a valid element,

Re: Validator Plugin

2004-04-05 Thread Robert Leland
[EMAIL PROTECTED] wrote: One issue with this is to make sure the validator DTD is up to date. The reason I say this is because the DTD appears to be missing the var-jstype sub-element of the var element. Even the 1.2.0 version of the DTD on CVS is missing this. I assume it is a valid element,

Re: Validator Plugin

2004-04-05 Thread mpb
Quoting "Craig R. McClanahan" <[EMAIL PROTECTED]>: > David Graham wrote: > > >--- Robert Leland <[EMAIL PROTECTED]> wrote: > > > > > >>Currently the Validator PlugIn doesnâEUR^(TM)t validate the XML file. I > have > >>updated it to remove the deprecated methods and to validate the XML > >>files

Re: Validator Plugin

2004-04-04 Thread Craig R. McClanahan
David Graham wrote: --- Robert Leland <[EMAIL PROTECTED]> wrote: Currently the Validator PlugIn doesnâEUR^(TM)t validate the XML file. I have updated it to remove the deprecated methods and to validate the XML files. Here is the question: Currently, the validator plugin fails by logging a messa

Re: Validator Plugin

2004-04-03 Thread [EMAIL PROTECTED]
> -Original Message- > From: Martin Cooper [mailto:[EMAIL PROTECTED] > > I agree that we should throw the exception. IMO, it should fail fast and > > loud at startup if you've misconfigured the validations. > > I know this change has been checked in already, but wanted to add my +1 > any

Re: Validator Plugin

2004-04-02 Thread Martin Cooper
Wow. I don't know what happened to my previous message. What showed up wasn't anything like what I sent, so I'm sending again (using a different mail client). See below. On Fri, 2 Apr 2004, David Graham wrote: > > --- Robert Leland <[EMAIL PROTECTED]> wrote: > > Currently the Validator PlugIn doe

RE: Validator Plugin

2004-04-02 Thread Martin Cooper
> -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Friday, April 02, 2004 5:39 AM > To: Struts Developers List > Subject: Re: Validator Plugin > > > > --- Robert Leland <[EMAIL PROTECTED]> wrote: > >

Re: Validator Plugin

2004-04-02 Thread James Mitchell
On Fri, 2 Apr 2004, David Graham wrote: > > --- Robert Leland <[EMAIL PROTECTED]> wrote: > > Currently the Validator PlugIn doesn’t validate the XML file. I have > > updated it to remove the deprecated methods and to validate the XML > > files. > > > > Here is the question: Currently, the validato

Re: Validator Plugin

2004-04-02 Thread David Graham
--- Robert Leland <[EMAIL PROTECTED]> wrote: > Currently the Validator PlugIn doesn’t validate the XML file. I have > updated it to remove the deprecated methods and to validate the XML > files. > > Here is the question: Currently, the validator plugin fails by logging a > message but doesn’t tak