[TYPO3-dev] <base> tag and IE6

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Sep 9 19:27:56 CEST 2007


Christian Welzel wrote:
> Dmitry Dulepov [typo3] wrote:
>> because it will violate part 12.4 of HTML specification, which says:
>> Start tag: required, End tag: forbidden
> 
> Then Typo3 currently violates exactly this rule.
> It generates the base tag as <base /> which means that the base tag
> has an end tag (following xml spec
> http://www.w3.org/TR/2006/REC-xml-20060816/#sec-starttags) although
> the element is empty. And empty elements can be written with an <tag/>
> or <tag></tag> following above spec.

Do not refer to xml spec while working with html. Look into HTML spec 
and chapter about compatibility with HTML.

> Than please change the current implementation to <base> as <base/>
> violates your quoted spec.

This should be done if doktype switch is not set to xhtml. If you set it 
to html and it still produces <base /> than it is a bug.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list