I can W3C validate a file online, but not within VS Code. It just says "W3C Validation : an error occurred" - nothing else

1 week ago 10
ARTICLE AD BOX

I have been using W3C Web Validator in MS VS Code for years with no issues. Today I was working on a basic HTML file normally, with W3C validation throwing up 1 error and 42 infos.

The "error" was related to a heading out hierarchical order - nothing major. The infos were all to do with "Trailing slash on void elements..." - something that is a consequence of formatting the code with Prettier.

Then I did an edit where I put a list item inside a element. It displayed OK, but W3C Validation just broke down, giving me just the message: > "W3C Validation : an error occurred". It would not show the errors or infos.

So I uploaded the problem file to the online W3C Markup Validation Service and it did not indicate any problem with the placing of the element. It showed just the same warnings I had seen before.

I have uninstalled and reinstalled the W3C Validator extension, but no improvement.

I have reversed the edit that caused the problem by removing the element from the list, but it still won't validate. Like sopmething's broken now.

Any ideas / suggestions as to what is causing this and how to fix it? VERY simple language if possible - I am not a professional coder.

Read Entire Article