I have switched off warnings and messages, and run my webhelp through the batch validator (version 10). I fixed many of the issues that it raised. But I am left with a few and I wanted to see if they were chm2web issues or false postives etc..
Here are the errors from the report:
- Code: Select all
http://www.publictalksoftware.co.uk/public_talks/HelpOnline/
Line:char Type Message Description
24:48 Error The "script" element cannot be used here. It is not contained in an element that allows its use.
<title>Public Talks Online Help</title></head><script type="text/JavaScript">
25:1 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frameset rows="30,*" frameborder="yes" framespacing="2" border="0" bordercolor="#85A4C2">');
25:18 Error The "frameset" element cannot be used here. It is contained in a "script" tag that cannot contain it.
document.write('<frameset rows="30,*" frameborder="yes" framespacing="2" border="0" bordercolor="#85A4C2">');
25:107 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frameset rows="30,*" frameborder="yes" framespacing="2" border="0" bordercolor="#85A4C2">');
26:71 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frame name="header" src="'+tabs[0]+'" scrolling="no">');
27:69 Error The "frameset" element must directly contain only the following elements: "frameset", "frame". Text is not allowed here.
document.write('<frameset cols="200,*" frameborder="yes" border="4">');
27:69 Error The "frameset" element must directly contain only the following elements: "frameset", "frame", "noframes". Text is not allowed here.
document.write('<frameset cols="200,*" frameborder="yes" border="4">');
27:69 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frameset cols="200,*" frameborder="yes" border="4">');
28:53 Error The "frameset" element must directly contain only the following elements: "frameset", "frame", "noframes". Text is not allowed here.
document.write('<frame name="toc" src="'+tabs[1]+'">');
28:53 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frame name="toc" src="'+tabs[1]+'">');
29:56 Error The "frameset" element must directly contain only the following elements: "frameset", "frame", "noframes". Text is not allowed here.
document.write('<frame name="content" src="' + F + '" >');
29:56 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('<frame name="content" src="' + F + '" >');
30:28 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('</frameset>');
31:28 Error Text is contained in a "html" element. Because it is contained here, it must also be contained in one of the following elements: "body" "head" "noframes".
document.write('</frameset>');
34:2 Error The "noscript" element cannot be used here. It is not contained in an element that allows its use.
<noscript><body><p>To display this page you need a browser with JavaScript support.</p><a href="helpcontents.html">Help contents</a></body></noscript></html>
Finally, I also got these errors:
- Code: Select all
Requested "http://www.publictalksoftware.co.uk/public_talks/HelpOnline/helpcontents.html".
Initiated a total of 6 URL downloads.
Waiting for all (if any) HTTP downloads to finish...
An error occurred for the request "http://www.publictalksoftware.co.uk/public_talks/HelpOnline/'+tabs[1]+'". Error: 0, Status: 404, Reason: Not Found. This target will not be processed.
An error occurred for the request "http://www.publictalksoftware.co.uk/public_talks/HelpOnline/'%20+%20F%20+%20'". Error: 0, Status: 404, Reason: Not Found. This target will not be processed.
An error occurred for the request "http://www.publictalksoftware.co.uk/public_talks/HelpOnline/'+tabs[0]+'". Error: 0, Status: 404, Reason: Not Found. This target will not be processed.
Validating "http://www.publictalksoftware.co.uk/public_talks/HelpOnline/files/supply.js"...
Again, I am not sure about twhere the issue is exactly.
If you can clarify if there are errors that I need to bring to the attention of the chm2web author then I would appreciate it.
Thanks.
Andrew



