Io ho un index.xhtml semplice che carico via php, la cui testata è:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head profile="http://purl.org/NET/erdf/profile">
<title>Mia pagina</title>
</head>
<body>
CIAO XHTML!
</body>
</html>
Tuttavia, il browser non visualizza nulla e la command console XHTML da questo errore:
codice:
XMLNS attribute not defined.
Pensando che fosse un problema di DTD ho cambiato in Transitional e Strict ma da questi errori:
Transitional:
codice:
Undefined constant 1999 on line 1
Strict:
codice:
Warning: specified DTD allows not the use of undefined attributes.
XMLNS not defined.
Non so più dove sbattere la testa, aiuto!