[TYPO3-dev] Empty line at beginning of frontend output = validator fails

Tyler Kraft tyler.kraft at netefficiency.co.uk
Tue Jun 2 09:57:39 CEST 2009


Hi Susanne,

I could be wrong, but I think I remember that happening to me. I think 
it was because there is an empty line after the closing ?> in a php 
script that I was using.

hth

Susanne Moog wrote:
> Hey Steffen,
> 
> Steffen Müller schrieb:
>> Hi.
>>
>> On 01.06.2009 19:37 Susanne Moog wrote:
>>> When trying to validate a page I get an error because the xml
>>> declaration is not the first line but the second (the first one is 
>>> empty).
>>>
>>
>> it's an IE quirksmode bug workaround.
>>
>> use config.doctypeSwitch = 1
> 
> that just switches the doctype declaration and the xml prologue. In my 
> version they are in the correct order but the first line is empty like:
> 
> "
> 
> <?xml ...>
> <! DOCTYPE ...>
> "
> 
> That doesn't validate because of the empty line. When I'm back at home 
> this evening I'll have to investigate where that line comes from.
> 
> Thanks for your help.
> 
> Susanne




More information about the TYPO3-dev mailing list