Hallo Latte Biosas (hoffentlich richtig lateinisiert/eingedeutscht?),

Warum versucht du  statt html  nicht *xhtml_11 als doctype, wie es die Dokumentation für Versin 8 vorschlägt?
https://docs.typo3.org/typo3cms/TyposcriptReference/8.7/Setup/Config/#doctype
*"... NOTE: Keywords also change the way TYPO3 generates some of the XHTML tags to ensure valid XML. If you set doctype to a string, then you must also set config.xhtmlDoctype (see below)."


Dieter

Am 25.12.2017 um 16:52 schrieb Λάθε βιώσας:
Hallo,

im Rahmen der unendlichen Geschichte, daß es die Entwickler von Typo3 seit fünf Jahren nicht hinbekommen das noch länger existierende aktuelle XHTML5 zu integrieren, hat v8.7 wieder einen erneuten Rückschlag besorgt.

Unter v7.6 half noch folgende Behelfskonstruktion im Setup:

<pre>
config.xmlprologue = <?xml version="1.0" encoding="utf-8"?>
config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml"; xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:sch="http://schema.org/"; xmlns:og="http://ogp.me/ns#"; xml:lang="de"
config.doctype = html5
config.xhtmlDoctype = xhtml_11
config.additionalHeaders = content-type: application/xhtml+xml;charset=utf-8
config.renderCharset = utf-8
</pre>

(config.doctype = html5 bewirkt, daß es HTML der 5. Generation mit den entsprechenden Tags ist, und config.xhtmlDoctype = xhtml_11, daß sauberes XHTML produziert wird ohne die Grundkrankheiten von XHTML 1.01)

v8.7 gibt jedoch alles nicht mehr als application/xhtml+xml, sondern als text/html aus.

Hat jemand dafür eine Lösung?

Vielen Dank im voraus.
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

--
----
Dr. Dieter Porth - Web-Entwickler

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an