struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: problem with regex validator
Date Tue, 19 Mar 2013 11:45:39 GMT
Because the regex is in an XML file? Which has nothing to do with DTD
syntax.
 On Mar 19, 2013 7:43 AM, "Muralidhar Yaragalla" <java.yaragalla@gmail.com>
wrote:

> Basically i want use regular expressions in validators. xml experience is
> fine but why sould i learn dtd syntax to write simple regex for regex
> validator? Anyways the suggested regex with cdata by another user is also
> not working. so any help on writing regex for regex validator which is
> equalent to "[^<>]" this , (which is also valid for most of the regex
> engines including java.) will be appreciated. Thanks in advance.
>
>
> On Tue, Mar 19, 2013 at 4:59 PM, Lukasz Lenart <lukaszlenart@apache.org
> >wrote:
>
> > 2013/3/19 Muralidhar Yaragalla <java.yaragalla@gmail.com>:
> > > I tried with what you suggested. This gives different problem. I don't
> > > think we should think about cdata and all. regex means it should be
> just
> > > regex.
> >
> > You should think about taking some XML experience - CDATA has nothing
> > to do with regex.
> >
> >
> > Regards
> > --
> > Ɓukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Thanks And Regards,
> *Muralidhar Yaragalla.
> *
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message