/**
  * Parse the specified Interpreter node, create a InterpreterStandin for it, and add this to the
  * specified container.
  */
 private void populateValidator(IValidatorType type, Element element) {
   String id = element.getAttribute(ATTR_ID);
   if (id != null) {
     try {
       final IValidator validator;
       if (type.isBuiltin()) {
         validator = type.findValidator(id);
       } else {
         validator = type.createValidator(id);
       }
       if (validator != null) {
         if (type.isConfigurable()) {
           validator.loadFrom(element);
         }
         addValidator(validator);
       }
     } catch (DOMException e) {
       final String msg =
           ValidatorMessages.ValidatorDefinitionsContainer_failedToLoadValidatorFromXml;
       ValidatorsCore.error(msg, e);
     }
   } else {
     if (DLTKCore.DEBUG) {
       System.err.println(
           "id attribute missing from validator element specification."); //$NON-NLS-1$
     }
   }
 }