Re: misidentified the language of this document

Using https://validator.w3.org/nu/ the document can be checked, with no
certificate problem and with no warning. It seems that the Nu Html Checker
does not try to check document content language against the
declared language at all; it does not issue a warning no matter what I put
into the lang=... attribute as long as it formally matches the language
identifier syntax.

pe 14. toukok. 2021 klo 23.15 Jukka K. Korpela (jukkakk@gmail.com)
kirjoitti:

> There might be something odd in the validator now, since when I try to
> validate your document, I get
> ” 500 Can't connect to www.carharrackanimalfeeds.co.uk:443 (certificate
> verify failed)  ”
> Such an error message was also reported in the list recently. This may or
> may not relate to the problem of language identification (which is
> “heuristic”, i.e. more or less intelligent guesswork). I get the warning
> about “wrong language”, if I copy and paste the page content, using
> Validate by Direct Input, so perhaps the problems are not related.
>
>
> to 13. toukok. 2021 klo 13.14 Andy Baptist (andy@jezebeldesign.co.uk)
> kirjoitti:
>
>>
>>
>>
>> https://www.carharrackanimalfeeds.co.uk/feedbarn.php/dept/farm-animals/cat/102
>>
>>
>>
>> *This document appears to be written in Italian but the *html* start tag
>> has *lang="en"*. Consider using *lang="it"* (or variant) instead.*
>>
>> From line 1, column 16; to line 2, column 16
>>
>> TYPE html>↩<html lang="en">↩<head
>>
>> For further guidance, consult Declaring the overall language of a page
>> <https://www.w3.org/International/techniques/authoring-html.en?open=language&open=textprocessing#textprocessing>
>>  and Choosing language tags
>> <https://www.w3.org/International/techniques/authoring-html.en?open=language&open=langvalues#langvalues>
>> .
>>
>> If the HTML checker has misidentified the language of this document,
>> please file an issue report
>> <https://github.com/validator/validator/issues/new> or send e-mail to
>> report the problem <www-validator@w3.org>.
>>
>>
>>
>>
>> ------------------------------
>> [image: Avast logo] <https://www.avast.com/antivirus>
>>
>> This email has been checked for viruses by Avast antivirus software.
>> www.avast.com <https://www.avast.com/antivirus>
>>
>>
>> <#m_-6672050974608300039_m_7517891611105258593_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>

Received on Saturday, 15 May 2021 09:09:42 UTC