HTML5 lang attribute problem

Hi,

I'm having a problem with HTML5-Validator (validator.w3.org)

I'm getting the following error when using lang="arz" (for egyptian arabic):
"Bad value arz for attribute lang on element html: The language subtag 
arz is not a valid ISO language part of a language tag."

The language-Code "arz" is defined in ISO 639-3 and it's prefered to use 
it according to RFC 5646 
(http://tools.ietf.org/html/rfc5646#section-4.1.2). It's also used by 
Wikipedia Masry (http://arz.wikipedia.org).

The test code I used:

<!DOCTYPE html>
<html lang="arz" >
     <head>
         <meta charset="UTF-8" />
         <title>TEST</title>
     </head>
     <body>
         <p>Test</p>
     </body>
</html>

The problem is reproducible with the different validator's input methods 
(by URI, by File Upload, by Direct Input) and with other language codes 
like "yue" for cantonese chineese.

Thanks,
Mario

Received on Saturday, 27 April 2013 17:52:54 UTC