Project

General

Profile

Actions

Bug #20334

closed

XML prologue always after doctype declaration in BE template building

Added by Patrick Broens about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-04-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Branches: trunk

Problem:
typo3/template.php is responsible for most of the BE Template building.
Internet Explorer < 7 needs the XML prologue behind the Doctype declaration, or the XHTML handling will be done in quirks mode instead of strict compliance mode.

There is no check on the browser and its version and the XML prologue is always put behind the Doctype declaration, which makes most of the backend not valid XHTML.

Solution:
Add a browser/version check where to put the XML prologue and put it accordingly.

(issue imported from #M10950)


Files

20090422_RFC_10950.diff (3.86 KB) 20090422_RFC_10950.diff Administrator Admin, 2009-04-22 11:03

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #21511: Lots of HTML, JS and/or CSS errors force IE8 to switch to compatibility viewClosed2009-11-09

Actions
Has duplicate TYPO3 Core - Bug #16033: Login-Page (typo3/index.php): removing whitespace preceding XML DeclarationClosedChristian Kuhn2006-04-12

Actions
Actions #1

Updated by Patrick Broens almost 15 years ago

committed to trunk, rev 5365.

Actions

Also available in: Atom PDF