Buon giorno, devo validare una serie di pagine, finchè hanno una struttura in html è tutto ok, ma quando è mista o priva di html, la validazione mi restituisce questo messaggio che non so come risolvere:
codice:
Unable to Determine Parse Mode!
The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
* the MIME Media Type (text/html) can be used for XML or SGML document types
* No known Document Type could be detected
* No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
* No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.
As a default, the validator is falling back to SGML mode.
una delle pagine è questa:
codice:
<?php
include("PrimoPiano.inc.php");
include("LeVostreSegnalazioni.inc.php");
$TagBr = "
";
$html=$NewsPrimoPiano. $TagBr . $LeVostreSegnalazioni;
echo $html;
?>
Su questa pagina potrei anche sorvolare dato che la utilizzo come contenitore, però le pagine che includo come PrimoPiano.inc.php, hanno lo stesso problema!!
Vi chiedo cortesemente, come si valida una pagina in php?
Forse è una domanda stupida, ma ve la dovevo fare :|
Grazie mille e buona giornata.