{
IMarkupFragment childMarkup = resolvingContainer.getMarkup(child);
if (childMarkup != null && childMarkup.size() > 0)
{
IComponentResolver componentResolver = (IComponentResolver)resolvingContainer;
MarkupStream stream = new MarkupStream(childMarkup);
ComponentTag tag = stream.getTag();
Component resolvedComponent = resolvingContainer.get(tag.getId());
if (resolvedComponent == null)
{
resolvedComponent = componentResolver.resolve(resolvingContainer, stream, tag);
}
if (child == resolvedComponent)
{
visit.stop(childMarkup);