Problema ao validar página ASP
Pessoal,
Tive alguns erros exibidos ao tentar validar minha página, mas alguns não sei como poderia resolver...
Erros:
1º
XML Parsing Error: EntityRef: expecting ';'
… width="256"><div align="center"><a href="java script:open_album('../fotos/fot…
ASP
<tr> <td width="256"><div align="center"><a href="java script:open_album('../fotos/fotos.asp?album=<%=rs("id")%>');"><img src="../includes/thumbs.asp?img=../admin/upload/eventos/<%=rs("pasta_imagem")%>/<%=rs("thumb")%>.jpg&maxlarg=250&maxalt=150" border="0" class="ftborda" /></a></div></td>
</tr>
2º
reference to external entity in attribute value
This is generally the sign of an ampersand that was not properly escaped for inclusion in an attribute, in a href for example. You will need to escape all instances of '&' into '&'.
ASP
8230;upload/eventos/carna/capa.jpg&maxlarg=250&maxalt=150" border="0" class="ftbor...
Como é que eu vou fazer ele entender que isso não é para exibição do "&" na página? ¬¬
3º
general entity X not defined and no default entity
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
general entity "maxlarg" not defined and no default entity
ASP
8230;/admin/upload/eventos/carna/capa.jpg&maxlarg=250&maxalt=150" border="0" class
Entre outros, mas o maior problema está se dando pelo uso do "*.jpg&maxlarg=250&maxalt=150"
Alguma forma de corrigir isto?
Discussão (2)
Carregando comentários...