IMXMLTagData tag,
MXMLNodeInfo info)
{
if (target == null)
{
ICompilerProblem problem = new MXMLRequiredAttributeProblem(tag, ATTRIBUTE_TARGET);
builder.addProblem(problem);
}
else if (target.isEmpty())
{
ICompilerProblem problem = new MXMLEmptyAttributeProblem(tag.getTagAttributeData(ATTRIBUTE_TARGET));
builder.addProblem(problem);
}
// If both includeIn and excludeFrom are specified, set both to null.
if (includeIn != null && excludeFrom != null)
{
ICompilerProblem problem = new MXMLIncludeInAndExcludeFromProblem(tag);
builder.addProblem(problem);
includeIn = null;
excludeFrom = null;
}