Code: Select all
[size=85][/size]
The first two error messages I get are:
The same thing happens if I save the file then reopen it. I have closed TS and CSE and everything else and rebooted. No help.1 3 Found a misplaced document type declaration (<!DOCTYPE ... >). The DOCTYPE should normally be the first line of the document. An exception is for XML based documents where the first line is normally the XML declaration (<?xml ... >) and the second line is the document type declaration.
2 2 The "html" element cannot be used here. The "html" element is the root element of an HTML document and has already been used. It can only be used once, and only as the root element.
But If I check it via TS's W3C HTML Validator, I get: "This document was successfully checked as HTML5!"
I've repeated these tests several times with different parameters on one of the files.
I finally discovered that the problem was that the file was saved nominally as UTF-8 but at some point had been converted to ANSI by the composer component of SeaMonkey. I converted it back to UTF-8 using an online converter and the CSE tab in TS worked as it should.
The file is pretty simple. The code looks the same in -8 as it does in ANSI. And I believe I had the exact same file open in TS before I upgraded CSE, and it worked before but not after. And in either case, it tests just fine in straight CSE and W3C.
I've never had this problem in my 5 or more years of using TS, so is this a bug or am I missing something?