[TYPO3-core] RFC: #10950: XML prologue always after doctype declaration in BE template building
Francois Suter
fsuter at cobweb.ch
Fri Apr 24 09:40:13 CEST 2009
Hi,
> 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 instead of in front, 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.
+1 after reading and testing. Please mind that your patch seems to have
unnecessary changes (last three hunks). I suppose it's just some white
space issues. I applied the patch without those three hunks.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list