protected final String getRequiredAttribute(Attributes attrs, String name)
throws KongaSaxParserException {
String attr = attrs.getValue(name);
if ((attr == null) || (attr.length() == 0)) {
throw new KongaSaxParserException(
"The attribute " + name + " is missing from the element " + getElementName());
}
return attr;
}