Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/04/2010, 16:57
tai007
 
Fecha de Ingreso: abril-2010
Mensajes: 76
Antigüedad: 14 años
Puntos: 0
Ayuda con validación W3C

Buenas!

Necesito un poco de ayuda con este HTML sencillo... Necesito validarlo por W3C pero me da 3 errores...

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Documento sin título</title> 
</head> 
 
<body> 
<iframe src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe> 
</body> 
</html>
ERRORES:
Line 9, Column 72: cannot generate system identifier for general entity "p"
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (;). If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Line 9, Column 72: general entity "p" not defined and no default entity
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-
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.

Line 9, Column 73: reference not terminated by REFC delimiter
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-
If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.

Line 9, Column 73: reference to external entity in attribute value
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-
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 '&amp;'.

Line 9, Column 73: reference to entity "p" for which no system identifier could be generated
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-
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.

Line 9, Column 71: entity was defined here
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
Line 9, Column 72: EntityRef: expecting ';'
…src='http://www.aemet.es/es/eltiempo/prediccion/provincias?w=2&p=383'></iframe>
-


Gracias de antemano!