;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;      Language related tests
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

lang_1a="lang attribute in html tag"
lang_1a_id="36"
lang_1a_test_for="html,html5"
lang_1a_info_lang="lang_attr_lang{ko}"
lang_1a_report=""

lang_1b="lang attribute in html tag"
lang_1b_id="36"
lang_1b_test_for="xhtml"
lang_1b_info_lang="lang_attr_lang{ko}"
lang_1b_report[]="rep_lang_missing_xml_attr{severity:warning}"

lang_1c="lang attribute in html tag"
lang_1c_id="36"
lang_1c_test_for="xhtml:xml,xhtml11:xml"
lang_1c_info_lang="lang_attr_lang{ko}"
lang_1c_report[]="rep_lang_missing_xml_attr{severity:error}"
lang_1c_report[]="rep_lang_html_no_effective_lang{severity:warning}"

lang_8a="lang without xml:lang in body"
lang_8a_id="5"
lang_8a_test_for="html"
lang_8a_report="rep_lang_xml_attr_in_html{severity:error}"

lang_8b="lang without xml:lang in body"
lang_8b_id="5"
lang_8b_test_for="html5"
lang_8b_report=""

lang_8c="lang without xml:lang in body"
lang_8c_id="5"
lang_8c_test_for="xhtml"
lang_8c_report[]="rep_lang_missing_xml_attr{severity:warning}"

lang_8d="lang without xml:lang in body"
lang_8d_id="5"
lang_8d_test_for="xhtml:xml,xhtml11:xml"
lang_8d_report[]="rep_lang_missing_xml_attr{severity:error}"

lang_2a="xml:lang attribute in html tag"
lang_2a_id="37"
lang_2a_test_for="html"
lang_2a_info_lang="lang_attr_lang{ko}"
lang_2a_report[]="rep_lang_html_no_effective_lang{severity:warning}"
lang_2a_report[]="rep_lang_xml_attr_in_html{severity:error}"

lang_2b="xml:lang attribute in html tag"
lang_2b_id="37"
lang_2b_test_for="html5"
lang_2b_info_lang="lang_attr_lang{ko}"
lang_2b_report[]="rep_lang_html_no_effective_lang{severity:warning}"
lang_2b_report[]="rep_lang_missing_html_attr{severity:error}"

lang_2c="xml:lang attribute in html tag"
lang_2c_id="37"
lang_2c_test_for="xhtml"
lang_2c_info_lang="lang_attr_lang{ko}"
lang_2c_report[]="rep_lang_html_no_effective_lang{severity:warning}"
lang_2c_report[]="rep_lang_missing_html_attr{severity:warning}"

lang_2d="xml:lang attribute in html tag"
lang_2d_id="37"
lang_2d_test_for="xhtml:xml,xhtml11:xml"
lang_2d_info_lang="lang_attr_lang{ko}"
lang_2d_report[]=""

lang_9a="xml:lang without lang in body"
lang_9a_id="6"
lang_9a_test_for="html"
lang_9a_report[]="rep_lang_xml_attr_in_html{severity:error}"

lang_9b="xml:lang without lang in body"
lang_9b_id="6"
lang_9b_test_for="html5"
lang_9b_report[]="rep_lang_missing_html_attr{severity:error}"

lang_9c="xml:lang without lang in body"
lang_9c_id="6"
lang_9c_test_for="xhtml"
lang_9c_report[]="rep_lang_missing_html_attr{severity:warning}"

lang_9d="xml:lang without lang in body"
lang_9d_id="6"
lang_9d_test_for="xhtml:xml,xhtml11:xml"
lang_9d_report[]=""

lang_3a="HTTP Content-Language header"
lang_3a_id="38"
lang_3a_test_for="html,html5,xhtml,xhtml:xml,xhtml11:xml"
lang_3a_info_lang="lang_http{ko}"
lang_3a_report[]="rep_lang_no_lang_attr{severity:warning}"
lang_3a_applicableOnlyTo="uri"

lang_4a="Content-Language meta element"
lang_4a_id="39"
lang_4a_test_for="html,xhtml,xhtml:xml,xhtml11:xml"
lang_4a_info_lang="lang_meta{ko}"
lang_4a_report[]="rep_lang_no_lang_attr{severity:warning}"
lang_4a_report[]="rep_lang_content_lang_meta{severity:warning}"

lang_4b="Content-Language meta element"
lang_4b_id="39"
lang_4b_test_for="html5"
lang_4b_info_lang="lang_meta{ko}"
lang_4b_report[]="rep_lang_no_lang_attr{severity:warning}"
lang_4b_report[]="rep_lang_content_lang_meta{severity:error}"

lang_5a="Mismatch between lang and xml:lang values in body"
lang_5a_id="1"
lang_5a_test_for="html"
lang_5a_report[]="rep_lang_xml_attr_in_html{severity:error}"
lang_5a_report[]="rep_lang_conflict{severity:error}"

lang_5b="Mismatch between lang and xml:lang values in body"
lang_5b_id="1"
lang_5b_test_for="html5,xhtml,xhtml:xml,xhtml11:xml"
lang_5b_report[]="rep_lang_conflict{severity:error}"

lang_6a="Mismatch between lang and xml:lang values in html tag"
lang_6a_id="2"
lang_6a_test_for="html"
lang_6a_report[]="rep_lang_xml_attr_in_html{severity:error}"
lang_6a_report[]="rep_lang_conflict{severity:error}"

lang_6b="Mismatch between lang and xml:lang values in html tag"
lang_6b_id="2"
lang_6b_test_for="html5,xhtml,xhtml:xml,xhtml11:xml"
lang_6b_report[]="rep_lang_conflict{severity:error}"

lang_7a="No language attribute in html tag or elsewhere"
lang_7a_id="3"
lang_7a_test_for="html,html5,xhtml,xhtml:xml,xhtml11:xml"
lang_7a_report[]="rep_lang_no_lang_attr"

lang_10a="Incorrect language values"
lang_10a_id="4"
lang_10a_test_for="html"
lang_10a_report[]="rep_lang_malformed_attr{severity:error}"
lang_10a_report[]="rep_lang_xml_attr_in_html{severity:error}"
lang_10a_report[]="rep_lang_conflict{severity:error}"

lang_10b="Incorrect language values"
lang_10b_id="4"
lang_10b_test_for="html5"
lang_10b_report[]="rep_lang_malformed_attr{severity:error}"
lang_10b_report[]="rep_lang_missing_html_attr{severity:error}"
lang_10b_report[]="rep_lang_conflict{severity:error}"

lang_10c="Incorrect language values"
lang_10c_id="4"
lang_10c_test_for="xhtml"
lang_10c_report[]="rep_lang_malformed_attr{severity:error}"
lang_10c_report[]="rep_lang_missing_html_attr{severity:warning}"
lang_10c_report[]="rep_lang_conflict{severity:error}"
lang_10c_report[]="rep_lang_missing_xml_attr{severity:warning}"
lang_10c_report[]="rep_lang_missing_html_attr{severity:warning}"

lang_10d="Incorrect language values"
lang_10d_id="4"
lang_10d_test_for="xhtml:xml,xhtml11:xml"
lang_10d_report[]="rep_lang_malformed_attr{severity:error}"
lang_10d_report[]="rep_lang_missing_xml_attr{severity:error}"
lang_10d_report[]="rep_lang_conflict{severity:error}"