compile("<gxp:msg>",
"<gxp:ph name='foo'/>",
"<gxp:eval expr='x+1'/>",
"<gxp:eph/>",
"</gxp:msg>");
assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
assertNoUnexpectedAlerts();
compile("<gxp:msg>",
"<gxp:ph name='foo'/>",
"<gxp:if cond='x'>yes<gxp:else/>no</gxp:if>",
"<gxp:eph/>",
"</gxp:msg>");
assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
assertNoUnexpectedAlerts();
// Static content doesn't need an example.
compile("<gxp:msg>",
"<gxp:ph name='foo'/>static<gxp:eph/>",