You can subscribe to this list here.
2004 |
Jan
(5) |
Feb
(6) |
Mar
(11) |
Apr
(6) |
May
(9) |
Jun
(5) |
Jul
(8) |
Aug
(3) |
Sep
(2) |
Oct
(16) |
Nov
(16) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(8) |
Feb
(7) |
Mar
(6) |
Apr
(8) |
May
(5) |
Jun
(9) |
Jul
(4) |
Aug
(4) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2006 |
Jan
(9) |
Feb
(5) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(4) |
Jul
(1) |
Aug
(9) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
|
2007 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(5) |
Jun
(1) |
Jul
(2) |
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
(3) |
Dec
|
2008 |
Jan
(4) |
Feb
(7) |
Mar
(3) |
Apr
(6) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(3) |
Sep
(5) |
Oct
(1) |
Nov
(3) |
Dec
(3) |
2009 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
(16) |
Aug
(12) |
Sep
(10) |
Oct
|
Nov
(2) |
Dec
(4) |
2010 |
Jan
(3) |
Feb
(1) |
Mar
(1) |
Apr
(16) |
May
(4) |
Jun
(1) |
Jul
(15) |
Aug
(8) |
Sep
(14) |
Oct
(5) |
Nov
(1) |
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(6) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2010-09-14 12:53:55
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: I am sorry, I cannot provide you the source html however I can provide you the program code and the results. [b][u]Program Code[/u][/b] Tidy tidy = new Tidy(); tidy.setShowWarnings(true); tidy.setOnlyErrors(true); tidy.setXHTML(true); tidy.setXmlOut(true); tidy.setXmlTags(true); tidy.setRepeatedAttributes(1); tidy.setErrout(new PrintWriter(new FileWriter("error.txt"), true)); tidy.setForceOutput(false); String dom = getFileContent("html_file.html"); StringReader reader = new StringReader(dom); Document document = tidy.parseDOM(reader, null); [b][u]Results[/u][/b] line 152 column 53 - Warning: Warning: unescaped & which should be written as & line 152 column 54 - Warning: Warning: unescaped & which should be written as & line 152 column 130 - Warning: Warning: unescaped & which should be written as & line 152 column 131 - Warning: Warning: unescaped & which should be written as & line 195 column 1 - Error: unexpected </head> in <link> line 241 column -3 - Error: unexpected </html> in <link> line 246 column 5 - Error: unexpected </div> in <link> line 294 column 13 - Error: unexpected </div> in <p> line 320 column -3 - Error: unexpected </div> in <p> line 321 column 9 - Error: unexpected </div> in <p> 4 warnings, 18 errors were found! This document has errors that must be fixed before using HTML Tidy to generate a tidied up version. |
From: SourceForge.net <no...@so...> - 2010-09-14 08:45:57
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Can you provide the source html, the program code and the results? Use a pastebin, or create a bug report and add attachments. Also, what jtidy version are you using? |
From: SourceForge.net <no...@so...> - 2010-09-14 08:16:35
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Oops, I didn't realize it was from 2003 .... Thanks for pointing it out ... I am new to JTidy and trying to get the HTML error, the error file it is generating is giving me only 6 errors even though it's says 18 errors in the HTML source code supplied. I thought I may be wrong some where in the JTidy configuration. |
From: SourceForge.net <no...@so...> - 2010-09-14 07:47:29
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Do you realize that post was from 2003? |
From: SourceForge.net <no...@so...> - 2010-09-13 13:02:05
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/830694: Could you please send me the source code at ern...@ho...? |
From: SourceForge.net <no...@so...> - 2010-08-27 09:00:38
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3820543: Ok, let me know if you're still having any problems. |
From: SourceForge.net <no...@so...> - 2010-08-22 12:05:27
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3820543: I use the Jtidy library \"jtidy-r820\" before,and find no problem.But today when I use the pprint method of Tidy class to print the parsed DOM document,It can\'t print the whole document. I puzzle it for some times, and then I change the library to the newest version, this time it prints the correct result. Thank a lot. |
From: SourceForge.net <no...@so...> - 2010-08-19 23:41:31
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/3817732: Hi, I created a channel called ##friendlyjava on freenode, you\'re welcome to join and talk about JTidy or java in general. |
From: SourceForge.net <no...@so...> - 2010-08-19 23:37:39
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41436/topic/3767679: Hi, sorry to reply so late. I don\'t think JTidy can add the content-type meta tag automatically. There\'s some code (only in the CodeUpdateAndJava5 branch) to fix the charset if it\'s wrong, but it won\'t add the tag if it\'s missing. You can insert it manually. |
From: SourceForge.net <no...@so...> - 2010-08-18 04:53:15
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3814091: I need to know how you\'re using it and what warnings you want to ignore. |
From: SourceForge.net <no...@so...> - 2010-08-18 04:46:05
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3814091: Hi, Thanks a lot for your quick reply. Could you please also let me know how can I configure it to ignore some of the warnings (if we know they are false or useless warnings) ? Thanks, Nitin Goel |
From: SourceForge.net <no...@so...> - 2010-08-17 22:12:35
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3814091: 1. JTidy tries to figure out the standard for each document. For that purpose, it checks the features used in the document (it knows for each tag and attribute, what html versions it is compatible with), the document\'s doctype (if any) and the doctype requested through the parameters. >From the code it looks like it could be one of: - HTML 2.0, 3.2, 4.0 (Strict/Transitional/Frameset), 4.01 (Strict/Transitional/Frameset), - XHTML 1.0 (Strict/Transitional/Frameset), 1.1, Basic 1.0 JTidy generally reports the standard it\'s using for each document 2. Basically yes; it depends on the specific problem you\'re having |
From: SourceForge.net <no...@so...> - 2010-08-17 13:28:28
|
The following forum message was posted by ernitingoel at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3814091: Hi, I am having few questions on JTidy, could you please help me to find out the answers of them? 1. Are the errors reported by JTidy are w.r.t. some specific W3C HTML standard ? If so which one. 2. Can the checking be configured to work with some other standard (e.g. XHTML) or to ignore some of the warnings (if we know they are false or useless warnings) ? Thanks, Nitin Goel |
From: SourceForge.net <no...@so...> - 2010-07-30 20:03:14
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3787602: Can you post the complete stack trace? |
From: SourceForge.net <no...@so...> - 2010-07-30 20:00:54
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3773484: Yes to both. Non-html XML files should be well-formed, and you need to use the -input-xml option, or setXmlTags(true) |
From: SourceForge.net <no...@so...> - 2010-07-30 19:55:20
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/2480421: Small correction: JTidy can process XML files, but only if they\'re well-formed (as far as I can tell). So it can\'t solve your problem. |
From: SourceForge.net <no...@so...> - 2010-07-30 19:45:07
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3758644: It looks like you\'re trying to \"pprint\" a document that was not generated by JTidy. The current implementation just returns and does nothing in that case. If that\'s not ok, then please file a bug report. |
From: SourceForge.net <no...@so...> - 2010-07-30 19:41:04
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3683558: Um.. I don\'t know if it\'s the same bug. You can report 2 separate bugs just in case; make sure to include test cases. |
From: SourceForge.net <no...@so...> - 2010-07-30 19:36:37
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3711387: As far as I know, you can\'t do that. What\'s wrong with processing the whole page? |
From: SourceForge.net <no...@so...> - 2010-07-30 19:34:38
|
The following forum message was posted by aditsu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3708791: With JTidy you can parse the html file into a DOM, then manipulate the DOM tree. Refer to http://download.oracle.com/javase/6/docs/api/org/w3c/dom/package-summary.html for documentation. Also note that the DOM implementation in JTidy is incomplete, so you might run into a few issues. |
From: Konrad H. <ko...@gm...> - 2010-07-28 19:53:08
|
Hello. I am using JTidy to modify some nodes in an HTML source file, but discovered that the output file is displaying incorrectly when viewed in a web browser (due to the pretty printing). Is pretty printing executed upon loading the file: Tidy tidy = new Tidy(); Document document = tidy.parseDOM(htmlFileInputStream, null); or when calling: tidy.pprint(document, modifiedFileOutputStream); ? If the latter, is there a way to output the modified document (with updated nodes) to file without having the pretty print execute? In other words, I basically want the resulting HTML file to look exactly the same as the original HTML file, except for the few nodes that I updated. Is that possible? Thanks. |
From: SourceForge.net <no...@so...> - 2010-07-28 19:02:00
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3787602: Whoops, I have an extra loop in there, but that aside, the problem persists. |
From: SourceForge.net <no...@so...> - 2010-07-28 18:58:31
|
The following forum message was posted by Anonymous at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3787602: When I attempt to append a new attribute node onto a specific node, I get a null pointer exception from within jtidy -- Am I not initializing something or is there a bug? Here is my code: private void addTarget_blank(Document doc){ NodeList list = doc.getElementsByTagName(\"a\"); for(int i=0; i<list.getLength(); i++){ NamedNodeMap map = list.item(i).getAttributes(); for (int j = 0; j < map.getLength(); j++) { if(map.getNamedItem(\"target\") == null){ Attr attr = doc.createAttribute(\"target\"); attr.setNodeValue(\"_blank\"); attr.setValue(\"_blank\"); list.item(i).appendChild(attr); } } } } |
From: Tony Yat-T. C. <ton...@as...> - 2010-07-22 15:31:26
|
Hi, I found that jtidy has some unexpected handling of <pre> within <table>. For example, the following table codes are rendered properly in both IE and firefox, although it is probably not right to use <pre> this way. <table> <tr> <pre> <td>Hello</td> </pre> </tr> <tr> <pre> <td>1</td> </pre> </tr> </table> However, I would not expect jtidy would actually extract <pre> and its contents outside the <table>! The following is jtidy's output and its warnings. Is this a known issue? Is there any option in jtidy or workaround that handles this HTML table properly? Thank you. <html> <head> <title></title> </head> <body> <pre> <td>Hello</td> </pre> <pre> <td>1</td> </pre> <table> <tr> <td></td> </tr> <tr> <td></td> </tr> </table> </body> </html> line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 3 column 5 - Warning: <pre> isn't allowed in <tr> elements line 4 column 8 - Warning: unescaped <pre> in pre content line 4 column 16 - Warning: unescaped <pre> in pre content line 6 column -1 - Warning: missing <td> line 8 column 5 - Warning: <pre> isn't allowed in <tr> elements line 9 column 8 - Warning: unescaped <pre> in pre content line 9 column 12 - Warning: unescaped <pre> in pre content line 11 column -1 - Warning: missing <td> line 13 column 1 - Warning: inserting missing 'title' element InputStream: Document content looks like HTML 3.2 10 warnings, no errors were found! |
From: SourceForge.net <no...@so...> - 2010-07-16 09:32:01
|
The following forum message was posted by thoazu at http://sourceforge.net/projects/jtidy/forums/forum/41437/topic/3773484: Can I use JTidy for XML doc files (e.g. to reformat/re-indent them) ? What about HTML files which are not XHTML conform? Is JTidy applicable here? Thomas |