writer.printRaw("<!DOCTYPE html "
+ "PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" "
+ "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\" [" + NEWLINE
+ "<!ENTITY nbsp ' '>" + NEWLINE
+ "]>" + NEWLINE);
writer.printRaw("<ajax-response>");
expect(writer.getNestedWriter()).andReturn(nested);
nested.begin("response");
nested.attribute("id", "id1");