for (Map.Entry<String, Collection<OutputLanguage>> illegalName :
ILLEGAL_OUTPUT_LANGUAGE_NAMES.entrySet()) {
compile(prefix + CharEscapers.xmlEscaper().escape(illegalName.getKey()) + suffix);
SourcePosition errorPos = pos(2, 1);
for (OutputLanguage outputLanguage : illegalName.getValue()) {
assertAlert(new IllegalNameError(errorPos, outputLanguage.getDisplay(),
illegalName.getKey()));
}
assertNoUnexpectedAlerts();
}
}