Hello, Tobago generates some whitespace characters before the DOCTYPE defintionen in the HTML output. Example:
------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html ... ------------- This seems to be no problem for a browser, but HTMLUnit (in Canoo webtest) has a problem with the whitespaces: <htmlparser> <warning col="2" line="1" url="http://localhost:8080/worklist/">Bare character content found. Inserting parent element <body>.</warning> <warning col="2" line="1" url="http://localhost:8080/worklist/">Missing parent chain. Inserting proper parent <html> for element <body>.</warning> <error col="68" line="6" url="http://localhost:8080/worklist/">DOCTYPE declaration found inside document content.</error> </htmlparser> This problem leads to an other followup problem: The onload script of the body tag is not executed, so Tobago.init() is not called. This leads to an exception in Tobago.submit (Tobago.js, line 364). Please remove the whitespaces. Regards Helmut