[Typo3-dev] TYPo3 3.6.0RC1 and XHTML compliance

Simon Child simondt at gpuk.net
Thu Jan 1 11:33:13 CET 2004


"Simon Child" <simondt at gpuk.net> wrote in message
news:mailman.1.1072917904.25068.typo3-dev at lists.netfielders.de...

> $endTag = "</".$firstTagName.">";
> $endTag=strtolower($endTag);

Sorry to keep talking to myself, but an update will save others replying to
correct my errors...

I've just realised that I have been reinventing the wheel... I was using
automaketemplate 0.0.9 - I've upgraded to 0.1.0 and this part is fixed now
:)

This still leaves:

> * xhtml_cleaning breaks xhtml compliance since it corrupts the xmlns and
xml
> declarations
>
> * tslib/class.tslib_pagegen.php needs updating to reorder the xml
> declaration and to add an xmlns declaration

This reordering is important - without reordering these then css validation
(jigsaw.w3.org/css-validator) fails

With this ordering I can pass both  html and css validation:

<?xml version="1.0" encoding="iso-8859-1"?>
     <!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

--
Simon Child






More information about the TYPO3-dev mailing list