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
--- 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
>
> -->
>
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
- 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
<[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
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
[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,
[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,
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
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
> -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
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
> -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:
> >
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
--- 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
15 matches
Mail list logo