Revision: 7961 http://languagetool.svn.sourceforge.net/languagetool/?rev=7961&view=rev Author: dnaber Date: 2012-09-02 16:21:20 +0000 (Sun, 02 Sep 2012) Log Message: ----------- deprecate the --xmlfilter option, as it's buggy (doesn't really parse the XML thus misses entities etc.)
Modified Paths: -------------- trunk/JLanguageTool/CHANGES.txt trunk/JLanguageTool/src/java/org/languagetool/commandline/CommandLineParser.java Modified: trunk/JLanguageTool/CHANGES.txt =================================================================== --- trunk/JLanguageTool/CHANGES.txt 2012-09-02 11:00:30 UTC (rev 7960) +++ trunk/JLanguageTool/CHANGES.txt 2012-09-02 16:21:20 UTC (rev 7961) @@ -48,7 +48,7 @@ -bugfix for command line: We removed XML from even plain text input. Now XML/HTML elements are only filtered out if the new --xmlfilter option is specified. Note that there's still - a bug that can screw up position information with that option. + a bug that can screw up position information with that option, thus it is deprecated. -introduced a file resources/<lang>/hunspell/ignore.txt with words that the spell checker will ignore Modified: trunk/JLanguageTool/src/java/org/languagetool/commandline/CommandLineParser.java =================================================================== --- trunk/JLanguageTool/src/java/org/languagetool/commandline/CommandLineParser.java 2012-09-02 11:00:30 UTC (rev 7960) +++ trunk/JLanguageTool/src/java/org/languagetool/commandline/CommandLineParser.java 2012-09-02 16:21:20 UTC (rev 7961) @@ -143,7 +143,7 @@ + " -v, --verbose print text analysis (sentences, part-of-speech tags) to STDERR\n" + " --version print LanguageTool version number and exit\n" + " -a, --apply automatically apply suggestions if available, printing result to STDOUT" - + " --xmlfilter remove XML/HTML elements from input before checking"); + + " --xmlfilter remove XML/HTML elements from input before checking (this is deprecated)"); } private void checkArguments(String option, int argParsingPos, String[] args) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs