Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
Here is the test case import java.io.*; import java.util.*; import org.apache.commons.validator.*; public class TestValidatorMask{ public static void main(String[] args) throws Exception { ValidatorResources vr = new ValidatorResources(getFormSetAsInputStream()); Form form = vr.getFor

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
> Hi Kishore, thanks for the tip... I tried what you suggested but it didn't > work... while googling for answers I read somewhere that including UNICODE > codes was only possible in *.properties files, not in *.XML ... from my > experience, that seems to be right... You are right. You have to dec

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
o: "Struts Users Mailing List" Sent: Monday, January 31, 2005 7:47 PM Subject: Re: [UNICODE characters in Mask validation rule] Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to validate "special" spanish

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
i" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, January 31, 2005 7:47 PM Subject: Re: [UNICODE characters in Mask validation rule] Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to vali

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
> Good evening. I'm a little stuck trying to create a global constant in > validation.xml that allows the mask rule to validate "special" spanish > characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and > so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]

[UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina
Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to validate "special" spanish characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]*$ Rega