Estaba intentando validar el código html generado por una página web y me da el siguiente error:
Cita:
Y este otro también:Namespace Found in non-XML Document
Namespace "http://www.w3.org/1999/xhtml" found, but the -//W3C//DTD HTML 4.01//EN document type is not an XML document type!
Namespace "http://www.w3.org/1999/xhtml" found, but the -//W3C//DTD HTML 4.01//EN document type is not an XML document type!
Cita:
En el documento tengo el siguiente doctype:DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">" has been suppressed and the DOCTYPE for "HTML 4.01 Strict" 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.
The detected DOCTYPE Declaration "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">" has been suppressed and the DOCTYPE for "HTML 4.01 Strict" 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.
Cita:
Aunque con este otro también daba el mismo error:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml">
Cita:
¿qué puede estar sucediendo?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
¿Cómo lo soluciono?
Gracias de antemano.