I am using Jtidy parser in java.
URL url = new URL(\"www.yahoo.com\");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
InputStream in = c
Looking at the documentation I found another method that seems a bit nicer to me in this particular case: setShowWarnings(boolean)
. This method will hide the warnings, but errors will still be thrown.
For more info look here: http://www.docjar.com/docs/api/org/w3c/tidy/Tidy.html#setShowWarnings(boolean)