FileRef caller = createFile("caller",
"<gxp:param name='bundle' gxp:type='bundle'",
" from-element='div' />",
"<call:callee id='x' gxp:bundles='bundle'/>");
compileFiles(callee, caller);
assertAlert(new DuplicateAttributeError(pos(4, 1), "<call:callee>", "bundle", "id"));
assertNoUnexpectedAlerts();
// test duplicate between gxp:attr and bundle
caller = createFile("caller",
"<gxp:param name='bundle' gxp:type='bundle'",
" from-element='div' />",
"<call:callee gxp:bundles='bundle'>",
" <gxp:attr name='id'>",
" <gxp:eval expr='\"foo\"'/>",
" </gxp:attr>",
"</call:callee>");
compileFiles(callee, caller);
assertAlert(new DuplicateAttributeError(pos(4, 1), "<call:callee>", "bundle", "id"));
assertNoUnexpectedAlerts();
}