code: public void setCaseSensitive(final boolean caseSensitive) {
          if (caseSensitive && ParsingMode.HTML.equals(this.mode)) {
              throw new IllegalArgumentException(
                      "Cannot set parser as case-sensitive for HTML mode. Use XML mode instead.");
          }
          this.caseSensitive = caseSensitive;
      }
docs: <p>
  Specify whether validations performed on the parsed document should be
  case sensitive or not (e.g. attribute names, document root element name, element
  open vs close elements, etc.)
  </p>
  <p>
  HTML requires this parameter to be <tt>false</tt>. Default for XML is <tt>true</tt>.
  </p>
  
  @param caseSensitive whether validations should be case sensitive or not.