allAttrs.put(r.getName(), r);
}
}</BUG>
result = new TagRegion(tagRegion.getType(), null, null,
<BUG>allAttrs);
}</BUG>
return result;
} finally {
if (partitioner != null) {
partitioner.disconnect();

tagRegion = partitioner.getPartition(tagRegion.getOffset() - 1);
if (!IDocument.DEFAULT_CONTENT_TYPE.equals(tagRegion.getType())
&& !closeParentTag.equals(tagRegion.getType())) {
List<ElementRegion> attrRegions = parseTag(document, tagRegion,
ATTRS);
result = new TagRegion(tagRegion.getType(), null, null,
attrRegions);
}
return result;
} finally {
if (partitioner != null) {
partitioner.disconnect();
