import org.springframework.beans.factory.xml.ParserContext;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
<BUG>public class ParsingUtils {

public static void addOptionalPropertyValue(BeanDefinitionBuilder builder, String propertyName, Element element,

String attrName, String defaultValue) {
addProperty(builder, propertyName, element.getAttribute(attrName), defaultValue, false, false);
</BUG>
}

import org.springframework.beans.factory.xml.ParserContext;
import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
public abstract class ParsingUtils {
public static void addOptionalPropertyReference(BeanDefinitionBuilder builder, String propertyName, Attr attribute) {
addProperty(builder, propertyName, attribute.getValue(), null, false, true);
}
public static void addOptionalPropertyReference(BeanDefinitionBuilder builder, String propertyName, Attr attribute,
String defaultValue) {
addProperty(builder, propertyName, attribute.getValue(), defaultValue, false, true);
}
