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

Tidy errors

From: Hofmann Juergen (SaW/QSG1) * <Juergen.Hofmann2@de.bosch.com>
Date: Thu, 21 Nov 2002 16:18:40 +0100
Message-ID: <0749D6BD7798D31199A100508B6FABE80371D87F@samail3.sa.de.bosch.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>

Tidy-Errors:
HTML Tidy for Windows (vers 1st July 2002; built on Jul 18 2002, at
14:24:17)

1a. HTML-Code:
81:...
82:  <P>
83:   For further informationen see
84:   <SCRIPT TYPE="text/javascript">
85:   <!--
86:    if(opener && opener.parent.FrameTarget == "HowebContent")
87:     document.write('<A HREF="websiteinfo.htm#a2"
TARGET="HowebContent">Website-Info-Page</A>.');
88:    else
89:     document.write('<A
HREF="websiteinfo.htm#a2">Website-Info-Page</A>.');
90:   //-->
91:   </SCRIPT>
92:  </P>
93:...

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.

2a. HTML-Code:
01:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
02:
03:<HTML>
04:
05: <HEAD>
06:
07:  <SCRIPT TYPE="text/javascript">
08:  <!--
09:   var RefExt = unescape(parent.location.search.toLowerCase());
10:   var RefSource;
11:   var I;
12:   var N;
13:   var P = 0;
14:
15:   // If there are transfer parameters, then analyse.
16:   if(RefExt != "")
17:   {
18:    RefSource = RefExt.substring(1, RefExt.length);
19:    N = parseInt(RefSource.match(/\d+\.\w{3,4}$/)) + 1;
20:    var Img = new Array(N);
21:    for(I = 0; I < N; I++)
22:    {
23:     Img[I] = new Image();
24:     Img[I].src = RefSource.replace(/\d+\.\w{3,4}$/, I +
RefSource.match(/\.\w{3,4}$/));
25:    }
26:   }
27:   else
28:...

2b. Tidy's-Output:
01:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
02:<HTML>
03: <HEAD>
04:
05:  <SCRIPT TYPE="text/javascript">
06:  <!--
07:   var RefExt = unescape(parent.location.search.toLowerCase());
08:   var RefSource;
09:   var I;
10:   var N;
11:   var P = 0;
12:
13:   // If there are transfer parameters, then analyse.
14:   if(RefExt != "")
15:   {
16:    RefSource = RefExt.substring(1, RefExt.length);
17:    N = parseInt(RefSource.match(/\d+\.\w{3,4}$/)) + 1;
18:    var Img = new Array(N);
19:      for(I = 0; I 
20:  </SCRIPT>
21:  <TITLE>
22:  </TITLE>
23:...

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.


Please let me know when the bugs are fixed.
Many thanks in advance.

JH
Received on Monday, 25 November 2002 02:18:59 UTC

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