title: how to remove the warnings in Jtidy in java
body: <p>I am using Jtidy parser in java.</p>
  
  <pre><code>URL url = new URL("www.yahoo.com"); 
  HttpURLConnection conn = (HttpURLConnection) url.openConnection();
  InputStream in = conn.getInputStream(); 
  doc = new Tidy().parseDOM(in, null);
  </code></pre>
  
  <p>when I run this, "doc = new Tidy().parseDOM(in, null);"
    I am getting some warnings as follows:</p>
  
  <pre><code>Tidy (vers 4th August 2000) Parsing "InputStream"
  line 140 column 5 - Warning: &lt;table&gt; lacks "summary" attribute
  
  InputStream: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
  InputStream: Document content looks like HTML 4.01 Transitional
  
  1 warnings/errors were found!
  </code></pre>
  
  <p>These warnings are getting displayed automatically on console. But I don't want these
  warnings to be displayed on my console after running </p>
  
  <pre><code>doc = new Tidy().parseDOM(in, null);
  </code></pre>
  
  <p>Please help me,how to do this,how to remove these warnings from console.</p>