}
}
final String name = nextTag.getName();
if (nextTag.getType() == SwfTag.END && !tag.getName().equals(name)) {
throw new TagProcessingException("Expected " + nextTag.getName().toLowerCase() + " tag but found "
+ tag.getName().toLowerCase() + " tag at " + nextTag.errorAt(), tag.toString());
}
final ElementProcessor processor = processors.getFor(name);
process(nextTag, processor);
}
}