On Sun, 25 Jul 1999, Rudy Kohut wrote: > Hello Dave Raggett, > > I have two problems with Tidy that I would like your advice on: > > (1)This is the piece of JavaScript embedded in an html script file: > > <script type="text/javascript" language="JAVASCRIPT"> > <!-- Hide script > document.write("<H4 ALIGN=CENTER>*** Today is "+dayName[now.getDay()]+", "+monName[now.getMonth()]+" "+now.getDate()+"***</H4>"); > //End hiding --> > </script> > > This is the error mesage that Tidy gives for the line begining > "document.write" (which is written as one long line): > > line 62 column 124 - Warning: '<' + '/' + letter not allowed here This is explained in the HTML 4.0 spec. </ in SGML denotes the end of a CDATA element (script and style) and hence is not allowed within the contents of a script element. > (2) Tidy gives me this message: > > Warning: <meta> unrecognized attribute value "http-equiv" > > My HTML 4.0 documentation indicates that the attribute value is > valid. Can you explain this error message? http-equiv is declared as a valid HTML4 attribute so its possible you are using an old version of Tidy. Does the problem go away with the latest release? ps. I am out of email contact until Aug 17 Regards, -- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile) World Wide Web Consortium (on assignment from HP Labs)Received on Tuesday, 27 July 1999 15:10:00 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:37:46 GMT