Umoxfo / vscode-w3cvalidation

Adds W3C validation support to Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=Umoxfo.vscode-w3cvalidation
MIT License
9 stars 1 forks source link

validator does not show error #15

Closed thorstenkampe closed 4 years ago

thorstenkampe commented 5 years ago

Given the test document below, vscode-w3cvalidation does not display an error although the binary checker (vnu.jar) does:

Error: A "script" element with a "src" attribute must not have a "type" attribute whose value is anything other than the empty string, a JavaScript MIME type, or "module". From line 6, column 5; to line 6, column 45 in resource file:/test.html

<!DOCTYPE html>
<html lang="de">

<head>
    <title>test</title>
    <script src="test.py" type="text/python"></script>
</head>

</html>
Umoxfo commented 4 years ago

In v2.4.0, the Nu Html Checker v18.11.5 which is the official latest release is used.

In v2.5.0, it has been updated to the latest preview release.