code: public void checkHtmlInputSource(InputSource is) throws IOException,
              SAXException {
          validator.reset();
          is.setEncoding("UTF-8");
          checkAsHTML(is);
      }
docs: /* *
  Checks an InputSource as a text/html HTML document.