markup-validator icon indicating copy to clipboard operation
markup-validator copied to clipboard

The online validator fails to detect and validate HTML5 and shows "The error was: Modification of a read-only value attempted "

Open GwenDragon opened this issue 3 years ago • 1 comments
trafficstars

https://validator.w3.org/ seems to be broken to detect automatically encoding and doctype.

Complete error message says: "Sorry, I am unable to validate this document because on line 1 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication. The error was: Modification of a read-only value attempted"

Used URL: https://validator.w3.org/check?uri=https://labs.gwendragon.de/blog/&charset=%28detect+automatically%29&doctype=Inline&group=0

GwenDragon avatar Jun 21 '22 09:06 GwenDragon

Validation for Nu checker at https://validator.w3.org/nu/?doc=https%3A%2F%2Flabs.gwendragon.de%2Fblog%2F works nice.

GwenDragon avatar Jun 21 '22 09:06 GwenDragon

Used URL: https://validator.w3.org/check?uri=https://labs.gwendragon.de/blog/&charset=%28detect+automatically%29&doctype=Inline&group=0

Works now.

GwenDragon avatar Dec 25 '22 16:12 GwenDragon