if (qualifier.length() == 0) { return error(request, labels.getString(clazz + ".qualempty")); }
    private boolean sanityCheck(HttpServletRequest request,            ResourceBundle labels)    {        String element = request.getParameter("element");        if (element.length() == 0)        {            return error(request, labels.getString(clazz + ".elemempty"));        }        for (int ii = 0; ii < element.length(); ii++)        {            if (element.charAt(ii) == '.' || element.charAt(ii) == '_'                    || element.charAt(ii) == ' ')            {                return error(request, labels.getString(clazz + ".badelemchar"));            }        }        if (element.length() > 64)        {            return error(request, labels.getString(clazz + ".elemtoolong"));        }        String qualifier = request.getParameter("qualifier");        if (qualifier != null)        {            if (qualifier.length() == 0)            {                return error(request, labels.getString(clazz + ".qualempty"));            }            if (qualifier.length() > 64)            {                return error(request, labels.getString(clazz + ".qualtoolong"));            }            for (int ii = 0; ii < qualifier.length(); ii++)            {                if (qualifier.charAt(ii) == '.' || qualifier.charAt(ii) == '_'                        || qualifier.charAt(ii) == ' ')                {                    return error(request, labels.getString(clazz                            + ".badqualchar"));                }            }        }        return true;    }