Hallo MikeFromCologne,
HTML5 entspricht nicht den XML-Regeln, weil es das nicht muss. Siehe hier:
HTML vs XHTML.
"There are various concrete syntaxes that can be used to transmit resources that use this abstract language, two of which are defined in this specification.
The first such concrete syntax is the HTML syntax. This is the format suggested for most authors. It is compatible with most legacy Web browsers. If a document is transmitted with an HTML MIME type, such as text/html, then it will be processed as an HTML document by Web browsers. This specification defines version 5 of the HTML syntax, known as "HTML5".
In HTML werden Tags nicht geschlossen. Das hier:
<input type="text" name="test">
ist valide. Ein Beispiel für eine valide HEAD-Declaration:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<META CHARSET="UTF-8">
<BASE HREF="http://www.example.com/">
<TITLE>An application with a long head</TITLE>
<LINK REL="STYLESHEET" HREF="default.css">
<LINK REL="STYLESHEET ALTERNATE" HREF="big.css" TITLE="Big Text">
<SCRIPT SRC="support.js"></SCRIPT>
<META NAME="APPLICATION-NAME" CONTENT="Long headed application">
</HEAD>
<BODY>
Siehe hier: The head element
Und das hier interpretiere ich auch so, dass sowohl die Kurzform, wie die alte Form zulässig sind:
"Exactly one of the name, http-equiv, and charset attributes must be specified."
Vielleicht liegt das Problem darin:
"The second concrete syntax is the XHTML syntax, which is an application of XML. When a document is transmitted with an XML MIME type, such as application/xhtml+xml, then it is treated as an XML document by Web browsers, to be parsed by an XML processor. Authors are reminded that the processing for XML and HTML differs; in particular, even minor syntax errors will prevent a document labeled as XML from being rendered fully, whereas they would be ignored in the HTML syntax. This specification defines version 5 of the XHTML syntax, known as "XHTML5".
Das ergibt sich also aus dem Zusammenspiel von Deklaration und Mime-Type. Wenn du HTML5 in TYPO3 verwendest mußt du m. W. mit dem Mime-Type text/html ausliefert, sonst klappt das nicht mit der Validierung.
Ich habs bei mir gerade mit einer TYPO3-Seite (Version 4.5.3, versteht sich) ausprobiert, sie validiert einwandfrei nach HTML5.
Peter, TYPO3 @ lisardo (Augsburg)