[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]*$

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]*$

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
Mailing List user@struts.apache.org 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 characters like Ñ

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
@struts.apache.org 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 characters like Ñ [ UNICODE = \u00d1 ] for names

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

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 =