boolean asAttribute = HiveMind.isNonBlank(attributeValue);
boolean asContent = HiveMind.isNonBlank(contentValue);
if (asAttribute && asContent)
{
throw new DocumentParseException(ParseMessages.noAttributeAndBody(
attributeName,
_elementName), getLocation(), null);
}
if (required && !(asAttribute || asContent))
{
throw new DocumentParseException(ParseMessages.requiredExtendedAttribute(
_elementName,
attributeName), getLocation(), null);
}
if (asAttribute)