================================================================ RELEASE NOTES FOR JTIDY $Id: NOTES,v 1.6 2001/08/01 15:13:31 lempinen Exp $ Version: 04aug2000r7-jel ================================================================ The 04aug2000r7-jel has the following changes to 04aug2000r7-dev: - all reporting output was changed to use appropriate log4j level messages - error output redirection (to a file) is no longer possible - Use an appropriate log4j appender instead. - No stacktraces are written anymore. Instead log.error(message + e.getLocalizedMessage()) is used. - explizit Emacs support dropped - Tidy methods dropped: - getEmacs() - setEmacs(boolean Emacs) - getErrfile() - setErrfile(java.lang.String errfile) - getErrout(); use Logger.getLogger("org.w3c.tidy").getAllAppenders() instead - setErrout(java.io.PrintWriter errout) ; use Logger.addAppender(Appender newAppender) instead - getOnlyErrors() ; use Logger.getLogger("org.w3c.tidy").getLevel() == Level.ERROR instead - setOnlyErrors(boolean OnlyErrors) ; use Logger.getLogger("org.w3c.tidy").setLevel(Level.ERROR) instead - getQuiet() ; use Logger.getLogger("org.w3c.tidy").getLevel() == Level.FATAL instead - setQuiet(boolean Quiet) ; use Logger.getLogger("org.w3c.tidy").setLevel(Level.FATAL) instead - getShowWarnings() use Logger.getLogger("org.w3c.tidy").getLevel() == Level.WARN instead - setShowWarnings(boolean ShowWarnings) ; use Logger.getLogger("org.w3c.tidy").setLevel(Level.WARN) instead - removed methods in Report: - tidyPrint* - removed options: -f, [-]-file - further changes in Report: - void tag(lexer, node) -> String tag(node) - all methods: java.io.PrintWriter parameter removed since not used - (Configuration/Commandline)Options: - -e/--error sets "org.w3c.tidy" log level to Level.ERROR - -q/--quiet sets "org.w3c.tidy" log level to Level.FATAL - show-warnings sets "org.w3c.tidy" log level to Level.WARN - last log level parameter seen overwrites all previously seen log level parameters - default loglevel is Level.INFO when instantiated via Tidy(true) constructor (@see BasicConfiguration.configure), otherwise it is assumed, that logging is already propperly setup and follows log4j logging algorithm. - Lexer changes: - error file related variables and functions removed - TidyMessages.properties changes: all "Warning: " and "Error: " message prefixes removed, since reported by log4j itself - org.w3c.dom and org.xml.sax Hierarchy removed: already part of jdk1.4 The 04aug2000r7-dev has the following changes: - 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. - Tidy.java has been refactored and duplicate code has been removed. - The license is stated explicitly in the file LICENSE. Due to the nature of these changes, it is possible that the release is somewhat more unstable than r6. As r7-dev contains no functional changes, please revert back to r6 if you have problems. Please report bugs using the SourceForge bug tracking interface at http://sourceforge.net/bugs/?group_id=13153 Enjoy! 01.08.2001 Tampere, Finland Sami Lempinen (sami@lempinen.net)