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.yaraga...@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 <lukaszlen...@apache.org > >wrote: > > > 2013/3/19 Muralidhar Yaragalla <java.yaraga...@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-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > -- > Thanks And Regards, > *Muralidhar Yaragalla. > * >