strange behavior of TYPO3 doctype

 Using the usual XHTML configuration



config.doctype = xhtml_trans
config.xhtml_cleaning = all



in combination of sourceopt and extendedshop extensions i saw doctype without space between “html” and “PUBLIC”, so no xhtml validated



DOCTYPE htmlPUBLIC …



instead of



DOCTYPE html PUBLIC …



to have the right doctype I declare explicit doctype:



config.doctype = <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
config.xhtmlDoctype = xhtml_trans
config.xhtml_cleaning = all



in this way everything sounds good! :-D