W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: [JTidy] Bug + fix: Reversed test for XHTML namespace

From: Gary L Peskin <garyp@firstech.com>
Date: Sat, 16 Dec 2000 23:33:44 -0800
Message-ID: <3A3C6C58.8AD3249B@firstech.com>
To: Randy Waki <rwaki@flipdog.com>
CC: html-tidy@w3.org
Randy Waki wrote:
> 
> This is a translation bug in JTidy.  The official C version of Tidy does
> not exhibit this bug.
> 
> When run with the -asxml option, 4aug2000r5 JTidy fails to fix an
> incorrect XHTML namespace.  The problem in Lexer.java, fixHTMLNameSpace(),
> where the last if statement has its sense backwards.  Not surprisingly,
> this bug also causes JTidy to complain if the namespace is correct and to
> be happy if the namespace is wrong.

This change has been committed to the JTidy CVS.  Thank you again for
finding and fixing this bug.

Gary
Received on Sunday, 17 December 2000 02:33:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT