Foros del Web » Creando para Internet » HTML »

Error de XHTML 1.0 Transitional en W3C

Estas en el tema de Error de XHTML 1.0 Transitional en W3C en el foro de HTML en Foros del Web. Hola a todos. Estoy haciendo una web en asp.net y cuando la valido me dice que esta todo correcto pero tiene un Passed, 1 warning(s) ...
  #1 (permalink)  
Antiguo 26/12/2009, 09:02
Avatar de Ascariz  
Fecha de Ingreso: noviembre-2005
Mensajes: 403
Antigüedad: 18 años, 5 meses
Puntos: 0
Pregunta Error de XHTML 1.0 Transitional en W3C

Hola a todos.

Estoy haciendo una web en asp.net y cuando la valido me dice que esta todo correcto pero tiene un Passed, 1 warning(s)

Me dice que esta en:

Encoding: utf-8
Doctype: XHTML 1.0 Transitional
Root Element: html
Root Namespace: http://www.w3.org/1999/xhtml

Warning:
The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.

y los metas que tengo son estos:
<!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">
<meta name="lang" content="es" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="reply-to" content="DATO" />
<meta name="title" content="DATO"/>
<meta name="googlebot" content="index follow" />
<meta name="robots" content="all" />
<meta name="distribution" content="global" />
<meta name="revisit-alter" content="7 days" />

POR QUE PUEDE SER????
__________________
Desarrollador & Diseñador Web
Diseño de paginas web en Madrid
  #2 (permalink)  
Antiguo 26/12/2009, 13:48
Avatar de jomaruro
Colaborador
 
Fecha de Ingreso: junio-2002
Ubicación: Naboo
Mensajes: 5.442
Antigüedad: 21 años, 9 meses
Puntos: 361
Respuesta: Error de XHTML 1.0 Transitional en W3C

Hola:

Cita:
Iniciado por Ascariz Ver Mensaje
The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.
"La codificación de caracteres especificado en el encabezado HTTP (UTF-8) es diferente del valor en el elemento <meta> (ISO-8859-1).Voy a utilizar el valor de la cabecera HTTP (UTF-8) para esta validación.

Cambia la siguiente <meta>:

Cita:
Iniciado por Ascariz Ver Mensaje
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
por esta otra:

Código:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
a ver si así ya no te da error.

Saludos.

  #3 (permalink)  
Antiguo 20/02/2010, 14:08
 
Fecha de Ingreso: septiembre-2009
Mensajes: 1
Antigüedad: 14 años, 7 meses
Puntos: 0
Respuesta: Error de XHTML 1.0 Transitional en W3C

Hola, yo tengo un problema similar, la diferencia es que a mi me lo tira en el document type.
paso a copiar el error:

DOCTYPE Override in effect!

The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Transitional" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.

Alguien puede decirme WTF es el problema?
Gracias!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 05:49.