It works! Great, thanks a lot

Tanja

-----Ursprungliche Nachricht-----
Von: Arnaud Vandyck [mailto:[EMAIL PROTECTED] Im Auftrag von Arnaud Vandyck
Gesendet: Donnerstag, 14. Oktober 2004 10:18
An: Struts Users Mailing List
Betreff: Re: Validator: Using "<" and ">" in a mask


Thu, 14 Oct 2004 08:13:21 +0200, 
"Niebert, Tanja" <[EMAIL PROTECTED]> wrote: 

> Hi,
>
> I want to create a mask validation where I allow alphanumeric 
> characters plus the "<" and ">" signs. Using "\<" and "\>" doesn't 
> work. I get an exception saying, that the XML-File is not well formed.
>
> This is how my expression looks like:
>
> <var>
>      <var-name>mask</var-name>
>      <var-value>^[0-9a-zA-Z\<\>]*$</var-value>

This is not valide xml, maybe you can try:

 <var-value>^[0-9a-zA-Z&lt;&gt;]*$</var-value>

> </var>
>
> Thanks for your help

Hope this will help, I did not test it.

-- 
Arnaud Vandyck
http://fosdem.org/
Free and Open Source Developers' European Meeting
February 26-27 2005,
Bruxelles, Belgium

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to