// get the content processor
final String dataTypeAttrValue =
ElementUtils.getAttributeValue(context, attributes,
XDIMESchemata.XHTML2_NAMESPACE, ATTR_NAME_DATA_TYPE);
final ImmutableExpandedName dataType;
if (dataTypeAttrValue == null || dataTypeAttrValue.length() == 0) {
dataType = propertyHandler.getDefaultDataType().getExpandedName();
} else {
dataType = getAsExpandedName(dataTypeAttrValue, context);
}