lang attribute ISO 639-3 support

www-validator@w3.org:

According the the HTML 5 working draft the lang attribute is supposed to be a valid BCP 47 language tag as defined by the Internet Engineering Task Force (IETF) in the BCP 47 standard. The BCP 47 standard states that a valid primary language can be a language code defined in the ISO 639-3 standard. However, the validator does not recognise the ISO 639-3 codes and so the following is deemed invalid HTML 5:

<!DOCTYPE html>
<html lang="eng-GB">
    <head>
        <meta charset="UTF-8"/>
        <title>Invalid HTML 5</title>
    </head>
    <body>
    </body>
</html>

http://tools.ietf.org/rfc/bcp/bcp47.txt

Yours respectfully,
Stefán Örvar Sigmundsson
 		 	   		  

Received on Monday, 5 August 2013 05:59:15 UTC