roedygr wrote:The "type" attribute specifies an unrecognized scripting language "text/vbscript". Make sure the value is correct. NOTE: The value should be a case-insensitive match for a valid MIME type of a scripting language.
This is going a bit far. It should simply ignore it or warn it refuses to validate it on the grounds it is proprietary and not much used.
Yes, this has been fixed, but I think your idea about displaying a warning about vbscript is a good idea. I will add that.
UPDATE: A warning is now displayed for "text/vbscript":
[1] VBScript is mainly supported by Internet Explorer. Other browsers like Firefox, Opera, and Safari do not have built-in support for VBScript and are unlikely to support it. Consider using JavaScript for cross-browser compatibility. This message is displayed only once.roedygr wrote:I wrote earlier about HTMLValidator getting confused between VBScript and JavaScript. I had to turn off JavaScript validation. I would hope this should not be necessary.
I believe this was a limitation of
JavaScript Lint which
CSE HTML Validator uses. I have been trying to contact the author of
JavaScript Lint and find out if a suitable update is available to include with
CSE HTML Validator v10 but I have been unsuccessful so far.