celian-rib / vscode-webvalidation-extension

VSCode extension that let you check if an HTML or CSS file respect the W3C standards.
https://marketplace.visualstudio.com/items?itemName=CelianRiboulet.webvalidator
MIT License
24 stars 3 forks source link

doctype in lowercase creates validation errors #33

Closed ripcorddesign closed 1 year ago

ripcorddesign commented 1 year ago

"DOCTYPE" validates

"doctype" (<!doctype html>) errors

celian-rib commented 1 year ago

Hi @ripcorddesign, the DOCTYPE tag is case indeed not case-sensitive as related by W3C https://www.w3.org/TR/2010/WD-html-markup-20101019/syntax.html#doctype-syntax

But it seams like the W3C validation API is not working as expected for this special case. I'm afraid I can't do much about it.

Thanks for reporting this issue!

ripcorddesign commented 1 year ago

Understood. Odd that it seemed to work fine prior to just recently (the past few months).