document.setCheckingCharacters(false);
  public HTMLDocument parseDocument(Reader input)                    throws IOException  {    try      {        document = new DomHTMLDocument();        document.setCheckWellformedness(false);        cursor = document;        parse(input);        DomHTMLDocument h = document;        document = null;        return h;      }    catch (Exception ex)      {        ex.printStackTrace();        throw new IOException("Exception: " + ex.getMessage());      }  }