Use &amp instead of & in validation.xml file.




                                                                           
             Romu                                                          
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       "Struts Users Mailing List"         
             08/11/2006 03:53          <user@struts.apache.org>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         problem of the "&" character in     
               "Struts Users           validation xml                      
               Mailing List"                                               
             <[EMAIL PROTECTED]                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




hey

I  list all the characaters accepted in a <html:text > balise .

the current list which works is :

<constant>
            <constant-name>enseigneCommerciale</constant-name>
            <constant-value>^[A-Z0-9,/"';%?!.()\-\s]*$</constant-value>
</constant>

the problem is when i want to add the "&" character .

it says the entity name should be followed by the enity reference .

 think it's xml rules .
 anyone has tried it yet , i mean to define entity in the
 validation.xmlfile ?

thanks .



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

Reply via email to