ValidationUtils.rejectIfEmptyOrWhitespace(errors, "name", "error.null");
ValidationUtils.rejectIfEmptyOrWhitespace(errors, "xmlData", "error.null");
if (hf.getForm() != null) {
errors.pushNestedPath("form");
new FormValidator().validate(hf.getForm(), errors);
errors.popNestedPath();
}
if (hf.getXmlData() != null) {
try {
@SuppressWarnings("unused")