docs: function ofValidType(varSpec, varName, parent) {
    if (isValidType(varSpec.type, parent)) {
      return true;
    } else {
      var msgAddendum = (xml2js.opts.strict ? ' Omitted from JS documentation.' : '');
      console.log('Error: ' + varName + ' is of invalid type ' + typeToString(varSpec.type) + '.' + msgAddendum);
      return false;
    }
  }