[Typo3-dev] html header not getting through

4Dfx peter.russ at 4dfx.de
Mon Sep 8 15:58:52 CEST 2003


dan frost schrieb:

> Dear all,
> 
> I've added the following to the html page header in (line c360) 
> class.tslib_pagegen.php.
> 
> <html lang="en" xml:lang="en" xml:ns="http://www.w3.org/1999/xhtml">
> 
> This is delivered to the browser as:
> 
> <html lang="en" xmllang="en" xmlns="http://www.w3.org/1999/xhtml">
> 
> - notice the missing colons (:).
> 

<html lang="en" xml:lang="en" xml:ns="http://www.w3.org/1999/xhtml">

should be:
"The root element of the document must contain an xmlns declaration for 
the XHTML namespace [XMLNS]. The namespace for XHTML is defined to be 
http://www.w3.org/1999/xhtml. An example root element might look like:
"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

as of
http://www.w3.org/TR/xhtml1/#xhtml
"3. Normative Definition of XHTML 1.0"

Try to adjust and it should work.

Regs Peter

www.ebconclub.net






More information about the TYPO3-dev mailing list