Foros del Web » Creando para Internet » HTML »

Problema validación xhtml 1.0 strict

Estas en el tema de Problema validación xhtml 1.0 strict en el foro de HTML en Foros del Web. Hola, intento validar un documento en xhtml guardado en php y me aparece el siguiente error: Sorry, I am unable to validate this document because ...
  #1 (permalink)  
Antiguo 08/01/2011, 17:05
 
Fecha de Ingreso: febrero-2007
Mensajes: 85
Antigüedad: 17 años, 1 mes
Puntos: 0
Problema validación xhtml 1.0 strict

Hola,

intento validar un documento en xhtml guardado en php y me aparece el siguiente error:

Sorry, I am unable to validate this document because its content type is text/php, which is not currently supported by this service.

The Content-Type header is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).

That you received this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.

La cuestión esque como extension .html me la valida correctamente. Esta guardado en utf-8.

Saludos y gracias adelantadas
  #2 (permalink)  
Antiguo 08/01/2011, 17:39
Avatar de GAST0N  
Fecha de Ingreso: agosto-2010
Ubicación: Buenos Aires
Mensajes: 680
Antigüedad: 13 años, 8 meses
Puntos: 64
Respuesta: Problema validación xhtml 1.0 strict

para validar un archivo PHP tienens que hacerlo con el archivo ya publicado (ya sea en localhost o en algún servidor externo). No te sirve mediante la opción de "Cargar fichero".

podes pegar tu direccion

ejemplo
http://190.00.72.160/carpeta contenedora/archivo.php

recorda abrir el puerto , por defecto siempre son el 80 o el 8080 si es que no lo cambiaste

saludos
__________________
Twitter: @GastonArnedo

Muerte a los <tr> y <td>
  #3 (permalink)  
Antiguo 08/01/2011, 17:50
 
Fecha de Ingreso: febrero-2007
Mensajes: 85
Antigüedad: 17 años, 1 mes
Puntos: 0
Respuesta: Problema validación xhtml 1.0 strict

Mil gracias GAST0N, ahora mismo voy a probarlo. pues llevaba varios días como un loco.
  #4 (permalink)  
Antiguo 08/01/2011, 17:59
Avatar de GAST0N  
Fecha de Ingreso: agosto-2010
Ubicación: Buenos Aires
Mensajes: 680
Antigüedad: 13 años, 8 meses
Puntos: 64
Respuesta: Problema validación xhtml 1.0 strict

de nada =)
__________________
Twitter: @GastonArnedo

Muerte a los <tr> y <td>
  #5 (permalink)  
Antiguo 08/01/2011, 18:10
 
Fecha de Ingreso: febrero-2007
Mensajes: 85
Antigüedad: 17 años, 1 mes
Puntos: 0
Respuesta: Problema validación xhtml 1.0 strict

Listo. Solucionado. Mil gracias, ahora mi xhtml 1.0 strict valida perfectamente.

Etiquetas: xhtml, validar
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 02:00.