Foros del Web » Creando para Internet » HTML »

Advertencia en Validacion xHTML

Estas en el tema de Advertencia en Validacion xHTML en el foro de HTML en Foros del Web. Hola amigos, tengo una web que estoy validando y me sale esta unica advertencia: Info Using Direct Input mode: UTF-8 character encoding assumed Unlike the ...
  #1 (permalink)  
Antiguo 14/04/2009, 10:18
Avatar de Joni2Back  
Fecha de Ingreso: marzo-2009
Mensajes: 146
Antigüedad: 15 años
Puntos: 1
Advertencia en Validacion xHTML

Hola amigos, tengo una web que estoy validando y me sale esta unica advertencia:

Info Using Direct Input mode: UTF-8 character encoding assumed

Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.


Probe de todo y no lo puedo quitar!, por las dudas adjunto el codigo html
Saludoos

(Las url las mande con espacios sino no me las dejaba adjuntar)


Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "h tt p : // w ww. w3 .org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="h tt p : // w ww. w3 .org/1999/ xhtml" xml:lang="es-es" lang="es-es" dir="ltr" >
  4. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  5. <meta name="keywords" content="keys" />
  6. <meta name="description" content="Contenido" />
  7. <title>test</title>
  8. <link rel="stylesheet" type="text/css" href="estilos.css" />
  9. <link rel="shortcut icon" href="favicon.ico" />
  10. </head>
  11. <div id="general">
  12.   <div id="header">
  13.     <div id="titulos">
  14.       <center>
  15.         <table class="titulos"  border="0">
  16.           <tr>
  17.             <td ><div id="icon"></div></td>
  18.             <td ><div id="titulo-arriba">test
  19.                 <div id="titulo-abajo">test </div>
  20.               </div></td>
  21.           </tr>
  22.         </table>
  23.       </center>
  24.     </div>
  25.   </div>
  26.   <div id="contenido"> <span class="texto-grande"> test<br/>
  27.     <small>test</small> </span> <br/>
  28.     <br/>
  29.     <input class="texto" />
  30.     <br/>
  31.     <br/>
  32.     <input type="submit" value="Photos!" />
  33.   </div>
  34.   <div id="footer">
  35.     <table border="0" width="100%" style="height:100%; padding-right:5px;" >
  36.       <tr>
  37.         <td valign="bottom"> Links | FAQ | About | Contact</td>
  38.       </tr>
  39.     </table>
  40.   </div>
  41. </div>
  42. </body>
  43. </html>
  #2 (permalink)  
Antiguo 14/04/2009, 10:39
Usuarios466
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Advertencia en Validacion xHTML

Cambia esto:

Cita:
Iniciado por rayden12345 Ver Mensaje
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
Por esto:

Código:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  #3 (permalink)  
Antiguo 14/04/2009, 11:54
Avatar de Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 8 meses
Puntos: 2237
Respuesta: Advertencia en Validacion xHTML

Traduccion segun San Google:

Cita:
Información de Uso de entrada de modo directo: UTF-8 supone la codificación de caracteres

A diferencia de los "por la URI" y "Carga de archivos de" los modos de transporte, la "Entrada directa" de modo de validar el validador proporciona el contenido en forma de caracteres mecanografiados o pegado en el validador del campo de formulario. Esto automáticamente que los datos UTF-8, y por lo tanto, el validador no es necesario para determinar la codificación de caracteres del documento, y hacer caso omiso de cualquier información de caracteres especificado.

Si se observa una discrepancia en la codificación de caracteres detectado entre los de la "Entrada directa" el modo de validación y otros modos, es probable que esto sea el motivo. No es ni un error en el validador, ni en el documento.
Se trata solamente de una advertencia... la traduccion corta seria: Asegurate de guardar tus paginas con la codificacion que estas especificando en el charset para evitar problemas.
__________________
- León, Guanajuato
- GV-Foto
  #4 (permalink)  
Antiguo 14/04/2009, 16:06
Avatar de Joni2Back  
Fecha de Ingreso: marzo-2009
Mensajes: 146
Antigüedad: 15 años
Puntos: 1
Respuesta: Advertencia en Validacion xHTML

Cita:
Iniciado por Juan Ca Ver Mensaje
Cambia esto:


Código:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Hola gracias por contestar
te cuento que lo cambie y sigue el problema:

Using Direct Input mode: UTF-8 character encoding assumed

Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.


es raro
  #5 (permalink)  
Antiguo 14/04/2009, 16:16
Usuarios466
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Advertencia en Validacion xHTML

Cita:
Iniciado por rayden12345 Ver Mensaje
Hola gracias por contestar
te cuento que lo cambie y sigue el problema:

es raro
Pues a mí me lo valida. No lo habrás hecho como yo te dije.
Copia y pega mi código validado:


Código HTML:
<!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=iso-8859-1" />
<meta name="keywords" content="keys" />
<meta name="description" content="Contenido" />
<title>test</title>
<link rel="stylesheet" type="text/css" href="estilos.css" />
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="general">
  <div id="header">
    <div id="titulos">
      <center>
        <table class="titulos"  border="0">
          <tr>
            <td ><div id="icon"></div></td>
            <td ><div id="titulo-arriba">test
                <div id="titulo-abajo">test </div>
              </div></td>
          </tr>
        </table>
      </center>
    </div>
  </div>
  <div id="contenido"> <span class="texto-grande"> test<br/>
    <small>test</small> </span> <br/>
    <br/>
    <input class="texto" />
    <br/>
    <br/>
    <input type="submit" value="Photos!" />
  </div>
  <div id="footer">
    <table border="0" width="100%" style="height:100%; padding-right:5px;" >
      <tr>
        <td valign="bottom"> Links | FAQ | About | Contact</td>
      </tr>
    </table>
  </div>
</div>
</body>
</html> 
  #6 (permalink)  
Antiguo 14/04/2009, 23:20
Avatar de Joni2Back  
Fecha de Ingreso: marzo-2009
Mensajes: 146
Antigüedad: 15 años
Puntos: 1
Respuesta: Advertencia en Validacion xHTML

[QUOTE=Juan Ca;2867010]Pues a mí me lo valida. No lo habrás hecho como yo te dije.
Copia y pega mi código validado:




Claro, es valido pero tiene esa advertencia que quiero sacar y no se como !


Result: Passed, 1 warning(s)

Notes and Potential Issues

The following notes and warnings highlight missing or conflicting information which caused the validator to perform some guesswork prior to validation. If the guess or fallback is incorrect, it could make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

Info Using Direct Input mode: UTF-8 character encoding assumed

Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified.

If you notice a discrepancy in detected character encoding between the the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document.
  #7 (permalink)  
Antiguo 14/04/2009, 23:29
Avatar de David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Respuesta: Advertencia en Validacion xHTML

Esa es simplemente una advertencia, no necesitas quitarla.

La información que dice el mensaje es que en el modo "Entrada Directa" se asume que lo ingresado en el formulario está codificado en UTF-8 y se ignora cualquier información especificada sobre la codificación (mediante el metatag), lo cual es diferente en los modos de validación por URL y por upload del archivo.

Más información sobre la codificación de caracteres en este mensaje de PatomaS:
http://www.forosdelweb.com/f4/html-h...8/#post2867225
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.
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 21:08.