[izpack-devel] bug in RegularExpressionValidator?

Dennis Reil Dennis.Reil at reddot.de
Mon Apr 23 08:13:55 CEST 2007


This should be fixed in trunk.


Regards,
   Dennis

-----Ursprüngliche Nachricht-----
Von: Hans Aikema [mailto:aikebah at aikebah.net] 
Gesendet: Freitag, 20. April 2007 21:30
An: elmar at grom.net; izpack-devel at lists.berlios.de
Cc: Dennis Reil
Betreff: Re: [izpack-devel] bug in RegularExpressionValidator?

Dennis, Elmar,

Just noticed this thread in my unread izpack-devel mail. Is anyone 
already working on it? If not, I'm willing to give it a try.

regards,
Hans Aikema

Elmar Grom wrote:
> Hi Dennis,
>
> I guess my views in such matters are well known. Don't use additional
> libraries if there is no need to, i.e. the functionality exists in the core
> API. Therefore if a library is buggy and someone is willing to do the work
> and move the code over to use the core API I am all for it.
>
> 	Elmar
>
>
> -----Original Message-----
> From: izpack-devel-bounces at lists.berlios.de
> [mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Dennis Reil
> Sent: Thursday, February 01, 2007 3:15 AM
> To: izpack-devel at lists.berlios.de
> Subject: [izpack-devel] bug in RegularExpressionValidator?
>
>
> Hi,
>
> I wanted to define a rule field, which should accept any character
> except # . & . So I defined to use the pattern [^#.&]* with the
> RegularExpressionValidator. It always returned true, regardless of the
> input given.
> I looked at the regex doku at jakarta, which stated that this pattern is
> valid. Seems to be bug.
>
> I would modify the validator to use java.util.regex for validation,
> which correctly evaluates the pattern. Any reason, why I shouldn't do
> that?
>
>
> Regards,
>   Dennis
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
>   




More information about the izpack-devel mailing list