W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: JTidy: Pb with enclosed tag A

From: Sebastian Lange <lange@cyperfection.de>
Date: Fri, 19 May 2000 13:01:04 +0200
Message-Id: <>
To: HTML Tidy List <html-tidy@w3.org>
Bonjour Denis,

looking at your HTML code, dropping all the Attributes, I see the following:

<DIV><FONT><A<A>Market Watch</A></FONT></DIV>

That Tidy cannot provide a satisfying solution for this kind of Error is 
kind of evident - how shall it reasonably guess whether the first or the 
second "<A" is supposed to be the "right" one?

Despite your claim that you can't change the HTML, this is exactly what 
you'll have to do. Either you remove the second "<A" or you add a ">" to 
the first "<A". Then you can let Tidy do the rest.

I hope this helped pointing out the problem...

Je pourrais essayer d'expliquer le probleme en francais, si necessaire.


At 11:47 19.05.2000 +0200, you wrote:
>I have found a probleme when parsing an HTML page with JTidy that contains
>the following tags :
>         <div align="center"><font face="Arial, Helvetica, sans-serif"
>size="1"><a  onMouseOver="canceltime();act('r3');" onMouseOut="inactall();"
><a href="https://www.bdlinvest.com/prod/login.nsf/log?openform&login=1"
>target="body" >Market Watch</a></font></div>
>the error is :
>line 149 column 80 - Error: <a> missing '>' for end of tag
>This document has errors that must be fixed before
>using HTML Tidy to generate a tidied up version.
>The problem is caused by the A tag with no href. I have no way to change the
>Is there any solution by configuration or is it a bug ?
>THanks for help.
>Denis Queffeulou

Sebastian Lange
Maybe the first chat site that validates as HTML
4.0 even though user input may contain HTML codes.

Courtesy to Dave Raggett's HTML Tidy:
Received on Friday, 19 May 2000 06:58:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC