}
if (root == null) {
writer.die("In %s, attribute \"%s\" or inline svg must be present", elem, ATTR_RESOURCE);
}
writer.beginAttachedSection(fieldName + ".getElement()");
SvgInterpreter interpreter = SvgInterpreter.newInterpreterForUiObject(writer, fieldName, root);
String rawSvg = elem.consumeInnerHtml(interpreter);
if (validated) {
SVGValidator.validate(rawSvg, elem.getLocation().getSystemId(), null, writer);
}
String omSvgParser = OMSVGParser.class.getName();