compileNoHeader(
"<!DOCTYPE gxp:template SYSTEM \"http://gxp.googlecode.com/svn/trunk/resources/xhtml.ent\">",
"",
"<html xmlns='http://www.w3.org/1999/xhtml'></html>");
assertAlert(new InvalidRootError(pos(3,44), "<html>"));
assertAlert(new NothingToCompileError(pos()));
assertNoUnexpectedAlerts();
compileNoHeader(
"<!DOCTYPE gxp:template SYSTEM \"http://gxp.googlecode.com/svn/trunk/resources/xhtml.ent\">",
"",
"<gxp:if xmlns:gxp='http://google.com/2001/gxp' cond='false'></gxp:if>");
assertAlert(new InvalidRootError(pos(3,61), "<gxp:if>"));
assertAlert(new NothingToCompileError(pos()));
assertNoUnexpectedAlerts();
}