I am using Jtidy parser in java.
URL url = new URL(\"www.yahoo.com\");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
InputStream in = c
If you want to redirect the JTidy warnings to (say) a log4j logger, read this blog entry.
If you simply want them to go away (along with other console output), then use System.setOut() and/or System.setErr() to send the output to a file ... or a black hole.
For JTidy release 8 (or later), the Tidy.setMessageListener(TidyMessageListener) method deals with the messages more gracefully.
Alternatively, you could send a bug report to webmaster@yahoo.com. :-)