Hello Helmut,

Tobago doesn't generate any whitespace character before the DOCTYPE.

The jsp container generates the whitespaces.

please change
<f:view>
  <tc:page

to

<f:view
  ><tc:page

Regards

Bernd



H. Swaczinna wrote:
Tobago generates some whitespace characters before the DOCTYPE defintionen in the HTML output.
Sounds like a perfect place to use a servlet filter...

Yes, as a workaround. But the DOCTYPE should the first thing to be found
in a HTML document.

This problem leads to an other followup problem: The onload script
of the body tag is not executed.
Sounds like a bug for Httpunit, not necessarily a myfaces issue.

No, not a myfaces issue. But if there're no whitespaces, the body
tag wil be handled correctly by HTMLUnit.

Regards
Helmut

Reply via email to