public void testTemplate_nonRoot() throws Exception {
compile(
"<gxp:template"
+ " name='com.google.gxp.compiler.errortests.TestTemplate_nonRoot'>",
"</gxp:template>");
assertAlert(new BadNodePlacementError(pos(2,1), "<gxp:template>",
"inside <gxp:template>"));
assertNoUnexpectedAlerts();
}