if (isDivisionElement(elt)) {
String source = Documents.getAttribute(elt, backgroundImageAttributeName);
if (source != null) {
source = source.trim();
if (!source.isEmpty()) {
<BUG>Element image = Documents.createElement(doc, TTML2Helper.imageElementName);
Documents.setAttribute(image, TTML2Helper.sourceAttributeName, source);
elt.appendChild(image);</BUG>
context.setResourceState(ResourceState.isdUsesTTML2Feature.name(), Boolean.TRUE);
}

if (isDivisionElement(elt)) {
String source = Documents.getAttribute(elt, backgroundImageAttributeName);
if (source != null) {
source = source.trim();
if (!source.isEmpty()) {
Element image = Documents.createElement(doc, imageElementName);
Documents.setAttribute(image, sourceAttributeName, source);
elt.appendChild(image);
context.setResourceState(ResourceState.isdUsesTTML2Feature.name(), Boolean.TRUE);
}
