code: public void addWarning(I_CmsXmlContentValue value, String message) {
  
          m_hasWarnings = true;
          Locale locale = value.getLocale();
          Map<String, String> localeWarnings = getLocalIssueMap(m_warnings, locale);
          localeWarnings.put(value.getPath(), message);
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(
                  Messages.get().getBundle().key(Messages.LOG_XMLCONTENT_VALIDATION_WARN_2, value.getPath(), message));
          }
      }
docs: Adds an warning message to the internal list of errors,
  also raised the "has warning" flag.<p>
  
  @param value the value that contians the warning
  @param message the warning message to add