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

Re: Tidy errors

From: Charles Reitzel <creitzel@rcn.com>
Date: Mon, 25 Nov 2002 11:07:23 -0500
Message-Id: <4.3.2.7.2.20021125105637.02ccd420@pop.rcn.com>
To: Rijk van Geijtenbeek <rijk@opera.com>
Cc: "html-tidy@w3.org" <html-tidy@w3.org>, "Hofmann Juergen (SaW/QSG1) *" <Juergen.Hofmann2@de.bosch.com>

Case 1:

As Christophe has pointed out, this is a valid warning and the escaped 
output is equivalent to your input.  I.e. Tidy successfully fixes the problem.

Case 2:

Got one.  See http://tidy.sf.net/bug/630990.  Björn is currently working on 
that exact problem.  It was introduced by me <g> when I tweaked the parser 
to allow empty <SCRIPT> elements.  See http://tidy.sf.net/bug/443678.

In the meantime, the problem is easily worked around by adding a space 
after any plain "less than" operator (<) in your Javascript.

E.g.
Change:
for ( i=0; i<N; ++i )

To:
for ( i=0; i < N; ++i )

take it easy,
Charlie

At 10:20 AM 11/25/2002 +0100, Rijk van Geijtenbeek wrote:

>On Thu, 21 Nov 2002 16:18:40 +0100, Hofmann Juergen (SaW/QSG1) * 
><Juergen.Hofmann2@de.bosch.com> wrote:
>
>..
>>
>>1b. Tidy-Warning-Message:
>>line 87 column 91 - Warning: '<' + '/' + letter not allowed here
>>line 89 column 69 - Warning: '<' + '/' + letter not allowed here
>>
>>1c. Comment:
>>In my opinnion the HTML-Source is all right.
>
>Your opinion isn't what counts here :)
>Validity is measured by the HTML specs and its formal definition as an 
>SGML application. This issue is not a problem for browsers, which aren't 
>real SGML parsers anyway. But the fix doesn't harm browsers either. See 
>http://www.htmlhelp.com/tools/validator/problems.html#script for a good 
>explanation.
>
>
>>2a. HTML-Code:
>..
>>2c. Comment:
>>In line 21 of the HTML-Source Tidy interpret the '<' sign false
>>(JavaScript). That occurs many different warnings in the Error-Output- File
>>and Tidy's-HTML-Output-File is completely false.
>
>That might be a bug. Let's hear what the Tidy developers say about it.
>
>
>--
>If you don't like having choices    |  Rijk van Geijtenbeek
>made for you, you should start      |   Documentation & QA
>making your own. -  Neal Stephenson |  mailto:rijk@opera.com
Received on Monday, 25 November 2002 11:04:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC