[Ovillo] Validando XHTML

Ardilla Roja ardillaroja en gmail.com
Dom Mayo 11 20:06:38 UTC 2008


Saludos,

Estoy trabajando en mi nuevo sitio, pero me he topado con un
problemita de validacion, los involucrados son estos:

La forma de login de Project Pier (http://www.projectpier.org/) que he
instalado en mi sitio:

<form action="misitio.com" method="post">
<fieldset>
<legend title="Forma para login de clientes">Clientes</legend>
<label for="login[username]">Usuario:</label> <input type="text"
name="login[username]" value="" />
<label for="login[password]">Contrase&ntilde;a:</label> <input
type="password" name="login[password]" value="" />
<button class="submit">Entrar &raquo;</button>
</fieldset>
</form>

ahora, al tratar de validad el xhtml, me da esto:

Line 37, Column 24: character "[" is not allowed in the value of
attribute "for".
   <label for="login[username]">Usuario:</label> <input type="text" name="lo

It is possible that you violated the naming convention for this
attribute. For example, id and name attributes must begin with a
letter, not a digit.

Ya trate usar la entidad para el [ , pero no me funciona...

Alguna idea de si puedo validar eso?....

-- 
Ardilla Roja
La Trinchera // ardillaroja.com.mx


Más información sobre la lista de distribución Ovillo