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

Warning: '<' + '/' + letter not allowed here

From: <ClaireRafferty@redcar-cleveland.gov.uk>
Date: Tue, 6 Dec 2005 15:46:22 +0000
To: html-tidy@w3.org
Message-ID: <OF0DEDA826.6A74ED33-ON802570CF.0055E824-802570CF.0056154A@redcar-cleveland.gov.uk>
Hi there,

I'm loosing my mind here!!!!!!  I'm using HTML tidy.

I have a scroll bar on my homepage that uses some javascript.  Here is the 
block of code -

                <script type='text/javascript'>var messages=new Array();
</script><div style='border:none;border-bottom:1px solid 
#9f9f9f;padding:0px;padding-bottom:7px;margin:none;margin-bottom:7px'><script 
type='text/javascript' src='/Store.nsf/scroller.js'></script></div>


The code behind the computed text which is causing these problems is as 
follows -

SF := @Explode(lookup[11];";");
x := 0;
@For(n := 1;
        n <= @Elements(SF);
        n := n + 1;
        HTML := HTML + "messages["+@Text(x)+"]=\"";
        HTML := HTML + 
@DbLookup("":"NoCache";"":"menus.nsf";"FeaturesLookup";SF[n];2;[FailSilent]) 
+ "<br />";
        n := n + 1;
        HTML := HTML + 
@DbLookup("":"NoCache";"":"menus.nsf";"FeaturesLookup";SF[n];2;[FailSilent]);
        HTML := HTML + "\""+@Char(13) ;
        x := x + 1
);
HTML


How can I stop getting the Warning: '<' + '/' + letter not allowed here 
error?????







Regards
Clare Rafferty
Web Team
Ext. 4478
Received on Thursday, 8 December 2005 04:08:01 GMT

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