Release History

VersionDateDescription
r8 in CVS
04aug2000r7-dev August 1, 2001
04aug2000r6 December 20, 2000
04aug2000r5 November 3, 2000
04aug2000r4 November 1, 2000
04aug2000r3 October 22, 2000
04aug2000r2 October 20, 2000First SourceForge release of JTidy, packaged by Sami Lempinen.

Get the RSS feed of the last changes

Release r8 - in CVS

TypeChangesBy
update Development is starting againg, with a new project admin and developer. The build system and documentation has been migrated to maven. Due to changes in directory structure, a new module in CVS has been created (tidy2): old files will left untouched and development will continue on this new module. fgiust
remove Packages org.w3c.dom and org.xml.sax have been removed from the distribution. fgiust
add Junit tests added to build process. fgiust
fix NullPointerException in parsing: Tidy crashes while trying to insert a node into markup tree before element when parent is null. Fixes 610244. Thanks to Liam Quinn . fgiust
add A JTidy ant task has been added: org.w3c.tidy.ant.JTidyTask. Fixes 780131. Thanks to Nikola Ken Barozzi . fgiust
fix NullPointerException in generating slides. Fixes 431716. fgiust
fix Frameset followed by frame infinite loop. Fixes 427675. fgiust
fix Typo in Configuration.parseProps(): indent-attributes parameter ig nored. Fixes 522003. fgiust
fix LI w/FRAME/FRAMESET/OPTGROUP/OPTION loop. Fixes 427671. fgiust
fix Span causes infinite loop. Fixes 427840. fgiust
fix Infinite loop </frame> after </frameset> Fixes 539369. fgiust
fix DOM2 methods should throw DOMException if unsupported: now unimplemented DOM methods properly return DOMException.NOT_SUPPORTED_ERR. Fixes 880523. fgiust
fix Blank char inserted after first char. Fixes 427846. fgiust
fix Space inserted before </td> . Fixes 435920. fgiust
fix Incorrect wrap behaviour. Fixes 514348. fgiust
fix Remove empty lines between tags in XML. fgiust
fix Slides not numbered in zero-padded fmt. Fixes 427666. fgiust
fix XHTML requires form method="post" Fixes 445074. fgiust
fix Tidy inserts &nbsp; entity in -xml mode. Fixes 433604. fgiust
fix Anchor tag without attributes deleted. Fixes 433040. fgiust
fix Nested anchor elements allowed. Fixes 427827. fgiust
fix End tags containing whitespace warning. Fixes 427844. fgiust
fix Proprietary elements not reported as err. Fixes 427810. fgiust
fix Newline in URL attr value becomes space. Fixes 438650. fgiust
fix Tidy adds newlines after </html> . Fixes 603128. fgiust
fix Output DOCTYPE/Namespace decl separately. Fixes 427839. fgiust
fix Added "-//W3C//DTD HTML 3.2 Final//EN" to W3C_Version[ ] so FPI in a DOCTYPE will let document be recognized as HTML 3.2. Fixes 431719. fgiust
fix Given doctype reported incorrectly. Fixes 431883. fgiust
fix Well formed XSL xsl:text gives error. Fixes 431956. fgiust
fix Table height="" not flagged as error. Fixes 431964. fgiust
fix <input onfocus=""> reported unknown attr. Fixes 435917. fgiust
fix Missing / in title endtag makes 2 titles. Fixes 438658. fgiust
fix Empty iframe elements trimmed. Fixes 433359. fgiust
fix BLOCK/INLINE before TABLE parsed wrong. Fixes 427662. fgiust
fix DTD not inserted, but DTD URI Namespace. Fixes 427835. fgiust
update Report methods are no more static. This will allow in future to add error listeners to a single tidy instance for better multithreading and IDE/tools integration. fgiust
add --body-only: print only body contents. Fixes 434940. fgiust
update Messages are now generated totally from message resources and no more partially composed in code. This will allow for better message localization. fgiust
add Missing doctype is now reported. fgiust
fix Invalid values for table cell attributes are now reported. fgiust
add Identify attribute whose value is bad. Fixes 433021. fgiust
fix Null value changed to "value" for -asxml. Fixes 432677. fgiust
fix Problems nesting user defined inline tags. Fixes 427825. fgiust
fix <p/> gets tidied into <p /></p>. Fixes 531964. fgiust
fix Missing attribute name garbles output. Fixes 456596. fgiust
fix Single document element discarded. Fixes 480406. fgiust
fix Single document element discarded. Fixes 471264. fgiust
fix Reduce blank lines in output. Fixes 487204. fgiust
fix Duplicate attribute removed. Fixes 433360. fgiust
add New configuration option: --drop-proprietary-attributes. fgiust
add New configuration option: --fix-uri. fgiust
add New configuration option: --lower-literals. fgiust
add New configuration option: --hide-comments. fgiust
add New configuration option: --indent-cdata. fgiust
add New configuration option: --force-output. Fixes 440958. fgiust
add New configuration option: --show-errors. fgiust
add New configuration option: --ascii-chars. fgiust
add New configuration options: --join-classesand --join-styles. fgiust
add New configuration option: --escape-cdata. fgiust
add New configuration option: --repeated-attributes. fgiust
add Add support for separate input and output character encodings, configuration options: --input-encodingand --output-encoding. fgiust
add Report current configuration settings. --help-configreports all available settings, --show-configreports actual values. Fixes 431710. fgiust
fix Document Type Declaration for proprietary documents. Fixes 473490. fgiust
fix Hex character references not handled. Fixes 475643. fgiust
fix OPTION w/illegal FONT eats whit espace. Fixes 427819. fgiust
fix Inline emphasis inconsistent propagation. Fixes 431731. fgiust
fix XHTML Strict seen as Transitional w/div. Fixes 431965. fgiust
fix Anchor enclosing Header tags is omitted. Fixes 433672. fgiust
fix Nested < q > < /q > 's not handled correctly. Fixes 435919. fgiust
fix Font tags handling different. Fixes 441568. fgiust
fix XHTML 1.1 Support. Fixes 441740. fgiust
fix end tags for empty elements in XHTML. Fixes 443381. fgiust
fix < /select > does not terminate < option > . Fixes 487283. fgiust
fix Error actually reported as a warning. Fixes 434100. fgiust
fix Bad head-endtag reported incorrectly. Fixes 438956. fgiust
fix Extra endtags not detected. Fixes 538536. fgiust
fix Fix for character references > = 32768. Fixes 648768. Thanks to Liam Quinn . fgiust
fix Case of attribute values. Fixes 547976. fgiust
fix Microsoft Access exported HTML files. Fixes 500236. fgiust
fix Parser misinterprets ?xml-stylesheet PI. Fixes 517550. fgiust
fix XHTML TRANSITIONAL doctype set wrongly. Fixes 427821. fgiust
fix < br clear="none" > should be output. Fixes 502348. fgiust
fix Parser complains about xml:lang. Fixes 517528. fgiust
fix Multiple < BODY > 's in < NOFRAMES > allowed. Fixes 427823. fgiust
fix Frameset rows attr. not recognized. Fixes 525081. fgiust
add You can now use any supported Java character encoding for input or output. The standard tidy encoding handling derived from tidy c has been rewritten using the default java encoding support. This was a most requested feature after JTidy r7, thanks to all the people who sent patches and proposal for this. fgiust
add You can now attach listeners (implementing the TidyMessageListener interface) to be notified for warning, errors and summary message. You don't need anymore to parse a text output to extract jtidy messages in your application! fgiust
update Tidy DOM implementation has been updated with DOM level 3 methods signatures. fgiust

Release 04aug2000r7-dev - August 1, 2001

TypeChangesBy
fix TagTable is no longer a Singleton, which brings us one step closer to having the ability to run multiple JTidy's in a single JVM.
fix Tidy.java has been refactored and duplicate code has been removed.
fix The license is stated explicitly in the file LICENSE.

Release 04aug2000r6 - December 20, 2000

TypeChangesBy
fix Fixed a bug in the parseAttribute() method of Lexer.java which generated an incorrect length for the UTF8 representation of characters above \u007f. This was causing a StringIndexOutOfBoundsException in method isValidAttributeName() of Lexer.java at line 2577. Thanks to dlgo@users.sourceforge.net for reporting this problem.
fix Fixed a bug in the insertedToken() method of Lexer.java which generated a Negative ArraySizeException in the clone() method of Node.java. An ending value for a range in a character array was not being set correctly. Thanks again to dlgo@users.sourceforge.net for reporting this problem.
fix Fixed a bug in Lexer.java where a "!" was omitted from an if condition, causing the reverse of expected behavior with namespaces. Fix is attributed to Randi Waki
fix dlp@users.sourceforge.net contributed a fix so that hasAttributes() in DOMNodeImpl.java would return the correct boolean value instead of throwing a not implemented exception.
fix Added support for CDATASections in the DOM model.
fix Fixed a bug in the createProps() method of Clean.java which caused a StringOutOfBoundsException in line 156 due to trailing spaces in a CSS property name.
fix Changed the behavior of DOMNodeImpl so that nodes added via the DOM interface have the correct node type. Previously, such nodes could not contain any content because they were added with a type of StartEndTag.
fix Added methods to support DOM Level 2.
fix Fixed a bug where createElement() was not properly setting Node.tag if the tag to be added could not be found in the the TagTable. A generic entry is now used instead of leaving the entry set to null.

Release 04aug2000r5 - November 3, 2000

TypeChangesBy
fix The getValue() method in DOMAttrImpl.java returns the attribute name if the attribute value is null (thanks to Brett Knights for reporting this)
fix Initial implementation of a Windows .bat file to drive the build process has been added (thanks, Gary).
fix Compiled .class files are not included in the distribution as they are already contained in the jar file.

Release 04aug2000r4 - November 1, 2000

TypeChangesBy
fix The 04aug2000r4 release fixes the bugs reported since r3. Thanks to Gary for implementing these changes.

Release 04aug2000r3 - October 22, 2000

TypeChangesBy
fix This release fixes a bug in the pre-compiled Tidy JAR. The messages property file is now included. No code changes.

Release 04aug2000r2 - October 20, 2000

TypeChangesBy
fix The package structure has been reorganised a little. In the binary release, the Java bytecode classes and the Tidy JAR can be found under the build/ subdirectory.
fix The Ant build system is now the authoritative one. The old Makefiles (untouched) can be found under contrib/ should someone want to start maintaining them.
fix A patch by Brett Knights has been incorporated. The patch affects the DOMNodeImpl class and ensures that CharacterData always returns at least an empty string (compared to null) as the value. This patch has not been verified with a DOM guru, so comments are welcome.