text: #include <tree_sitter/parser.h>
  
  #if defined(__GNUC__) || defined(__clang__)
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
  #endif
  
  #define LANGUAGE_VERSION 12
  #define STATE_COUNT 483
  #define LARGE_STATE_COUNT 2
  #define SYMBOL_COUNT 172
  #define ALIAS_COUNT 8
  #define TOKEN_COUNT 97
  #define EXTERNAL_TOKEN_COUNT 0
  #define FIELD_COUNT 0
  #define MAX_ALIAS_SEQUENCE_LENGTH 11
  
  enum {
    aux_sym__name_char_token1 = 1,
    anon_sym_DOT = 2,
    anon_sym_DASH = 3,
    anon_sym_COLON = 4,
    aux_sym__name_char_token2 = 5,
    aux_sym__name_char_token3 = 6,
    aux_sym__name_char_token4 = 7,
    aux_sym__name_char_token5 = 8,
    aux_sym__name_char_token6 = 9,
    aux_sym__name_char_token7 = 10,
    aux_sym__name_char_token8 = 11,
    aux_sym__name_char_token9 = 12,
    aux_sym__name_char_token10 = 13,
    aux_sym__name_char_token11 = 14,
    aux_sym__name_char_token12 = 15,
    aux_sym__name_char_token13 = 16,
    aux_sym__name_char_token14 = 17,
    aux_sym__name_char_token15 = 18,
    anon_sym__ = 19,
    aux_sym_names_token1 = 20,
    anon_sym_DQUOTE = 21,
    aux_sym_entity_value_token1 = 22,
    anon_sym_SQUOTE = 23,
    aux_sym_system_literal_token1 = 24,
    sym_pubid_char = 25,
    sym__char_data = 26,
    anon_sym_LT_BANG_DASH_DASH = 27,
    aux_sym_comment_token1 = 28,
    anon_sym_DASH_DASH_GT = 29,
    anon_sym_LT_QMARK = 30,
    aux_sym_processing_instructions_token1 = 31,
    anon_sym_QMARK_GT = 32,
    sym__cdata_start = 33,
    aux_sym_cdata_token1 = 34,
    anon_sym_RBRACK_RBRACK_GT = 35,
    anon_sym_LT_QMARKxml = 36,
    anon_sym_version = 37,
    anon_sym_EQ = 38,
    anon_sym_1_DOT = 39,
    aux_sym__version_num_token1 = 40,
    anon_sym_LT_BANGDOCTYPE = 41,
    anon_sym_LBRACK = 42,
    anon_sym_RBRACK = 43,
    anon_sym_GT = 44,
    anon_sym_standalone = 45,
    anon_sym_yes = 46,
    anon_sym_no = 47,
    aux_sym__iso639_code_token1 = 48,
    aux_sym__iso639_code_token2 = 49,
    anon_sym_i = 50,
    anon_sym_I = 51,
    anon_sym_x = 52,
    anon_sym_X = 53,
    anon_sym_LT = 54,
    anon_sym_LT_SLASH = 55,
    anon_sym_SLASH_GT = 56,
    anon_sym_LT_BANGELEMENT = 57,
    anon_sym_EMPTY = 58,
    anon_sym_ANY = 59,
    anon_sym_QMARK = 60,
    anon_sym_STAR = 61,
    anon_sym_PLUS = 62,
    anon_sym_LPAREN = 63,
    anon_sym_PIPE = 64,
    anon_sym_RPAREN = 65,
    anon_sym_COMMA = 66,
    anon_sym_POUNDPCDATA = 67,
    anon_sym_RPAREN_STAR = 68,
    anon_sym_LT_BANGATTLIST = 69,
    sym__string_type = 70,
    anon_sym_ID = 71,
    anon_sym_IDREF = 72,
    anon_sym_IDREFS = 73,
    anon_sym_ENTITY = 74,
    anon_sym_ENTITIES = 75,
    anon_sym_NMTOKEN = 76,
    anon_sym_NMTOKENS = 77,
    anon_sym_NOTATION = 78,
    anon_sym_POUNDREQUIRED = 79,
    anon_sym_POUNDIMPLIED = 80,
    anon_sym_POUNDFIXED = 81,
    anon_sym_LT_BANG_LBRACK = 82,
    anon_sym_AMP_POUND = 83,
    anon_sym_SEMI = 84,
    anon_sym_AMP_POUNDx = 85,
    aux_sym_char_ref_token1 = 86,
    anon_sym_AMP = 87,
    anon_sym_PERCENT = 88,
    anon_sym_LT_BANGENTITY = 89,
    anon_sym_SYSTEM = 90,
    anon_sym_PUBLIC = 91,
    anon_sym_NDATA = 92,
    anon_sym_encoding = 93,
    aux_sym__enc_name_token1 = 94,
    aux_sym__enc_name_token2 = 95,
    anon_sym_LT_BANGNOTATION = 96,
    sym_document = 97,
    sym__name_char = 98,
    sym__name = 99,
    sym_nm_token = 100,
    sym_entity_value = 101,
    sym_attribute_value = 102,
    sym_system_literal = 103,
    sym_pubid_literal = 104,
    sym_comment = 105,
    sym_processing_instructions = 106,
    sym_pi_target = 107,
    sym_cdata_sect = 108,
    sym_cdata = 109,
    sym__cdata_end = 110,
    sym_prolog = 111,
    sym_xml_decl = 112,
    sym_version_info = 113,
    sym__version_num = 114,
    sym__misc = 115,
    sym_doctype_decl = 116,
    sym__markup_decl = 117,
    sym_standalone_decl = 118,
    sym_element = 119,
    sym_start_tag = 120,
    sym_attribute = 121,
    sym_end_tag = 122,
    aux_sym__content = 123,
    sym_empty_elem_tag = 124,
    sym_element_decl = 125,
    sym_content_spec = 126,
    sym_children = 127,
    sym_cp = 128,
    sym_element_choice = 129,
    sym_element_seq = 130,
    sym_mixed = 131,
    sym_attlist_decl = 132,
    sym_attribute_def = 133,
    sym_attribute_type = 134,
    sym__tokenized_type = 135,
    sym__enumerated_type = 136,
    sym_notation_type = 137,
    sym_enumeration = 138,
    sym_default_decl = 139,
    sym_char_ref = 140,
    sym_reference = 141,
    sym_entity_ref = 142,
    sym_pe_reference = 143,
    sym_entity_decl = 144,
    sym_ge_decl = 145,
    sym_pe_decl = 146,
    sym_entity_def = 147,
    sym_pe_def = 148,
    sym_external_id = 149,
    sym_ndata_decl = 150,
    sym_encoding_decl = 151,
    sym__enc_name = 152,
    sym_notation_decl = 153,
    sym_public_id = 154,
    aux_sym_document_repeat1 = 155,
    aux_sym_document_repeat2 = 156,
    aux_sym_document_repeat3 = 157,
    aux_sym__name_repeat1 = 158,
    aux_sym_entity_value_repeat1 = 159,
    aux_sym_attribute_value_repeat1 = 160,
    aux_sym_pubid_literal_repeat1 = 161,
    aux_sym_comment_repeat1 = 162,
    aux_sym_doctype_decl_repeat1 = 163,
    aux_sym_start_tag_repeat1 = 164,
    aux_sym_element_choice_repeat1 = 165,
    aux_sym_element_seq_repeat1 = 166,
    aux_sym_mixed_repeat1 = 167,
    aux_sym_attlist_decl_repeat1 = 168,
    aux_sym_notation_type_repeat1 = 169,
    aux_sym_enumeration_repeat1 = 170,
    aux_sym__enc_name_repeat1 = 171,
    alias_sym_attlist_name = 172,
    alias_sym_attribute_name = 173,
    alias_sym_doctype = 174,
    alias_sym_element_name = 175,
    alias_sym_ndata_name = 176,
    alias_sym_notation_name = 177,
    alias_sym_notation_type_name = 178,
    alias_sym_tag_name = 179,
  };
  
  static const char *ts_symbol_names[] = {
    [ts_builtin_sym_end] = "end",
    [aux_sym__name_char_token1] = "_name_char_token1",
    [anon_sym_DOT] = ".",
    [anon_sym_DASH] = "-",
    [anon_sym_COLON] = ":",
    [aux_sym__name_char_token2] = "_name_char_token2",
    [aux_sym__name_char_token3] = "_name_char_token3",
    [aux_sym__name_char_token4] = "_name_char_token4",
    [aux_sym__name_char_token5] = "_name_char_token5",
    [aux_sym__name_char_token6] = "_name_char_token6",
    [aux_sym__name_char_token7] = "_name_char_token7",
    [aux_sym__name_char_token8] = "_name_char_token8",
    [aux_sym__name_char_token9] = "_name_char_token9",
    [aux_sym__name_char_token10] = "_name_char_token10",
    [aux_sym__name_char_token11] = "_name_char_token11",
    [aux_sym__name_char_token12] = "_name_char_token12",
    [aux_sym__name_char_token13] = "_name_char_token13",
    [aux_sym__name_char_token14] = "_name_char_token14",
    [aux_sym__name_char_token15] = "_name_char_token15",
    [anon_sym__] = "_",
    [aux_sym_names_token1] = "names_token1",
    [anon_sym_DQUOTE] = "\"",
    [aux_sym_entity_value_token1] = "entity_value_token1",
    [anon_sym_SQUOTE] = "'",
    [aux_sym_system_literal_token1] = "system_literal_token1",
    [sym_pubid_char] = "pubid_char",
    [sym__char_data] = "text",
    [anon_sym_LT_BANG_DASH_DASH] = "<!--",
    [aux_sym_comment_token1] = "comment_token1",
    [anon_sym_DASH_DASH_GT] = "-->",
    [anon_sym_LT_QMARK] = "<\?",
    [aux_sym_processing_instructions_token1] = "processing_instructions_token1",
    [anon_sym_QMARK_GT] = "\?>",
    [sym__cdata_start] = "_cdata_start",
    [aux_sym_cdata_token1] = "cdata_token1",
    [anon_sym_RBRACK_RBRACK_GT] = "]]>",
    [anon_sym_LT_QMARKxml] = "<\?xml",
    [anon_sym_version] = "version",
    [anon_sym_EQ] = "=",
    [anon_sym_1_DOT] = "1.",
    [aux_sym__version_num_token1] = "_version_num_token1",
    [anon_sym_LT_BANGDOCTYPE] = "<!DOCTYPE",
    [anon_sym_LBRACK] = "[",
    [anon_sym_RBRACK] = "]",
    [anon_sym_GT] = ">",
    [anon_sym_standalone] = "standalone",
    [anon_sym_yes] = "yes",
    [anon_sym_no] = "no",
    [aux_sym__iso639_code_token1] = "_iso639_code_token1",
    [aux_sym__iso639_code_token2] = "_iso639_code_token2",
    [anon_sym_i] = "i",
    [anon_sym_I] = "I",
    [anon_sym_x] = "x",
    [anon_sym_X] = "X",
    [anon_sym_LT] = "<",
    [anon_sym_LT_SLASH] = "</",
    [anon_sym_SLASH_GT] = "/>",
    [anon_sym_LT_BANGELEMENT] = "<!ELEMENT",
    [anon_sym_EMPTY] = "EMPTY",
    [anon_sym_ANY] = "ANY",
    [anon_sym_QMARK] = "\?",
    [anon_sym_STAR] = "*",
    [anon_sym_PLUS] = "+",
    [anon_sym_LPAREN] = "(",
    [anon_sym_PIPE] = "|",
    [anon_sym_RPAREN] = ")",
    [anon_sym_COMMA] = ",",
    [anon_sym_POUNDPCDATA] = "#PCDATA",
    [anon_sym_RPAREN_STAR] = ")*",
    [anon_sym_LT_BANGATTLIST] = "<!ATTLIST",
    [sym__string_type] = "_string_type",
    [anon_sym_ID] = "ID",
    [anon_sym_IDREF] = "IDREF",
    [anon_sym_IDREFS] = "IDREFS",
    [anon_sym_ENTITY] = "ENTITY",
    [anon_sym_ENTITIES] = "ENTITIES",
    [anon_sym_NMTOKEN] = "NMTOKEN",
    [anon_sym_NMTOKENS] = "NMTOKENS",
    [anon_sym_NOTATION] = "NOTATION",
    [anon_sym_POUNDREQUIRED] = "#REQUIRED",
    [anon_sym_POUNDIMPLIED] = "#IMPLIED",
    [anon_sym_POUNDFIXED] = "#FIXED",
    [anon_sym_LT_BANG_LBRACK] = "<![",
    [anon_sym_AMP_POUND] = "&#",
    [anon_sym_SEMI] = ";",
    [anon_sym_AMP_POUNDx] = "&#x",
    [aux_sym_char_ref_token1] = "char_ref_token1",
    [anon_sym_AMP] = "&",
    [anon_sym_PERCENT] = "%",
    [anon_sym_LT_BANGENTITY] = "<!ENTITY",
    [anon_sym_SYSTEM] = "SYSTEM",
    [anon_sym_PUBLIC] = "PUBLIC",
    [anon_sym_NDATA] = "NDATA",
    [anon_sym_encoding] = "encoding",
    [aux_sym__enc_name_token1] = "_enc_name_token1",
    [aux_sym__enc_name_token2] = "_enc_name_token2",
    [anon_sym_LT_BANGNOTATION] = "<!NOTATION",
    [sym_document] = "document",
    [sym__name_char] = "_name_char",
    [sym__name] = "_name",
    [sym_nm_token] = "nm_token",
    [sym_entity_value] = "entity_value",
    [sym_attribute_value] = "attribute_value",
    [sym_system_literal] = "system_literal",
    [sym_pubid_literal] = "pubid_literal",
    [sym_comment] = "comment",
    [sym_processing_instructions] = "processing_instructions",
    [sym_pi_target] = "pi_target",
    [sym_cdata_sect] = "cdata_sect",
    [sym_cdata] = "cdata",
    [sym__cdata_end] = "_cdata_end",
    [sym_prolog] = "prolog",
    [sym_xml_decl] = "xml_decl",
    [sym_version_info] = "version_info",
    [sym__version_num] = "_version_num",
    [sym__misc] = "_misc",
    [sym_doctype_decl] = "doctype_decl",
    [sym__markup_decl] = "_markup_decl",
    [sym_standalone_decl] = "standalone_decl",
    [sym_element] = "element",
    [sym_start_tag] = "start_tag",
    [sym_attribute] = "attribute",
    [sym_end_tag] = "end_tag",
    [aux_sym__content] = "_content",
    [sym_empty_elem_tag] = "empty_elem_tag",
    [sym_element_decl] = "element_decl",
    [sym_content_spec] = "content_spec",
    [sym_children] = "children",
    [sym_cp] = "cp",
    [sym_element_choice] = "element_choice",
    [sym_element_seq] = "element_seq",
    [sym_mixed] = "mixed",
    [sym_attlist_decl] = "attlist_decl",
    [sym_attribute_def] = "attribute_def",
    [sym_attribute_type] = "attribute_type",
    [sym__tokenized_type] = "_tokenized_type",
    [sym__enumerated_type] = "_enumerated_type",
    [sym_notation_type] = "notation_type",
    [sym_enumeration] = "enumeration",
    [sym_default_decl] = "default_decl",
    [sym_char_ref] = "char_ref",
    [sym_reference] = "reference",
    [sym_entity_ref] = "entity_ref",
    [sym_pe_reference] = "pe_reference",
    [sym_entity_decl] = "entity_decl",
    [sym_ge_decl] = "ge_decl",
    [sym_pe_decl] = "pe_decl",
    [sym_entity_def] = "entity_def",
    [sym_pe_def] = "pe_def",
    [sym_external_id] = "external_id",
    [sym_ndata_decl] = "ndata_decl",
    [sym_encoding_decl] = "encoding_decl",
    [sym__enc_name] = "_enc_name",
    [sym_notation_decl] = "notation_decl",
    [sym_public_id] = "public_id",
    [aux_sym_document_repeat1] = "document_repeat1",
    [aux_sym_document_repeat2] = "document_repeat2",
    [aux_sym_document_repeat3] = "document_repeat3",
    [aux_sym__name_repeat1] = "_name_repeat1",
    [aux_sym_entity_value_repeat1] = "entity_value_repeat1",
    [aux_sym_attribute_value_repeat1] = "attribute_value_repeat1",
    [aux_sym_pubid_literal_repeat1] = "pubid_literal_repeat1",
    [aux_sym_comment_repeat1] = "comment_repeat1",
    [aux_sym_doctype_decl_repeat1] = "doctype_decl_repeat1",
    [aux_sym_start_tag_repeat1] = "start_tag_repeat1",
    [aux_sym_element_choice_repeat1] = "element_choice_repeat1",
    [aux_sym_element_seq_repeat1] = "element_seq_repeat1",
    [aux_sym_mixed_repeat1] = "mixed_repeat1",
    [aux_sym_attlist_decl_repeat1] = "attlist_decl_repeat1",
    [aux_sym_notation_type_repeat1] = "notation_type_repeat1",
    [aux_sym_enumeration_repeat1] = "enumeration_repeat1",
    [aux_sym__enc_name_repeat1] = "_enc_name_repeat1",
    [alias_sym_attlist_name] = "attlist_name",
    [alias_sym_attribute_name] = "attribute_name",
    [alias_sym_doctype] = "doctype",
    [alias_sym_element_name] = "element_name",
    [alias_sym_ndata_name] = "ndata_name",
    [alias_sym_notation_name] = "notation_name",
    [alias_sym_notation_type_name] = "notation_type_name",
    [alias_sym_tag_name] = "tag_name",
  };
  
  static TSSymbol ts_symbol_map[] = {
    [ts_builtin_sym_end] = ts_builtin_sym_end,
    [aux_sym__name_char_token1] = aux_sym__name_char_token1,
    [anon_sym_DOT] = anon_sym_DOT,
    [anon_sym_DASH] = anon_sym_DASH,
    [anon_sym_COLON] = anon_sym_COLON,
    [aux_sym__name_char_token2] = aux_sym__name_char_token2,
    [aux_sym__name_char_token3] = aux_sym__name_char_token3,
    [aux_sym__name_char_token4] = aux_sym__name_char_token4,
    [aux_sym__name_char_token5] = aux_sym__name_char_token5,
    [aux_sym__name_char_token6] = aux_sym__name_char_token6,
    [aux_sym__name_char_token7] = aux_sym__name_char_token7,
    [aux_sym__name_char_token8] = aux_sym__name_char_token8,
    [aux_sym__name_char_token9] = aux_sym__name_char_token9,
    [aux_sym__name_char_token10] = aux_sym__name_char_token10,
    [aux_sym__name_char_token11] = aux_sym__name_char_token11,
    [aux_sym__name_char_token12] = aux_sym__name_char_token12,
    [aux_sym__name_char_token13] = aux_sym__name_char_token13,
    [aux_sym__name_char_token14] = aux_sym__name_char_token14,
    [aux_sym__name_char_token15] = aux_sym__name_char_token15,
    [anon_sym__] = anon_sym__,
    [aux_sym_names_token1] = aux_sym_names_token1,
    [anon_sym_DQUOTE] = anon_sym_DQUOTE,
    [aux_sym_entity_value_token1] = aux_sym_entity_value_token1,
    [anon_sym_SQUOTE] = anon_sym_SQUOTE,
    [aux_sym_system_literal_token1] = aux_sym_system_literal_token1,
    [sym_pubid_char] = sym_pubid_char,
    [sym__char_data] = sym__char_data,
    [anon_sym_LT_BANG_DASH_DASH] = anon_sym_LT_BANG_DASH_DASH,
    [aux_sym_comment_token1] = aux_sym_comment_token1,
    [anon_sym_DASH_DASH_GT] = anon_sym_DASH_DASH_GT,
    [anon_sym_LT_QMARK] = anon_sym_LT_QMARK,
    [aux_sym_processing_instructions_token1] = aux_sym_processing_instructions_token1,
    [anon_sym_QMARK_GT] = anon_sym_QMARK_GT,
    [sym__cdata_start] = sym__cdata_start,
    [aux_sym_cdata_token1] = aux_sym_cdata_token1,
    [anon_sym_RBRACK_RBRACK_GT] = anon_sym_RBRACK_RBRACK_GT,
    [anon_sym_LT_QMARKxml] = anon_sym_LT_QMARKxml,
    [anon_sym_version] = anon_sym_version,
    [anon_sym_EQ] = anon_sym_EQ,
    [anon_sym_1_DOT] = anon_sym_1_DOT,
    [aux_sym__version_num_token1] = aux_sym__version_num_token1,
    [anon_sym_LT_BANGDOCTYPE] = anon_sym_LT_BANGDOCTYPE,
    [anon_sym_LBRACK] = anon_sym_LBRACK,
    [anon_sym_RBRACK] = anon_sym_RBRACK,
    [anon_sym_GT] = anon_sym_GT,
    [anon_sym_standalone] = anon_sym_standalone,
    [anon_sym_yes] = anon_sym_yes,
    [anon_sym_no] = anon_sym_no,
    [aux_sym__iso639_code_token1] = aux_sym__iso639_code_token1,
    [aux_sym__iso639_code_token2] = aux_sym__iso639_code_token2,
    [anon_sym_i] = anon_sym_i,
    [anon_sym_I] = anon_sym_I,
    [anon_sym_x] = anon_sym_x,
    [anon_sym_X] = anon_sym_X,
    [anon_sym_LT] = anon_sym_LT,
    [anon_sym_LT_SLASH] = anon_sym_LT_SLASH,
    [anon_sym_SLASH_GT] = anon_sym_SLASH_GT,
    [anon_sym_LT_BANGELEMENT] = anon_sym_LT_BANGELEMENT,
    [anon_sym_EMPTY] = anon_sym_EMPTY,
    [anon_sym_ANY] = anon_sym_ANY,
    [anon_sym_QMARK] = anon_sym_QMARK,
    [anon_sym_STAR] = anon_sym_STAR,
    [anon_sym_PLUS] = anon_sym_PLUS,
    [anon_sym_LPAREN] = anon_sym_LPAREN,
    [anon_sym_PIPE] = anon_sym_PIPE,
    [anon_sym_RPAREN] = anon_sym_RPAREN,
    [anon_sym_COMMA] = anon_sym_COMMA,
    [anon_sym_POUNDPCDATA] = anon_sym_POUNDPCDATA,
    [anon_sym_RPAREN_STAR] = anon_sym_RPAREN_STAR,
    [anon_sym_LT_BANGATTLIST] = anon_sym_LT_BANGATTLIST,
    [sym__string_type] = sym__string_type,
    [anon_sym_ID] = anon_sym_ID,
    [anon_sym_IDREF] = anon_sym_IDREF,
    [anon_sym_IDREFS] = anon_sym_IDREFS,
    [anon_sym_ENTITY] = anon_sym_ENTITY,
    [anon_sym_ENTITIES] = anon_sym_ENTITIES,
    [anon_sym_NMTOKEN] = anon_sym_NMTOKEN,
    [anon_sym_NMTOKENS] = anon_sym_NMTOKENS,
    [anon_sym_NOTATION] = anon_sym_NOTATION,
    [anon_sym_POUNDREQUIRED] = anon_sym_POUNDREQUIRED,
    [anon_sym_POUNDIMPLIED] = anon_sym_POUNDIMPLIED,
    [anon_sym_POUNDFIXED] = anon_sym_POUNDFIXED,
    [anon_sym_LT_BANG_LBRACK] = anon_sym_LT_BANG_LBRACK,
    [anon_sym_AMP_POUND] = anon_sym_AMP_POUND,
    [anon_sym_SEMI] = anon_sym_SEMI,
    [anon_sym_AMP_POUNDx] = anon_sym_AMP_POUNDx,
    [aux_sym_char_ref_token1] = aux_sym_char_ref_token1,
    [anon_sym_AMP] = anon_sym_AMP,
    [anon_sym_PERCENT] = anon_sym_PERCENT,
    [anon_sym_LT_BANGENTITY] = anon_sym_LT_BANGENTITY,
    [anon_sym_SYSTEM] = anon_sym_SYSTEM,
    [anon_sym_PUBLIC] = anon_sym_PUBLIC,
    [anon_sym_NDATA] = anon_sym_NDATA,
    [anon_sym_encoding] = anon_sym_encoding,
    [aux_sym__enc_name_token1] = aux_sym__enc_name_token1,
    [aux_sym__enc_name_token2] = aux_sym__enc_name_token2,
    [anon_sym_LT_BANGNOTATION] = anon_sym_LT_BANGNOTATION,
    [sym_document] = sym_document,
    [sym__name_char] = sym__name_char,
    [sym__name] = sym__name,
    [sym_nm_token] = sym_nm_token,
    [sym_entity_value] = sym_entity_value,
    [sym_attribute_value] = sym_attribute_value,
    [sym_system_literal] = sym_system_literal,
    [sym_pubid_literal] = sym_pubid_literal,
    [sym_comment] = sym_comment,
    [sym_processing_instructions] = sym_processing_instructions,
    [sym_pi_target] = sym_pi_target,
    [sym_cdata_sect] = sym_cdata_sect,
    [sym_cdata] = sym_cdata,
    [sym__cdata_end] = sym__cdata_end,
    [sym_prolog] = sym_prolog,
    [sym_xml_decl] = sym_xml_decl,
    [sym_version_info] = sym_version_info,
    [sym__version_num] = sym__version_num,
    [sym__misc] = sym__misc,
    [sym_doctype_decl] = sym_doctype_decl,
    [sym__markup_decl] = sym__markup_decl,
    [sym_standalone_decl] = sym_standalone_decl,
    [sym_element] = sym_element,
    [sym_start_tag] = sym_start_tag,
    [sym_attribute] = sym_attribute,
    [sym_end_tag] = sym_end_tag,
    [aux_sym__content] = aux_sym__content,
    [sym_empty_elem_tag] = sym_empty_elem_tag,
    [sym_element_decl] = sym_element_decl,
    [sym_content_spec] = sym_content_spec,
    [sym_children] = sym_children,
    [sym_cp] = sym_cp,
    [sym_element_choice] = sym_element_choice,
    [sym_element_seq] = sym_element_seq,
    [sym_mixed] = sym_mixed,
    [sym_attlist_decl] = sym_attlist_decl,
    [sym_attribute_def] = sym_attribute_def,
    [sym_attribute_type] = sym_attribute_type,
    [sym__tokenized_type] = sym__tokenized_type,
    [sym__enumerated_type] = sym__enumerated_type,
    [sym_notation_type] = sym_notation_type,
    [sym_enumeration] = sym_enumeration,
    [sym_default_decl] = sym_default_decl,
    [sym_char_ref] = sym_char_ref,
    [sym_reference] = sym_reference,
    [sym_entity_ref] = sym_entity_ref,
    [sym_pe_reference] = sym_pe_reference,
    [sym_entity_decl] = sym_entity_decl,
    [sym_ge_decl] = sym_ge_decl,
    [sym_pe_decl] = sym_pe_decl,
    [sym_entity_def] = sym_entity_def,
    [sym_pe_def] = sym_pe_def,
    [sym_external_id] = sym_external_id,
    [sym_ndata_decl] = sym_ndata_decl,
    [sym_encoding_decl] = sym_encoding_decl,
    [sym__enc_name] = sym__enc_name,
    [sym_notation_decl] = sym_notation_decl,
    [sym_public_id] = sym_public_id,
    [aux_sym_document_repeat1] = aux_sym_document_repeat1,
    [aux_sym_document_repeat2] = aux_sym_document_repeat2,
    [aux_sym_document_repeat3] = aux_sym_document_repeat3,
    [aux_sym__name_repeat1] = aux_sym__name_repeat1,
    [aux_sym_entity_value_repeat1] = aux_sym_entity_value_repeat1,
    [aux_sym_attribute_value_repeat1] = aux_sym_attribute_value_repeat1,
    [aux_sym_pubid_literal_repeat1] = aux_sym_pubid_literal_repeat1,
    [aux_sym_comment_repeat1] = aux_sym_comment_repeat1,
    [aux_sym_doctype_decl_repeat1] = aux_sym_doctype_decl_repeat1,
    [aux_sym_start_tag_repeat1] = aux_sym_start_tag_repeat1,
    [aux_sym_element_choice_repeat1] = aux_sym_element_choice_repeat1,
    [aux_sym_element_seq_repeat1] = aux_sym_element_seq_repeat1,
    [aux_sym_mixed_repeat1] = aux_sym_mixed_repeat1,
    [aux_sym_attlist_decl_repeat1] = aux_sym_attlist_decl_repeat1,
    [aux_sym_notation_type_repeat1] = aux_sym_notation_type_repeat1,
    [aux_sym_enumeration_repeat1] = aux_sym_enumeration_repeat1,
    [aux_sym__enc_name_repeat1] = aux_sym__enc_name_repeat1,
    [alias_sym_attlist_name] = alias_sym_attlist_name,
    [alias_sym_attribute_name] = alias_sym_attribute_name,
    [alias_sym_doctype] = alias_sym_doctype,
    [alias_sym_element_name] = alias_sym_element_name,
    [alias_sym_ndata_name] = alias_sym_ndata_name,
    [alias_sym_notation_name] = alias_sym_notation_name,
    [alias_sym_notation_type_name] = alias_sym_notation_type_name,
    [alias_sym_tag_name] = alias_sym_tag_name,
  };
  
  static const TSSymbolMetadata ts_symbol_metadata[] = {
    [ts_builtin_sym_end] = {
      .visible = false,
      .named = true,
    },
    [aux_sym__name_char_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_DOT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_DASH] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_COLON] = {
      .visible = true,
      .named = false,
    },
    [aux_sym__name_char_token2] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token3] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token4] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token5] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token6] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token7] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token8] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token9] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token10] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token11] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token12] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token13] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token14] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_char_token15] = {
      .visible = false,
      .named = false,
    },
    [anon_sym__] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_names_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_DQUOTE] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_entity_value_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_SQUOTE] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_system_literal_token1] = {
      .visible = false,
      .named = false,
    },
    [sym_pubid_char] = {
      .visible = true,
      .named = true,
    },
    [sym__char_data] = {
      .visible = true,
      .named = true,
    },
    [anon_sym_LT_BANG_DASH_DASH] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_comment_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_DASH_DASH_GT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_QMARK] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_processing_instructions_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_QMARK_GT] = {
      .visible = true,
      .named = false,
    },
    [sym__cdata_start] = {
      .visible = false,
      .named = true,
    },
    [aux_sym_cdata_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_RBRACK_RBRACK_GT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_QMARKxml] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_version] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_EQ] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_1_DOT] = {
      .visible = true,
      .named = false,
    },
    [aux_sym__version_num_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_LT_BANGDOCTYPE] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LBRACK] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_RBRACK] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_GT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_standalone] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_yes] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_no] = {
      .visible = true,
      .named = false,
    },
    [aux_sym__iso639_code_token1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__iso639_code_token2] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_i] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_I] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_x] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_X] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_SLASH] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_SLASH_GT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_BANGELEMENT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_EMPTY] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_ANY] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_QMARK] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_STAR] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_PLUS] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LPAREN] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_PIPE] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_RPAREN] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_COMMA] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_POUNDPCDATA] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_RPAREN_STAR] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_BANGATTLIST] = {
      .visible = true,
      .named = false,
    },
    [sym__string_type] = {
      .visible = false,
      .named = true,
    },
    [anon_sym_ID] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_IDREF] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_IDREFS] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_ENTITY] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_ENTITIES] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_NMTOKEN] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_NMTOKENS] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_NOTATION] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_POUNDREQUIRED] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_POUNDIMPLIED] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_POUNDFIXED] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_BANG_LBRACK] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_AMP_POUND] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_SEMI] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_AMP_POUNDx] = {
      .visible = true,
      .named = false,
    },
    [aux_sym_char_ref_token1] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_AMP] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_PERCENT] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_LT_BANGENTITY] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_SYSTEM] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_PUBLIC] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_NDATA] = {
      .visible = true,
      .named = false,
    },
    [anon_sym_encoding] = {
      .visible = true,
      .named = false,
    },
    [aux_sym__enc_name_token1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__enc_name_token2] = {
      .visible = false,
      .named = false,
    },
    [anon_sym_LT_BANGNOTATION] = {
      .visible = true,
      .named = false,
    },
    [sym_document] = {
      .visible = true,
      .named = true,
    },
    [sym__name_char] = {
      .visible = false,
      .named = true,
    },
    [sym__name] = {
      .visible = false,
      .named = true,
    },
    [sym_nm_token] = {
      .visible = true,
      .named = true,
    },
    [sym_entity_value] = {
      .visible = true,
      .named = true,
    },
    [sym_attribute_value] = {
      .visible = true,
      .named = true,
    },
    [sym_system_literal] = {
      .visible = true,
      .named = true,
    },
    [sym_pubid_literal] = {
      .visible = true,
      .named = true,
    },
    [sym_comment] = {
      .visible = true,
      .named = true,
    },
    [sym_processing_instructions] = {
      .visible = true,
      .named = true,
    },
    [sym_pi_target] = {
      .visible = true,
      .named = true,
    },
    [sym_cdata_sect] = {
      .visible = true,
      .named = true,
    },
    [sym_cdata] = {
      .visible = true,
      .named = true,
    },
    [sym__cdata_end] = {
      .visible = false,
      .named = true,
    },
    [sym_prolog] = {
      .visible = true,
      .named = true,
    },
    [sym_xml_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_version_info] = {
      .visible = true,
      .named = true,
    },
    [sym__version_num] = {
      .visible = false,
      .named = true,
    },
    [sym__misc] = {
      .visible = false,
      .named = true,
    },
    [sym_doctype_decl] = {
      .visible = true,
      .named = true,
    },
    [sym__markup_decl] = {
      .visible = false,
      .named = true,
    },
    [sym_standalone_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_element] = {
      .visible = true,
      .named = true,
    },
    [sym_start_tag] = {
      .visible = true,
      .named = true,
    },
    [sym_attribute] = {
      .visible = true,
      .named = true,
    },
    [sym_end_tag] = {
      .visible = true,
      .named = true,
    },
    [aux_sym__content] = {
      .visible = false,
      .named = false,
    },
    [sym_empty_elem_tag] = {
      .visible = true,
      .named = true,
    },
    [sym_element_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_content_spec] = {
      .visible = true,
      .named = true,
    },
    [sym_children] = {
      .visible = true,
      .named = true,
    },
    [sym_cp] = {
      .visible = true,
      .named = true,
    },
    [sym_element_choice] = {
      .visible = true,
      .named = true,
    },
    [sym_element_seq] = {
      .visible = true,
      .named = true,
    },
    [sym_mixed] = {
      .visible = true,
      .named = true,
    },
    [sym_attlist_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_attribute_def] = {
      .visible = true,
      .named = true,
    },
    [sym_attribute_type] = {
      .visible = true,
      .named = true,
    },
    [sym__tokenized_type] = {
      .visible = false,
      .named = true,
    },
    [sym__enumerated_type] = {
      .visible = false,
      .named = true,
    },
    [sym_notation_type] = {
      .visible = true,
      .named = true,
    },
    [sym_enumeration] = {
      .visible = true,
      .named = true,
    },
    [sym_default_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_char_ref] = {
      .visible = true,
      .named = true,
    },
    [sym_reference] = {
      .visible = true,
      .named = true,
    },
    [sym_entity_ref] = {
      .visible = true,
      .named = true,
    },
    [sym_pe_reference] = {
      .visible = true,
      .named = true,
    },
    [sym_entity_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_ge_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_pe_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_entity_def] = {
      .visible = true,
      .named = true,
    },
    [sym_pe_def] = {
      .visible = true,
      .named = true,
    },
    [sym_external_id] = {
      .visible = true,
      .named = true,
    },
    [sym_ndata_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_encoding_decl] = {
      .visible = true,
      .named = true,
    },
    [sym__enc_name] = {
      .visible = false,
      .named = true,
    },
    [sym_notation_decl] = {
      .visible = true,
      .named = true,
    },
    [sym_public_id] = {
      .visible = true,
      .named = true,
    },
    [aux_sym_document_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_document_repeat2] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_document_repeat3] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__name_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_entity_value_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_attribute_value_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_pubid_literal_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_comment_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_doctype_decl_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_start_tag_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_element_choice_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_element_seq_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_mixed_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_attlist_decl_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_notation_type_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym_enumeration_repeat1] = {
      .visible = false,
      .named = false,
    },
    [aux_sym__enc_name_repeat1] = {
      .visible = false,
      .named = false,
    },
    [alias_sym_attlist_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_attribute_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_doctype] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_element_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_ndata_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_notation_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_notation_type_name] = {
      .visible = true,
      .named = true,
    },
    [alias_sym_tag_name] = {
      .visible = true,
      .named = true,
    },
  };
  
  static TSSymbol ts_alias_sequences[13][MAX_ALIAS_SEQUENCE_LENGTH] = {
    [0] = {0},
    [1] = {
      [1] = alias_sym_tag_name,
    },
    [2] = {
      [2] = alias_sym_doctype,
    },
    [3] = {
      [0] = alias_sym_attribute_name,
    },
    [4] = {
      [2] = alias_sym_attlist_name,
    },
    [5] = {
      [2] = alias_sym_element_name,
    },
    [6] = {
      [2] = alias_sym_notation_name,
    },
    [7] = {
      [1] = alias_sym_attribute_name,
    },
    [8] = {
      [3] = alias_sym_ndata_name,
    },
    [9] = {
      [3] = alias_sym_notation_type_name,
    },
    [10] = {
      [4] = alias_sym_notation_type_name,
    },
    [11] = {
      [1] = alias_sym_notation_type_name,
    },
    [12] = {
      [2] = alias_sym_notation_type_name,
    },
  };
  
  static uint16_t ts_non_terminal_alias_map[] = {
    sym__name, 9,
      sym__name,
      alias_sym_attlist_name,
      alias_sym_attribute_name,
      alias_sym_doctype,
      alias_sym_element_name,
      alias_sym_ndata_name,
      alias_sym_notation_name,
      alias_sym_notation_type_name,
      alias_sym_tag_name,
    0,
  };
  
  static inline bool aux_sym__name_char_token3_character_set_1(int32_t lookahead) {
    return
      lookahead == 1471 ||
      lookahead == 1476 ||
      lookahead == 1648 ||
      lookahead == 2364 ||
      lookahead == 2381 ||
      lookahead == 2492 ||
      lookahead == 2494 ||
      lookahead == 2495 ||
      lookahead == 2519 ||
      lookahead == 2562 ||
      lookahead == 2620 ||
      lookahead == 2622 ||
      lookahead == 2623;
  }
  
  static inline bool aux_sym__name_char_token8_character_set_1(int32_t lookahead) {
    return
      lookahead == 183 ||
      lookahead == 720 ||
      lookahead == 721 ||
      lookahead == 903 ||
      lookahead == 1600 ||
      (2763 <= lookahead && lookahead <= 2765) ||
      (2817 <= lookahead && lookahead <= 2819) ||
      lookahead == 2876 ||
      lookahead == 3654 ||
      lookahead == 3782 ||
      lookahead == 12442;
  }
  
  static bool ts_lex(TSLexer *lexer, TSStateId state) {
    START_LEXER();
    eof = lexer->eof(lexer);
    switch (state) {
      case 0:
        if (eof) ADVANCE(162);
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '%') ADVANCE(254);
        if (lookahead == '&') ADVANCE(253);
        if (lookahead == '\'') ADVANCE(186);
        if (lookahead == '(') ADVANCE(228);
        if (lookahead == ')') ADVANCE(230);
        if (lookahead == '*') ADVANCE(226);
        if (lookahead == '+') ADVANCE(227);
        if (lookahead == ',') ADVANCE(232);
        if (lookahead == '-') ADVANCE(165);
        if (lookahead == '.') ADVANCE(164);
        if (lookahead == ':') ADVANCE(167);
        if (lookahead == ';') ADVANCE(250);
        if (lookahead == '<') ADVANCE(216);
        if (lookahead == '=') ADVANCE(202);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '?') ADVANCE(225);
        if (lookahead == 'I') ADVANCE(213);
        if (lookahead == 'X') ADVANCE(215);
        if (lookahead == '[') ADVANCE(206);
        if (lookahead == ']') ADVANCE(207);
        if (lookahead == '_') ADVANCE(182);
        if (lookahead == 'i') ADVANCE(212);
        if (lookahead == 'x') ADVANCE(214);
        if (lookahead == '|') ADVANCE(229);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (('0' <= lookahead && lookahead <= '9')) ADVANCE(163);
        if (aux_sym__name_char_token3_character_set_1(lookahead)) ADVANCE(169);
        if (aux_sym__name_char_token8_character_set_1(lookahead)) ADVANCE(174);
        if ((2496 <= lookahead && lookahead <= 2500) ||
            lookahead == 2503 ||
            lookahead == 2504 ||
            (2507 <= lookahead && lookahead <= 2509) ||
            lookahead == 2530 ||
            lookahead == 2531 ||
            (2624 <= lookahead && lookahead <= 2626) ||
            lookahead == 2631 ||
            lookahead == 2632) ADVANCE(172);
        if ((3014 <= lookahead && lookahead <= 3016) ||
            (3018 <= lookahead && lookahead <= 3021) ||
            lookahead == 3031 ||
            (3398 <= lookahead && lookahead <= 3400) ||
            (3402 <= lookahead && lookahead <= 3405) ||
            lookahead == 3415 ||
            lookahead == 3633) ADVANCE(176);
        if ((2878 <= lookahead && lookahead <= 2883) ||
            lookahead == 2887 ||
            lookahead == 2888 ||
            (2891 <= lookahead && lookahead <= 2893) ||
            lookahead == 2902 ||
            lookahead == 2903 ||
            lookahead == 2946 ||
            lookahead == 2947 ||
            (3006 <= lookahead && lookahead <= 3010)) ADVANCE(175);
        if ((2635 <= lookahead && lookahead <= 2637) ||
            lookahead == 2672 ||
            lookahead == 2673 ||
            (2689 <= lookahead && lookahead <= 2691) ||
            lookahead == 2748 ||
            (2750 <= lookahead && lookahead <= 2757) ||
            (2759 <= lookahead && lookahead <= 2761) ||
            lookahead == 12293) ADVANCE(173);
        if ((3073 <= lookahead && lookahead <= 3075) ||
            (3134 <= lookahead && lookahead <= 3140) ||
            (3142 <= lookahead && lookahead <= 3144) ||
            (3146 <= lookahead && lookahead <= 3149) ||
            lookahead == 3157 ||
            lookahead == 3158 ||
            lookahead == 3202 ||
            lookahead == 3203) ADVANCE(177);
        if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(163);
        if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(163);
        if ((3262 <= lookahead && lookahead <= 3268) ||
            (3270 <= lookahead && lookahead <= 3272) ||
            (3274 <= lookahead && lookahead <= 3277) ||
            lookahead == 3285 ||
            lookahead == 3286 ||
            lookahead == 3330 ||
            lookahead == 3331 ||
            (3390 <= lookahead && lookahead <= 3395)) ADVANCE(178);
        if (lookahead == 1473 ||
            lookahead == 1474 ||
            (1611 <= lookahead && lookahead <= 1618) ||
            (1750 <= lookahead && lookahead <= 1764) ||
            lookahead == 1767 ||
            lookahead == 1768) ADVANCE(170);
        if ((1770 <= lookahead && lookahead <= 1773) ||
            (2305 <= lookahead && lookahead <= 2307) ||
            (2366 <= lookahead && lookahead <= 2380) ||
            (2385 <= lookahead && lookahead <= 2388) ||
            lookahead == 2402 ||
            lookahead == 2403 ||
            (2433 <= lookahead && lookahead <= 2435)) ADVANCE(171);
        if ((3636 <= lookahead && lookahead <= 3642) ||
            (3655 <= lookahead && lookahead <= 3662) ||
            lookahead == 3761 ||
            (3764 <= lookahead && lookahead <= 3769) ||
            lookahead == 3771 ||
            lookahead == 3772 ||
            (3784 <= lookahead && lookahead <= 3789) ||
            lookahead == 3864 ||
            lookahead == 3865) ADVANCE(179);
        if (lookahead == 3893 ||
            lookahead == 3895 ||
            lookahead == 3897 ||
            lookahead == 3902 ||
            lookahead == 3903 ||
            (3953 <= lookahead && lookahead <= 3972) ||
            (3974 <= lookahead && lookahead <= 3979) ||
            (3984 <= lookahead && lookahead <= 3989) ||
            lookahead == 3991) ADVANCE(180);
        if ((3993 <= lookahead && lookahead <= 4013) ||
            (4017 <= lookahead && lookahead <= 4023) ||
            lookahead == 4025 ||
            (8400 <= lookahead && lookahead <= 8412) ||
            lookahead == 8417 ||
            (12330 <= lookahead && lookahead <= 12335) ||
            lookahead == 12441) ADVANCE(181);
        if ((768 <= lookahead && lookahead <= 837) ||
            lookahead == 864 ||
            lookahead == 865 ||
            (1155 <= lookahead && lookahead <= 1158) ||
            (1425 <= lookahead && lookahead <= 1441) ||
            (1443 <= lookahead && lookahead <= 1465) ||
            (1467 <= lookahead && lookahead <= 1469)) ADVANCE(168);
        if (lookahead != 0) ADVANCE(185);
        END_STATE();
      case 1:
        if (lookahead == ' ') ADVANCE(154);
        END_STATE();
      case 2:
        if (lookahead == ' ') ADVANCE(20);
        END_STATE();
      case 3:
        if (lookahead == '!') ADVANCE(14);
        if (lookahead == '?') ADVANCE(193);
        END_STATE();
      case 4:
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '&') ADVANCE(253);
        if (lookahead != 0 &&
            lookahead != '<') ADVANCE(185);
        END_STATE();
      case 5:
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '\'') ADVANCE(186);
        if (lookahead == '-') ADVANCE(165);
        if (lookahead == '.' ||
            ('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(260);
        END_STATE();
      case 6:
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '(') ADVANCE(228);
        if (lookahead == '1') ADVANCE(21);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '?') ADVANCE(23);
        if (lookahead == 'A') ADVANCE(82);
        if (lookahead == 'C') ADVANCE(44);
        if (lookahead == 'E') ADVANCE(77);
        if (lookahead == 'I') ADVANCE(42);
        if (lookahead == 'N') ADVANCE(78);
        if (lookahead == 'P') ADVANCE(117);
        if (lookahead == 'S') ADVANCE(124);
        if (lookahead == '[') ADVANCE(206);
        if (lookahead == 'e') ADVANCE(141);
        if (lookahead == 'n') ADVANCE(146);
        if (lookahead == 's') ADVANCE(153);
        if (lookahead == 'v') ADVANCE(132);
        if (lookahead == 'y') ADVANCE(133);
        END_STATE();
      case 7:
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '\n' ||
            lookahead == '\r' ||
            (' ' <= lookahead && lookahead <= '%') ||
            ('(' <= lookahead && lookahead <= ';') ||
            lookahead == '=' ||
            ('?' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(188);
        END_STATE();
      case 8:
        if (lookahead == '#') ADVANCE(92);
        if (lookahead == '%') ADVANCE(254);
        if (lookahead == '(') ADVANCE(228);
        if (lookahead == '/') ADVANCE(22);
        if (lookahead == ':') ADVANCE(167);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '_') ADVANCE(182);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'Z') ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(163);
        END_STATE();
      case 9:
        if (lookahead == '%') ADVANCE(254);
        if (lookahead == '&') ADVANCE(253);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (lookahead != 0 &&
            lookahead != '"' &&
            lookahead != '<') ADVANCE(185);
        END_STATE();
      case 10:
        if (lookahead == '&') ADVANCE(253);
        if (lookahead == '\'') ADVANCE(186);
        if (lookahead != 0 &&
            lookahead != '"' &&
            lookahead != '<') ADVANCE(185);
        END_STATE();
      case 11:
        if (lookahead == '&') ADVANCE(253);
        if (lookahead == '<') ADVANCE(218);
        if (lookahead != 0) ADVANCE(189);
        END_STATE();
      case 12:
        if (lookahead == '\'') ADVANCE(186);
        if (lookahead == '\n' ||
            lookahead == '\r' ||
            (' ' <= lookahead && lookahead <= '%') ||
            ('(' <= lookahead && lookahead <= ';') ||
            lookahead == '=' ||
            ('?' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(188);
        END_STATE();
      case 13:
        if (lookahead == '-') ADVANCE(18);
        END_STATE();
      case 14:
        if (lookahead == '-') ADVANCE(18);
        if (lookahead == 'A') ADVANCE(105);
        if (lookahead == 'D') ADVANCE(84);
        if (lookahead == 'E') ADVANCE(70);
        if (lookahead == 'N') ADVANCE(87);
        END_STATE();
      case 15:
        if (lookahead == '-') ADVANCE(18);
        if (lookahead == 'A') ADVANCE(105);
        if (lookahead == 'D') ADVANCE(84);
        if (lookahead == 'E') ADVANCE(70);
        if (lookahead == 'N') ADVANCE(87);
        if (lookahead == '[') ADVANCE(248);
        END_STATE();
      case 16:
        if (lookahead == '-') ADVANCE(18);
        if (lookahead == 'D') ADVANCE(84);
        END_STATE();
      case 17:
        if (lookahead == '-') ADVANCE(18);
        if (lookahead == '[') ADVANCE(35);
        END_STATE();
      case 18:
        if (lookahead == '-') ADVANCE(190);
        END_STATE();
      case 19:
        if (lookahead == '-') ADVANCE(166);
        if (lookahead != 0) ADVANCE(191);
        END_STATE();
      case 20:
        if (lookahead == '-') ADVANCE(1);
        END_STATE();
      case 21:
        if (lookahead == '.') ADVANCE(203);
        END_STATE();
      case 22:
        if (lookahead == '>') ADVANCE(221);
        END_STATE();
      case 23:
        if (lookahead == '>') ADVANCE(196);
        END_STATE();
      case 24:
        if (lookahead == '>') ADVANCE(199);
        END_STATE();
      case 25:
        if (lookahead == '>') ADVANCE(192);
        END_STATE();
      case 26:
        if (lookahead == 'A') ADVANCE(125);
        END_STATE();
      case 27:
        if (lookahead == 'A') ADVANCE(236);
        END_STATE();
      case 28:
        if (lookahead == 'A') ADVANCE(233);
        END_STATE();
      case 29:
        if (lookahead == 'A') ADVANCE(108);
        END_STATE();
      case 30:
        if (lookahead == 'A') ADVANCE(106);
        END_STATE();
      case 31:
        if (lookahead == 'A') ADVANCE(109);
        END_STATE();
      case 32:
        if (lookahead == 'A') ADVANCE(113);
        END_STATE();
      case 33:
        if (lookahead == 'A') ADVANCE(111);
        END_STATE();
      case 34:
        if (lookahead == 'B') ADVANCE(73);
        END_STATE();
      case 35:
        if (lookahead == 'C') ADVANCE(43);
        END_STATE();
      case 36:
        if (lookahead == 'C') ADVANCE(257);
        END_STATE();
      case 37:
        if (lookahead == 'C') ADVANCE(101);
        END_STATE();
      case 38:
        if (lookahead == 'C') ADVANCE(45);
        END_STATE();
      case 39:
        if (lookahead == 'D') ADVANCE(247);
        END_STATE();
      case 40:
        if (lookahead == 'D') ADVANCE(246);
        END_STATE();
      case 41:
        if (lookahead == 'D') ADVANCE(245);
        END_STATE();
      case 42:
        if (lookahead == 'D') ADVANCE(237);
        END_STATE();
      case 43:
        if (lookahead == 'D') ADVANCE(30);
        END_STATE();
      case 44:
        if (lookahead == 'D') ADVANCE(31);
        END_STATE();
      case 45:
        if (lookahead == 'D') ADVANCE(33);
        END_STATE();
      case 46:
        if (lookahead == 'E') ADVANCE(75);
        END_STATE();
      case 47:
        if (lookahead == 'E') ADVANCE(83);
        END_STATE();
      case 48:
        if (lookahead == 'E') ADVANCE(205);
        END_STATE();
      case 49:
        if (lookahead == 'E') ADVANCE(93);
        END_STATE();
      case 50:
        if (lookahead == 'E') ADVANCE(57);
        END_STATE();
      case 51:
        if (lookahead == 'E') ADVANCE(39);
        END_STATE();
      case 52:
        if (lookahead == 'E') ADVANCE(95);
        END_STATE();
      case 53:
        if (lookahead == 'E') ADVANCE(40);
        END_STATE();
      case 54:
        if (lookahead == 'E') ADVANCE(74);
        END_STATE();
      case 55:
        if (lookahead == 'E') ADVANCE(41);
        END_STATE();
      case 56:
        if (lookahead == 'E') ADVANCE(80);
        END_STATE();
      case 57:
        if (lookahead == 'F') ADVANCE(238);
        END_STATE();
      case 58:
        if (lookahead == 'F') ADVANCE(60);
        if (lookahead == 'I') ADVANCE(76);
        if (lookahead == 'R') ADVANCE(49);
        END_STATE();
      case 59:
        if (lookahead == 'I') ADVANCE(96);
        END_STATE();
      case 60:
        if (lookahead == 'I') ADVANCE(119);
        END_STATE();
      case 61:
        if (lookahead == 'I') ADVANCE(94);
        END_STATE();
      case 62:
        if (lookahead == 'I') ADVANCE(86);
        END_STATE();
      case 63:
        if (lookahead == 'I') ADVANCE(36);
        END_STATE();
      case 64:
        if (lookahead == 'I') ADVANCE(88);
        END_STATE();
      case 65:
        if (lookahead == 'I') ADVANCE(107);
        END_STATE();
      case 66:
        if (lookahead == 'I') ADVANCE(53);
        END_STATE();
      case 67:
        if (lookahead == 'I') ADVANCE(52);
        if (lookahead == 'Y') ADVANCE(240);
        END_STATE();
      case 68:
        if (lookahead == 'I') ADVANCE(104);
        END_STATE();
      case 69:
        if (lookahead == 'K') ADVANCE(56);
        END_STATE();
      case 70:
        if (lookahead == 'L') ADVANCE(46);
        if (lookahead == 'N') ADVANCE(99);
        END_STATE();
      case 71:
        if (lookahead == 'L') ADVANCE(59);
        END_STATE();
      case 72:
        if (lookahead == 'L') ADVANCE(66);
        END_STATE();
      case 73:
        if (lookahead == 'L') ADVANCE(63);
        END_STATE();
      case 74:
        if (lookahead == 'M') ADVANCE(256);
        END_STATE();
      case 75:
        if (lookahead == 'M') ADVANCE(47);
        END_STATE();
      case 76:
        if (lookahead == 'M') ADVANCE(91);
        END_STATE();
      case 77:
        if (lookahead == 'M') ADVANCE(90);
        if (lookahead == 'N') ADVANCE(115);
        END_STATE();
      case 78:
        if (lookahead == 'M') ADVANCE(110);
        if (lookahead == 'O') ADVANCE(116);
        END_STATE();
      case 79:
        if (lookahead == 'N') ADVANCE(261);
        END_STATE();
      case 80:
        if (lookahead == 'N') ADVANCE(242);
        END_STATE();
      case 81:
        if (lookahead == 'N') ADVANCE(244);
        END_STATE();
      case 82:
        if (lookahead == 'N') ADVANCE(122);
        END_STATE();
      case 83:
        if (lookahead == 'N') ADVANCE(103);
        END_STATE();
      case 84:
        if (lookahead == 'O') ADVANCE(37);
        END_STATE();
      case 85:
        if (lookahead == 'O') ADVANCE(69);
        END_STATE();
      case 86:
        if (lookahead == 'O') ADVANCE(79);
        END_STATE();
      case 87:
        if (lookahead == 'O') ADVANCE(100);
        END_STATE();
      case 88:
        if (lookahead == 'O') ADVANCE(81);
        END_STATE();
      case 89:
        if (lookahead == 'P') ADVANCE(48);
        END_STATE();
      case 90:
        if (lookahead == 'P') ADVANCE(112);
        END_STATE();
      case 91:
        if (lookahead == 'P') ADVANCE(72);
        END_STATE();
      case 92:
        if (lookahead == 'P') ADVANCE(38);
        END_STATE();
      case 93:
        if (lookahead == 'Q') ADVANCE(118);
        END_STATE();
      case 94:
        if (lookahead == 'R') ADVANCE(55);
        END_STATE();
      case 95:
        if (lookahead == 'S') ADVANCE(241);
        END_STATE();
      case 96:
        if (lookahead == 'S') ADVANCE(102);
        END_STATE();
      case 97:
        if (lookahead == 'S') ADVANCE(114);
        END_STATE();
      case 98:
        if (lookahead == 'T') ADVANCE(71);
        END_STATE();
      case 99:
        if (lookahead == 'T') ADVANCE(65);
        END_STATE();
      case 100:
        if (lookahead == 'T') ADVANCE(29);
        END_STATE();
      case 101:
        if (lookahead == 'T') ADVANCE(120);
        END_STATE();
      case 102:
        if (lookahead == 'T') ADVANCE(235);
        END_STATE();
      case 103:
        if (lookahead == 'T') ADVANCE(222);
        END_STATE();
      case 104:
        if (lookahead == 'T') ADVANCE(67);
        END_STATE();
      case 105:
        if (lookahead == 'T') ADVANCE(98);
        END_STATE();
      case 106:
        if (lookahead == 'T') ADVANCE(26);
        END_STATE();
      case 107:
        if (lookahead == 'T') ADVANCE(121);
        END_STATE();
      case 108:
        if (lookahead == 'T') ADVANCE(62);
        END_STATE();
      case 109:
        if (lookahead == 'T') ADVANCE(27);
        END_STATE();
      case 110:
        if (lookahead == 'T') ADVANCE(85);
        END_STATE();
      case 111:
        if (lookahead == 'T') ADVANCE(28);
        END_STATE();
      case 112:
        if (lookahead == 'T') ADVANCE(123);
        END_STATE();
      case 113:
        if (lookahead == 'T') ADVANCE(64);
        END_STATE();
      case 114:
        if (lookahead == 'T') ADVANCE(54);
        END_STATE();
      case 115:
        if (lookahead == 'T') ADVANCE(68);
        END_STATE();
      case 116:
        if (lookahead == 'T') ADVANCE(32);
        END_STATE();
      case 117:
        if (lookahead == 'U') ADVANCE(34);
        END_STATE();
      case 118:
        if (lookahead == 'U') ADVANCE(61);
        END_STATE();
      case 119:
        if (lookahead == 'X') ADVANCE(51);
        END_STATE();
      case 120:
        if (lookahead == 'Y') ADVANCE(89);
        END_STATE();
      case 121:
        if (lookahead == 'Y') ADVANCE(255);
        END_STATE();
      case 122:
        if (lookahead == 'Y') ADVANCE(224);
        END_STATE();
      case 123:
        if (lookahead == 'Y') ADVANCE(223);
        END_STATE();
      case 124:
        if (lookahead == 'Y') ADVANCE(97);
        END_STATE();
      case 125:
        if (lookahead == '[') ADVANCE(197);
        END_STATE();
      case 126:
        if (lookahead == ']') ADVANCE(24);
        END_STATE();
      case 127:
        if (lookahead == 'a') ADVANCE(139);
        END_STATE();
      case 128:
        if (lookahead == 'a') ADVANCE(144);
        END_STATE();
      case 129:
        if (lookahead == 'c') ADVANCE(147);
        END_STATE();
      case 130:
        if (lookahead == 'd') ADVANCE(127);
        END_STATE();
      case 131:
        if (lookahead == 'd') ADVANCE(136);
        END_STATE();
      case 132:
        if (lookahead == 'e') ADVANCE(150);
        END_STATE();
      case 133:
        if (lookahead == 'e') ADVANCE(151);
        END_STATE();
      case 134:
        if (lookahead == 'e') ADVANCE(209);
        END_STATE();
      case 135:
        if (lookahead == 'g') ADVANCE(258);
        END_STATE();
      case 136:
        if (lookahead == 'i') ADVANCE(142);
        END_STATE();
      case 137:
        if (lookahead == 'i') ADVANCE(148);
        END_STATE();
      case 138:
        if (lookahead == 'l') ADVANCE(200);
        END_STATE();
      case 139:
        if (lookahead == 'l') ADVANCE(149);
        END_STATE();
      case 140:
        if (lookahead == 'm') ADVANCE(138);
        END_STATE();
      case 141:
        if (lookahead == 'n') ADVANCE(129);
        END_STATE();
      case 142:
        if (lookahead == 'n') ADVANCE(135);
        END_STATE();
      case 143:
        if (lookahead == 'n') ADVANCE(201);
        END_STATE();
      case 144:
        if (lookahead == 'n') ADVANCE(130);
        END_STATE();
      case 145:
        if (lookahead == 'n') ADVANCE(134);
        END_STATE();
      case 146:
        if (lookahead == 'o') ADVANCE(211);
        END_STATE();
      case 147:
        if (lookahead == 'o') ADVANCE(131);
        END_STATE();
      case 148:
        if (lookahead == 'o') ADVANCE(143);
        END_STATE();
      case 149:
        if (lookahead == 'o') ADVANCE(145);
        END_STATE();
      case 150:
        if (lookahead == 'r') ADVANCE(152);
        END_STATE();
      case 151:
        if (lookahead == 's') ADVANCE(210);
        END_STATE();
      case 152:
        if (lookahead == 's') ADVANCE(137);
        END_STATE();
      case 153:
        if (lookahead == 't') ADVANCE(128);
        END_STATE();
      case 154:
        if (lookahead == '\'' ||
            lookahead == '.' ||
            lookahead == '>' ||
            lookahead == '?') ADVANCE(195);
        END_STATE();
      case 155:
        if (('0' <= lookahead && lookahead <= '9')) ADVANCE(204);
        if (('A' <= lookahead && lookahead <= 'Z') ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(259);
        END_STATE();
      case 156:
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'F') ||
            ('a' <= lookahead && lookahead <= 'f')) ADVANCE(252);
        END_STATE();
      case 157:
        if (lookahead != 0 &&
            lookahead != '\n') ADVANCE(198);
        END_STATE();
      case 158:
        if (lookahead != 0 &&
            lookahead != '\n') ADVANCE(2);
        END_STATE();
      case 159:
        if (eof) ADVANCE(162);
        if (lookahead == '"') ADVANCE(184);
        if (lookahead == '#') ADVANCE(58);
        if (lookahead == '\'') ADVANCE(186);
        if (lookahead == '(') ADVANCE(228);
        if (lookahead == ')') ADVANCE(230);
        if (lookahead == ',') ADVANCE(232);
        if (lookahead == '-') ADVANCE(165);
        if (lookahead == '.') ADVANCE(164);
        if (lookahead == '/') ADVANCE(22);
        if (lookahead == ':') ADVANCE(167);
        if (lookahead == ';') ADVANCE(250);
        if (lookahead == '<') ADVANCE(217);
        if (lookahead == '=') ADVANCE(202);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '?') ADVANCE(23);
        if (lookahead == '[') ADVANCE(206);
        if (lookahead == ']') ADVANCE(126);
        if (lookahead == '|') ADVANCE(229);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (aux_sym__name_char_token3_character_set_1(lookahead)) ADVANCE(169);
        if (aux_sym__name_char_token8_character_set_1(lookahead)) ADVANCE(174);
        if ((2496 <= lookahead && lookahead <= 2500) ||
            lookahead == 2503 ||
            lookahead == 2504 ||
            (2507 <= lookahead && lookahead <= 2509) ||
            lookahead == 2530 ||
            lookahead == 2531 ||
            (2624 <= lookahead && lookahead <= 2626) ||
            lookahead == 2631 ||
            lookahead == 2632) ADVANCE(172);
        if ((3014 <= lookahead && lookahead <= 3016) ||
            (3018 <= lookahead && lookahead <= 3021) ||
            lookahead == 3031 ||
            (3398 <= lookahead && lookahead <= 3400) ||
            (3402 <= lookahead && lookahead <= 3405) ||
            lookahead == 3415 ||
            lookahead == 3633) ADVANCE(176);
        if ((2878 <= lookahead && lookahead <= 2883) ||
            lookahead == 2887 ||
            lookahead == 2888 ||
            (2891 <= lookahead && lookahead <= 2893) ||
            lookahead == 2902 ||
            lookahead == 2903 ||
            lookahead == 2946 ||
            lookahead == 2947 ||
            (3006 <= lookahead && lookahead <= 3010)) ADVANCE(175);
        if ((2635 <= lookahead && lookahead <= 2637) ||
            lookahead == 2672 ||
            lookahead == 2673 ||
            (2689 <= lookahead && lookahead <= 2691) ||
            lookahead == 2748 ||
            (2750 <= lookahead && lookahead <= 2757) ||
            (2759 <= lookahead && lookahead <= 2761) ||
            lookahead == 12293) ADVANCE(173);
        if ((3073 <= lookahead && lookahead <= 3075) ||
            (3134 <= lookahead && lookahead <= 3140) ||
            (3142 <= lookahead && lookahead <= 3144) ||
            (3146 <= lookahead && lookahead <= 3149) ||
            lookahead == 3157 ||
            lookahead == 3158 ||
            lookahead == 3202 ||
            lookahead == 3203) ADVANCE(177);
        if ((3262 <= lookahead && lookahead <= 3268) ||
            (3270 <= lookahead && lookahead <= 3272) ||
            (3274 <= lookahead && lookahead <= 3277) ||
            lookahead == 3285 ||
            lookahead == 3286 ||
            lookahead == 3330 ||
            lookahead == 3331 ||
            (3390 <= lookahead && lookahead <= 3395)) ADVANCE(178);
        if (lookahead == 1473 ||
            lookahead == 1474 ||
            (1611 <= lookahead && lookahead <= 1618) ||
            (1750 <= lookahead && lookahead <= 1764) ||
            lookahead == 1767 ||
            lookahead == 1768) ADVANCE(170);
        if ((1770 <= lookahead && lookahead <= 1773) ||
            (2305 <= lookahead && lookahead <= 2307) ||
            (2366 <= lookahead && lookahead <= 2380) ||
            (2385 <= lookahead && lookahead <= 2388) ||
            lookahead == 2402 ||
            lookahead == 2403 ||
            (2433 <= lookahead && lookahead <= 2435)) ADVANCE(171);
        if ((3636 <= lookahead && lookahead <= 3642) ||
            (3655 <= lookahead && lookahead <= 3662) ||
            lookahead == 3761 ||
            (3764 <= lookahead && lookahead <= 3769) ||
            lookahead == 3771 ||
            lookahead == 3772 ||
            (3784 <= lookahead && lookahead <= 3789) ||
            lookahead == 3864 ||
            lookahead == 3865) ADVANCE(179);
        if (lookahead == 3893 ||
            lookahead == 3895 ||
            lookahead == 3897 ||
            lookahead == 3902 ||
            lookahead == 3903 ||
            (3953 <= lookahead && lookahead <= 3972) ||
            (3974 <= lookahead && lookahead <= 3979) ||
            (3984 <= lookahead && lookahead <= 3989) ||
            lookahead == 3991) ADVANCE(180);
        if ((3993 <= lookahead && lookahead <= 4013) ||
            (4017 <= lookahead && lookahead <= 4023) ||
            lookahead == 4025 ||
            (8400 <= lookahead && lookahead <= 8412) ||
            lookahead == 8417 ||
            (12330 <= lookahead && lookahead <= 12335) ||
            lookahead == 12441) ADVANCE(181);
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(163);
        if ((768 <= lookahead && lookahead <= 837) ||
            lookahead == 864 ||
            lookahead == 865 ||
            (1155 <= lookahead && lookahead <= 1158) ||
            (1425 <= lookahead && lookahead <= 1441) ||
            (1443 <= lookahead && lookahead <= 1465) ||
            (1467 <= lookahead && lookahead <= 1469)) ADVANCE(168);
        END_STATE();
      case 160:
        if (eof) ADVANCE(162);
        if (lookahead == '%') ADVANCE(254);
        if (lookahead == ')') ADVANCE(230);
        if (lookahead == '*') ADVANCE(226);
        if (lookahead == '+') ADVANCE(227);
        if (lookahead == ',') ADVANCE(232);
        if (lookahead == '-') ADVANCE(165);
        if (lookahead == '.') ADVANCE(164);
        if (lookahead == ':') ADVANCE(167);
        if (lookahead == '<') ADVANCE(3);
        if (lookahead == '>') ADVANCE(208);
        if (lookahead == '?') ADVANCE(225);
        if (lookahead == ']') ADVANCE(207);
        if (lookahead == '|') ADVANCE(229);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (aux_sym__name_char_token3_character_set_1(lookahead)) ADVANCE(169);
        if (aux_sym__name_char_token8_character_set_1(lookahead)) ADVANCE(174);
        if ((2496 <= lookahead && lookahead <= 2500) ||
            lookahead == 2503 ||
            lookahead == 2504 ||
            (2507 <= lookahead && lookahead <= 2509) ||
            lookahead == 2530 ||
            lookahead == 2531 ||
            (2624 <= lookahead && lookahead <= 2626) ||
            lookahead == 2631 ||
            lookahead == 2632) ADVANCE(172);
        if ((3014 <= lookahead && lookahead <= 3016) ||
            (3018 <= lookahead && lookahead <= 3021) ||
            lookahead == 3031 ||
            (3398 <= lookahead && lookahead <= 3400) ||
            (3402 <= lookahead && lookahead <= 3405) ||
            lookahead == 3415 ||
            lookahead == 3633) ADVANCE(176);
        if ((2878 <= lookahead && lookahead <= 2883) ||
            lookahead == 2887 ||
            lookahead == 2888 ||
            (2891 <= lookahead && lookahead <= 2893) ||
            lookahead == 2902 ||
            lookahead == 2903 ||
            lookahead == 2946 ||
            lookahead == 2947 ||
            (3006 <= lookahead && lookahead <= 3010)) ADVANCE(175);
        if ((2635 <= lookahead && lookahead <= 2637) ||
            lookahead == 2672 ||
            lookahead == 2673 ||
            (2689 <= lookahead && lookahead <= 2691) ||
            lookahead == 2748 ||
            (2750 <= lookahead && lookahead <= 2757) ||
            (2759 <= lookahead && lookahead <= 2761) ||
            lookahead == 12293) ADVANCE(173);
        if ((3073 <= lookahead && lookahead <= 3075) ||
            (3134 <= lookahead && lookahead <= 3140) ||
            (3142 <= lookahead && lookahead <= 3144) ||
            (3146 <= lookahead && lookahead <= 3149) ||
            lookahead == 3157 ||
            lookahead == 3158 ||
            lookahead == 3202 ||
            lookahead == 3203) ADVANCE(177);
        if ((3262 <= lookahead && lookahead <= 3268) ||
            (3270 <= lookahead && lookahead <= 3272) ||
            (3274 <= lookahead && lookahead <= 3277) ||
            lookahead == 3285 ||
            lookahead == 3286 ||
            lookahead == 3330 ||
            lookahead == 3331 ||
            (3390 <= lookahead && lookahead <= 3395)) ADVANCE(178);
        if (lookahead == 1473 ||
            lookahead == 1474 ||
            (1611 <= lookahead && lookahead <= 1618) ||
            (1750 <= lookahead && lookahead <= 1764) ||
            lookahead == 1767 ||
            lookahead == 1768) ADVANCE(170);
        if ((1770 <= lookahead && lookahead <= 1773) ||
            (2305 <= lookahead && lookahead <= 2307) ||
            (2366 <= lookahead && lookahead <= 2380) ||
            (2385 <= lookahead && lookahead <= 2388) ||
            lookahead == 2402 ||
            lookahead == 2403 ||
            (2433 <= lookahead && lookahead <= 2435)) ADVANCE(171);
        if ((3636 <= lookahead && lookahead <= 3642) ||
            (3655 <= lookahead && lookahead <= 3662) ||
            lookahead == 3761 ||
            (3764 <= lookahead && lookahead <= 3769) ||
            lookahead == 3771 ||
            lookahead == 3772 ||
            (3784 <= lookahead && lookahead <= 3789) ||
            lookahead == 3864 ||
            lookahead == 3865) ADVANCE(179);
        if (lookahead == 3893 ||
            lookahead == 3895 ||
            lookahead == 3897 ||
            lookahead == 3902 ||
            lookahead == 3903 ||
            (3953 <= lookahead && lookahead <= 3972) ||
            (3974 <= lookahead && lookahead <= 3979) ||
            (3984 <= lookahead && lookahead <= 3989) ||
            lookahead == 3991) ADVANCE(180);
        if ((3993 <= lookahead && lookahead <= 4013) ||
            (4017 <= lookahead && lookahead <= 4023) ||
            lookahead == 4025 ||
            (8400 <= lookahead && lookahead <= 8412) ||
            lookahead == 8417 ||
            (12330 <= lookahead && lookahead <= 12335) ||
            lookahead == 12441) ADVANCE(181);
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(163);
        if ((768 <= lookahead && lookahead <= 837) ||
            lookahead == 864 ||
            lookahead == 865 ||
            (1155 <= lookahead && lookahead <= 1158) ||
            (1425 <= lookahead && lookahead <= 1441) ||
            (1443 <= lookahead && lookahead <= 1465) ||
            (1467 <= lookahead && lookahead <= 1469)) ADVANCE(168);
        END_STATE();
      case 161:
        if (eof) ADVANCE(162);
        if (lookahead == ')') ADVANCE(231);
        if (lookahead == '-') ADVANCE(165);
        if (lookahead == '.') ADVANCE(164);
        if (lookahead == ':') ADVANCE(167);
        if (lookahead == '<') ADVANCE(219);
        if (lookahead == '|') ADVANCE(229);
        if (lookahead == '\t' ||
            lookahead == '\n' ||
            lookahead == '\r' ||
            lookahead == ' ') ADVANCE(183);
        if (aux_sym__name_char_token3_character_set_1(lookahead)) ADVANCE(169);
        if (aux_sym__name_char_token8_character_set_1(lookahead)) ADVANCE(174);
        if ((2496 <= lookahead && lookahead <= 2500) ||
            lookahead == 2503 ||
            lookahead == 2504 ||
            (2507 <= lookahead && lookahead <= 2509) ||
            lookahead == 2530 ||
            lookahead == 2531 ||
            (2624 <= lookahead && lookahead <= 2626) ||
            lookahead == 2631 ||
            lookahead == 2632) ADVANCE(172);
        if ((3014 <= lookahead && lookahead <= 3016) ||
            (3018 <= lookahead && lookahead <= 3021) ||
            lookahead == 3031 ||
            (3398 <= lookahead && lookahead <= 3400) ||
            (3402 <= lookahead && lookahead <= 3405) ||
            lookahead == 3415 ||
            lookahead == 3633) ADVANCE(176);
        if ((2878 <= lookahead && lookahead <= 2883) ||
            lookahead == 2887 ||
            lookahead == 2888 ||
            (2891 <= lookahead && lookahead <= 2893) ||
            lookahead == 2902 ||
            lookahead == 2903 ||
            lookahead == 2946 ||
            lookahead == 2947 ||
            (3006 <= lookahead && lookahead <= 3010)) ADVANCE(175);
        if ((2635 <= lookahead && lookahead <= 2637) ||
            lookahead == 2672 ||
            lookahead == 2673 ||
            (2689 <= lookahead && lookahead <= 2691) ||
            lookahead == 2748 ||
            (2750 <= lookahead && lookahead <= 2757) ||
            (2759 <= lookahead && lookahead <= 2761) ||
            lookahead == 12293) ADVANCE(173);
        if ((3073 <= lookahead && lookahead <= 3075) ||
            (3134 <= lookahead && lookahead <= 3140) ||
            (3142 <= lookahead && lookahead <= 3144) ||
            (3146 <= lookahead && lookahead <= 3149) ||
            lookahead == 3157 ||
            lookahead == 3158 ||
            lookahead == 3202 ||
            lookahead == 3203) ADVANCE(177);
        if ((3262 <= lookahead && lookahead <= 3268) ||
            (3270 <= lookahead && lookahead <= 3272) ||
            (3274 <= lookahead && lookahead <= 3277) ||
            lookahead == 3285 ||
            lookahead == 3286 ||
            lookahead == 3330 ||
            lookahead == 3331 ||
            (3390 <= lookahead && lookahead <= 3395)) ADVANCE(178);
        if (lookahead == 1473 ||
            lookahead == 1474 ||
            (1611 <= lookahead && lookahead <= 1618) ||
            (1750 <= lookahead && lookahead <= 1764) ||
            lookahead == 1767 ||
            lookahead == 1768) ADVANCE(170);
        if ((1770 <= lookahead && lookahead <= 1773) ||
            (2305 <= lookahead && lookahead <= 2307) ||
            (2366 <= lookahead && lookahead <= 2380) ||
            (2385 <= lookahead && lookahead <= 2388) ||
            lookahead == 2402 ||
            lookahead == 2403 ||
            (2433 <= lookahead && lookahead <= 2435)) ADVANCE(171);
        if ((3636 <= lookahead && lookahead <= 3642) ||
            (3655 <= lookahead && lookahead <= 3662) ||
            lookahead == 3761 ||
            (3764 <= lookahead && lookahead <= 3769) ||
            lookahead == 3771 ||
            lookahead == 3772 ||
            (3784 <= lookahead && lookahead <= 3789) ||
            lookahead == 3864 ||
            lookahead == 3865) ADVANCE(179);
        if (lookahead == 3893 ||
            lookahead == 3895 ||
            lookahead == 3897 ||
            lookahead == 3902 ||
            lookahead == 3903 ||
            (3953 <= lookahead && lookahead <= 3972) ||
            (3974 <= lookahead && lookahead <= 3979) ||
            (3984 <= lookahead && lookahead <= 3989) ||
            lookahead == 3991) ADVANCE(180);
        if ((3993 <= lookahead && lookahead <= 4013) ||
            (4017 <= lookahead && lookahead <= 4023) ||
            lookahead == 4025 ||
            (8400 <= lookahead && lookahead <= 8412) ||
            lookahead == 8417 ||
            (12330 <= lookahead && lookahead <= 12335) ||
            lookahead == 12441) ADVANCE(181);
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'Z') ||
            lookahead == '_' ||
            ('a' <= lookahead && lookahead <= 'z')) ADVANCE(163);
        if ((768 <= lookahead && lookahead <= 837) ||
            lookahead == 864 ||
            lookahead == 865 ||
            (1155 <= lookahead && lookahead <= 1158) ||
            (1425 <= lookahead && lookahead <= 1441) ||
            (1443 <= lookahead && lookahead <= 1465) ||
            (1467 <= lookahead && lookahead <= 1469)) ADVANCE(168);
        END_STATE();
      case 162:
        ACCEPT_TOKEN(ts_builtin_sym_end);
        END_STATE();
      case 163:
        ACCEPT_TOKEN(aux_sym__name_char_token1);
        END_STATE();
      case 164:
        ACCEPT_TOKEN(anon_sym_DOT);
        END_STATE();
      case 165:
        ACCEPT_TOKEN(anon_sym_DASH);
        END_STATE();
      case 166:
        ACCEPT_TOKEN(anon_sym_DASH);
        if (lookahead == '-') ADVANCE(25);
        END_STATE();
      case 167:
        ACCEPT_TOKEN(anon_sym_COLON);
        END_STATE();
      case 168:
        ACCEPT_TOKEN(aux_sym__name_char_token2);
        END_STATE();
      case 169:
        ACCEPT_TOKEN(aux_sym__name_char_token3);
        END_STATE();
      case 170:
        ACCEPT_TOKEN(aux_sym__name_char_token4);
        END_STATE();
      case 171:
        ACCEPT_TOKEN(aux_sym__name_char_token5);
        END_STATE();
      case 172:
        ACCEPT_TOKEN(aux_sym__name_char_token6);
        END_STATE();
      case 173:
        ACCEPT_TOKEN(aux_sym__name_char_token7);
        END_STATE();
      case 174:
        ACCEPT_TOKEN(aux_sym__name_char_token8);
        END_STATE();
      case 175:
        ACCEPT_TOKEN(aux_sym__name_char_token9);
        END_STATE();
      case 176:
        ACCEPT_TOKEN(aux_sym__name_char_token10);
        END_STATE();
      case 177:
        ACCEPT_TOKEN(aux_sym__name_char_token11);
        END_STATE();
      case 178:
        ACCEPT_TOKEN(aux_sym__name_char_token12);
        END_STATE();
      case 179:
        ACCEPT_TOKEN(aux_sym__name_char_token13);
        END_STATE();
      case 180:
        ACCEPT_TOKEN(aux_sym__name_char_token14);
        END_STATE();
      case 181:
        ACCEPT_TOKEN(aux_sym__name_char_token15);
        END_STATE();
      case 182:
        ACCEPT_TOKEN(anon_sym__);
        END_STATE();
      case 183:
        ACCEPT_TOKEN(aux_sym_names_token1);
        END_STATE();
      case 184:
        ACCEPT_TOKEN(anon_sym_DQUOTE);
        END_STATE();
      case 185:
        ACCEPT_TOKEN(aux_sym_entity_value_token1);
        END_STATE();
      case 186:
        ACCEPT_TOKEN(anon_sym_SQUOTE);
        END_STATE();
      case 187:
        ACCEPT_TOKEN(aux_sym_system_literal_token1);
        if (lookahead != 0 &&
            lookahead != '"') ADVANCE(187);
        END_STATE();
      case 188:
        ACCEPT_TOKEN(sym_pubid_char);
        END_STATE();
      case 189:
        ACCEPT_TOKEN(sym__char_data);
        if (lookahead != 0 &&
            lookahead != '&' &&
            lookahead != '<') ADVANCE(189);
        END_STATE();
      case 190:
        ACCEPT_TOKEN(anon_sym_LT_BANG_DASH_DASH);
        END_STATE();
      case 191:
        ACCEPT_TOKEN(aux_sym_comment_token1);
        END_STATE();
      case 192:
        ACCEPT_TOKEN(anon_sym_DASH_DASH_GT);
        END_STATE();
      case 193:
        ACCEPT_TOKEN(anon_sym_LT_QMARK);
        END_STATE();
      case 194:
        ACCEPT_TOKEN(anon_sym_LT_QMARK);
        if (lookahead == 'x') ADVANCE(140);
        END_STATE();
      case 195:
        ACCEPT_TOKEN(aux_sym_processing_instructions_token1);
        END_STATE();
      case 196:
        ACCEPT_TOKEN(anon_sym_QMARK_GT);
        END_STATE();
      case 197:
        ACCEPT_TOKEN(sym__cdata_start);
        END_STATE();
      case 198:
        ACCEPT_TOKEN(aux_sym_cdata_token1);
        END_STATE();
      case 199:
        ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK_GT);
        END_STATE();
      case 200:
        ACCEPT_TOKEN(anon_sym_LT_QMARKxml);
        END_STATE();
      case 201:
        ACCEPT_TOKEN(anon_sym_version);
        END_STATE();
      case 202:
        ACCEPT_TOKEN(anon_sym_EQ);
        END_STATE();
      case 203:
        ACCEPT_TOKEN(anon_sym_1_DOT);
        END_STATE();
      case 204:
        ACCEPT_TOKEN(aux_sym__version_num_token1);
        if (('0' <= lookahead && lookahead <= '9')) ADVANCE(204);
        END_STATE();
      case 205:
        ACCEPT_TOKEN(anon_sym_LT_BANGDOCTYPE);
        END_STATE();
      case 206:
        ACCEPT_TOKEN(anon_sym_LBRACK);
        END_STATE();
      case 207:
        ACCEPT_TOKEN(anon_sym_RBRACK);
        END_STATE();
      case 208:
        ACCEPT_TOKEN(anon_sym_GT);
        END_STATE();
      case 209:
        ACCEPT_TOKEN(anon_sym_standalone);
        END_STATE();
      case 210:
        ACCEPT_TOKEN(anon_sym_yes);
        END_STATE();
      case 211:
        ACCEPT_TOKEN(anon_sym_no);
        END_STATE();
      case 212:
        ACCEPT_TOKEN(anon_sym_i);
        END_STATE();
      case 213:
        ACCEPT_TOKEN(anon_sym_I);
        END_STATE();
      case 214:
        ACCEPT_TOKEN(anon_sym_x);
        END_STATE();
      case 215:
        ACCEPT_TOKEN(anon_sym_X);
        END_STATE();
      case 216:
        ACCEPT_TOKEN(anon_sym_LT);
        if (lookahead == '!') ADVANCE(15);
        if (lookahead == '/') ADVANCE(220);
        if (lookahead == '?') ADVANCE(194);
        END_STATE();
      case 217:
        ACCEPT_TOKEN(anon_sym_LT);
        if (lookahead == '!') ADVANCE(16);
        if (lookahead == '?') ADVANCE(194);
        END_STATE();
      case 218:
        ACCEPT_TOKEN(anon_sym_LT);
        if (lookahead == '!') ADVANCE(17);
        if (lookahead == '/') ADVANCE(220);
        if (lookahead == '?') ADVANCE(193);
        END_STATE();
      case 219:
        ACCEPT_TOKEN(anon_sym_LT);
        if (lookahead == '!') ADVANCE(13);
        if (lookahead == '?') ADVANCE(193);
        END_STATE();
      case 220:
        ACCEPT_TOKEN(anon_sym_LT_SLASH);
        END_STATE();
      case 221:
        ACCEPT_TOKEN(anon_sym_SLASH_GT);
        END_STATE();
      case 222:
        ACCEPT_TOKEN(anon_sym_LT_BANGELEMENT);
        END_STATE();
      case 223:
        ACCEPT_TOKEN(anon_sym_EMPTY);
        END_STATE();
      case 224:
        ACCEPT_TOKEN(anon_sym_ANY);
        END_STATE();
      case 225:
        ACCEPT_TOKEN(anon_sym_QMARK);
        END_STATE();
      case 226:
        ACCEPT_TOKEN(anon_sym_STAR);
        END_STATE();
      case 227:
        ACCEPT_TOKEN(anon_sym_PLUS);
        END_STATE();
      case 228:
        ACCEPT_TOKEN(anon_sym_LPAREN);
        END_STATE();
      case 229:
        ACCEPT_TOKEN(anon_sym_PIPE);
        END_STATE();
      case 230:
        ACCEPT_TOKEN(anon_sym_RPAREN);
        END_STATE();
      case 231:
        ACCEPT_TOKEN(anon_sym_RPAREN);
        if (lookahead == '*') ADVANCE(234);
        END_STATE();
      case 232:
        ACCEPT_TOKEN(anon_sym_COMMA);
        END_STATE();
      case 233:
        ACCEPT_TOKEN(anon_sym_POUNDPCDATA);
        END_STATE();
      case 234:
        ACCEPT_TOKEN(anon_sym_RPAREN_STAR);
        END_STATE();
      case 235:
        ACCEPT_TOKEN(anon_sym_LT_BANGATTLIST);
        END_STATE();
      case 236:
        ACCEPT_TOKEN(sym__string_type);
        END_STATE();
      case 237:
        ACCEPT_TOKEN(anon_sym_ID);
        if (lookahead == 'R') ADVANCE(50);
        END_STATE();
      case 238:
        ACCEPT_TOKEN(anon_sym_IDREF);
        if (lookahead == 'S') ADVANCE(239);
        END_STATE();
      case 239:
        ACCEPT_TOKEN(anon_sym_IDREFS);
        END_STATE();
      case 240:
        ACCEPT_TOKEN(anon_sym_ENTITY);
        END_STATE();
      case 241:
        ACCEPT_TOKEN(anon_sym_ENTITIES);
        END_STATE();
      case 242:
        ACCEPT_TOKEN(anon_sym_NMTOKEN);
        if (lookahead == 'S') ADVANCE(243);
        END_STATE();
      case 243:
        ACCEPT_TOKEN(anon_sym_NMTOKENS);
        END_STATE();
      case 244:
        ACCEPT_TOKEN(anon_sym_NOTATION);
        END_STATE();
      case 245:
        ACCEPT_TOKEN(anon_sym_POUNDREQUIRED);
        END_STATE();
      case 246:
        ACCEPT_TOKEN(anon_sym_POUNDIMPLIED);
        END_STATE();
      case 247:
        ACCEPT_TOKEN(anon_sym_POUNDFIXED);
        END_STATE();
      case 248:
        ACCEPT_TOKEN(anon_sym_LT_BANG_LBRACK);
        if (lookahead == 'C') ADVANCE(43);
        END_STATE();
      case 249:
        ACCEPT_TOKEN(anon_sym_AMP_POUND);
        if (lookahead == 'x') ADVANCE(251);
        END_STATE();
      case 250:
        ACCEPT_TOKEN(anon_sym_SEMI);
        END_STATE();
      case 251:
        ACCEPT_TOKEN(anon_sym_AMP_POUNDx);
        END_STATE();
      case 252:
        ACCEPT_TOKEN(aux_sym_char_ref_token1);
        if (('0' <= lookahead && lookahead <= '9') ||
            ('A' <= lookahead && lookahead <= 'F') ||
            ('a' <= lookahead && lookahead <= 'f')) ADVANCE(252);
        END_STATE();
      case 253:
        ACCEPT_TOKEN(anon_sym_AMP);
        if (lookahead == '#') ADVANCE(249);
        END_STATE();
      case 254:
        ACCEPT_TOKEN(anon_sym_PERCENT);
        END_STATE();
      case 255:
        ACCEPT_TOKEN(anon_sym_LT_BANGENTITY);
        END_STATE();
      case 256:
        ACCEPT_TOKEN(anon_sym_SYSTEM);
        END_STATE();
      case 257:
        ACCEPT_TOKEN(anon_sym_PUBLIC);
        END_STATE();
      case 258:
        ACCEPT_TOKEN(anon_sym_encoding);
        END_STATE();
      case 259:
        ACCEPT_TOKEN(aux_sym__enc_name_token1);
        END_STATE();
      case 260:
        ACCEPT_TOKEN(aux_sym__enc_name_token2);
        END_STATE();
      case 261:
        ACCEPT_TOKEN(anon_sym_LT_BANGNOTATION);
        END_STATE();
      default:
        return false;
    }
  }
  
  static TSLexMode ts_lex_modes[STATE_COUNT] = {
    [0] = {.lex_state = 0},
    [1] = {.lex_state = 159},
    [2] = {.lex_state = 159},
    [3] = {.lex_state = 159},
    [4] = {.lex_state = 160},
    [5] = {.lex_state = 160},
    [6] = {.lex_state = 160},
    [7] = {.lex_state = 159},
    [8] = {.lex_state = 159},
    [9] = {.lex_state = 161},
    [10] = {.lex_state = 159},
    [11] = {.lex_state = 161},
    [12] = {.lex_state = 161},
    [13] = {.lex_state = 159},
    [14] = {.lex_state = 159},
    [15] = {.lex_state = 159},
    [16] = {.lex_state = 159},
    [17] = {.lex_state = 159},
    [18] = {.lex_state = 159},
    [19] = {.lex_state = 160},
    [20] = {.lex_state = 160},
    [21] = {.lex_state = 160},
    [22] = {.lex_state = 160},
    [23] = {.lex_state = 160},
    [24] = {.lex_state = 160},
    [25] = {.lex_state = 11},
    [26] = {.lex_state = 11},
    [27] = {.lex_state = 11},
    [28] = {.lex_state = 160},
    [29] = {.lex_state = 160},
    [30] = {.lex_state = 160},
    [31] = {.lex_state = 11},
    [32] = {.lex_state = 159},
    [33] = {.lex_state = 11},
    [34] = {.lex_state = 6},
    [35] = {.lex_state = 159},
    [36] = {.lex_state = 161},
    [37] = {.lex_state = 161},
    [38] = {.lex_state = 9},
    [39] = {.lex_state = 9},
    [40] = {.lex_state = 9},
    [41] = {.lex_state = 160},
    [42] = {.lex_state = 159},
    [43] = {.lex_state = 160},
    [44] = {.lex_state = 160},
    [45] = {.lex_state = 160},
    [46] = {.lex_state = 159},
    [47] = {.lex_state = 8},
    [48] = {.lex_state = 159},
    [49] = {.lex_state = 159},
    [50] = {.lex_state = 11},
    [51] = {.lex_state = 11},
    [52] = {.lex_state = 4},
    [53] = {.lex_state = 161},
    [54] = {.lex_state = 11},
    [55] = {.lex_state = 8},
    [56] = {.lex_state = 8},
    [57] = {.lex_state = 160},
    [58] = {.lex_state = 160},
    [59] = {.lex_state = 160},
    [60] = {.lex_state = 8},
    [61] = {.lex_state = 8},
    [62] = {.lex_state = 11},
    [63] = {.lex_state = 8},
    [64] = {.lex_state = 11},
    [65] = {.lex_state = 160},
    [66] = {.lex_state = 160},
    [67] = {.lex_state = 160},
    [68] = {.lex_state = 4},
    [69] = {.lex_state = 10},
    [70] = {.lex_state = 10},
    [71] = {.lex_state = 11},
    [72] = {.lex_state = 11},
    [73] = {.lex_state = 8},
    [74] = {.lex_state = 11},
    [75] = {.lex_state = 160},
    [76] = {.lex_state = 160},
    [77] = {.lex_state = 11},
    [78] = {.lex_state = 11},
    [79] = {.lex_state = 160},
    [80] = {.lex_state = 160},
    [81] = {.lex_state = 11},
    [82] = {.lex_state = 11},
    [83] = {.lex_state = 10},
    [84] = {.lex_state = 11},
    [85] = {.lex_state = 11},
    [86] = {.lex_state = 11},
    [87] = {.lex_state = 11},
    [88] = {.lex_state = 11},
    [89] = {.lex_state = 4},
    [90] = {.lex_state = 160},
    [91] = {.lex_state = 160},
    [92] = {.lex_state = 160},
    [93] = {.lex_state = 11},
    [94] = {.lex_state = 11},
    [95] = {.lex_state = 8},
    [96] = {.lex_state = 160},
    [97] = {.lex_state = 6},
    [98] = {.lex_state = 159},
    [99] = {.lex_state = 160},
    [100] = {.lex_state = 160},
    [101] = {.lex_state = 160},
    [102] = {.lex_state = 8},
    [103] = {.lex_state = 8},
    [104] = {.lex_state = 160},
    [105] = {.lex_state = 160},
    [106] = {.lex_state = 160},
    [107] = {.lex_state = 8},
    [108] = {.lex_state = 8},
    [109] = {.lex_state = 160},
    [110] = {.lex_state = 160},
    [111] = {.lex_state = 160},
    [112] = {.lex_state = 160},
    [113] = {.lex_state = 159},
    [114] = {.lex_state = 159},
    [115] = {.lex_state = 159},
    [116] = {.lex_state = 159},
    [117] = {.lex_state = 159},
    [118] = {.lex_state = 9},
    [119] = {.lex_state = 159},
    [120] = {.lex_state = 159},
    [121] = {.lex_state = 159},
    [122] = {.lex_state = 159},
    [123] = {.lex_state = 9},
    [124] = {.lex_state = 9},
    [125] = {.lex_state = 160},
    [126] = {.lex_state = 159},
    [127] = {.lex_state = 159},
    [128] = {.lex_state = 159},
    [129] = {.lex_state = 8},
    [130] = {.lex_state = 159},
    [131] = {.lex_state = 8},
    [132] = {.lex_state = 9},
    [133] = {.lex_state = 159},
    [134] = {.lex_state = 159},
    [135] = {.lex_state = 8},
    [136] = {.lex_state = 159},
    [137] = {.lex_state = 159},
    [138] = {.lex_state = 8},
    [139] = {.lex_state = 159},
    [140] = {.lex_state = 159},
    [141] = {.lex_state = 159},
    [142] = {.lex_state = 160},
    [143] = {.lex_state = 159},
    [144] = {.lex_state = 159},
    [145] = {.lex_state = 6},
    [146] = {.lex_state = 6},
    [147] = {.lex_state = 6},
    [148] = {.lex_state = 8},
    [149] = {.lex_state = 8},
    [150] = {.lex_state = 8},
    [151] = {.lex_state = 161},
    [152] = {.lex_state = 8},
    [153] = {.lex_state = 161},
    [154] = {.lex_state = 8},
    [155] = {.lex_state = 161},
    [156] = {.lex_state = 161},
    [157] = {.lex_state = 5},
    [158] = {.lex_state = 8},
    [159] = {.lex_state = 8},
    [160] = {.lex_state = 8},
    [161] = {.lex_state = 161},
    [162] = {.lex_state = 8},
    [163] = {.lex_state = 161},
    [164] = {.lex_state = 160},
    [165] = {.lex_state = 8},
    [166] = {.lex_state = 5},
    [167] = {.lex_state = 161},
    [168] = {.lex_state = 161},
    [169] = {.lex_state = 4},
    [170] = {.lex_state = 161},
    [171] = {.lex_state = 8},
    [172] = {.lex_state = 4},
    [173] = {.lex_state = 8},
    [174] = {.lex_state = 5},
    [175] = {.lex_state = 10},
    [176] = {.lex_state = 161},
    [177] = {.lex_state = 4},
    [178] = {.lex_state = 10},
    [179] = {.lex_state = 10},
    [180] = {.lex_state = 159},
    [181] = {.lex_state = 8},
    [182] = {.lex_state = 0},
    [183] = {.lex_state = 8},
    [184] = {.lex_state = 8},
    [185] = {.lex_state = 8},
    [186] = {.lex_state = 8},
    [187] = {.lex_state = 159},
    [188] = {.lex_state = 0},
    [189] = {.lex_state = 8},
    [190] = {.lex_state = 159},
    [191] = {.lex_state = 8},
    [192] = {.lex_state = 159},
    [193] = {.lex_state = 159},
    [194] = {.lex_state = 8},
    [195] = {.lex_state = 19},
    [196] = {.lex_state = 19},
    [197] = {.lex_state = 159},
    [198] = {.lex_state = 161},
    [199] = {.lex_state = 159},
    [200] = {.lex_state = 8},
    [201] = {.lex_state = 8},
    [202] = {.lex_state = 8},
    [203] = {.lex_state = 0},
    [204] = {.lex_state = 159},
    [205] = {.lex_state = 0},
    [206] = {.lex_state = 159},
    [207] = {.lex_state = 8},
    [208] = {.lex_state = 159},
    [209] = {.lex_state = 8},
    [210] = {.lex_state = 8},
    [211] = {.lex_state = 0},
    [212] = {.lex_state = 8},
    [213] = {.lex_state = 19},
    [214] = {.lex_state = 19},
    [215] = {.lex_state = 0},
    [216] = {.lex_state = 8},
    [217] = {.lex_state = 6},
    [218] = {.lex_state = 8},
    [219] = {.lex_state = 159},
    [220] = {.lex_state = 19},
    [221] = {.lex_state = 8},
    [222] = {.lex_state = 159},
    [223] = {.lex_state = 8},
    [224] = {.lex_state = 8},
    [225] = {.lex_state = 159},
    [226] = {.lex_state = 159},
    [227] = {.lex_state = 161},
    [228] = {.lex_state = 159},
    [229] = {.lex_state = 8},
    [230] = {.lex_state = 159},
    [231] = {.lex_state = 159},
    [232] = {.lex_state = 8},
    [233] = {.lex_state = 161},
    [234] = {.lex_state = 159},
    [235] = {.lex_state = 159},
    [236] = {.lex_state = 159},
    [237] = {.lex_state = 159},
    [238] = {.lex_state = 19},
    [239] = {.lex_state = 159},
    [240] = {.lex_state = 159},
    [241] = {.lex_state = 19},
    [242] = {.lex_state = 6},
    [243] = {.lex_state = 159},
    [244] = {.lex_state = 159},
    [245] = {.lex_state = 159},
    [246] = {.lex_state = 0},
    [247] = {.lex_state = 7},
    [248] = {.lex_state = 159},
    [249] = {.lex_state = 159},
    [250] = {.lex_state = 7},
    [251] = {.lex_state = 0},
    [252] = {.lex_state = 161},
    [253] = {.lex_state = 159},
    [254] = {.lex_state = 0},
    [255] = {.lex_state = 159},
    [256] = {.lex_state = 159},
    [257] = {.lex_state = 159},
    [258] = {.lex_state = 159},
    [259] = {.lex_state = 161},
    [260] = {.lex_state = 159},
    [261] = {.lex_state = 0},
    [262] = {.lex_state = 159},
    [263] = {.lex_state = 0},
    [264] = {.lex_state = 0},
    [265] = {.lex_state = 19},
    [266] = {.lex_state = 161},
    [267] = {.lex_state = 159},
    [268] = {.lex_state = 159},
    [269] = {.lex_state = 12},
    [270] = {.lex_state = 159},
    [271] = {.lex_state = 0},
    [272] = {.lex_state = 12},
    [273] = {.lex_state = 7},
    [274] = {.lex_state = 0},
    [275] = {.lex_state = 159},
    [276] = {.lex_state = 159},
    [277] = {.lex_state = 159},
    [278] = {.lex_state = 161},
    [279] = {.lex_state = 159},
    [280] = {.lex_state = 161},
    [281] = {.lex_state = 159},
    [282] = {.lex_state = 159},
    [283] = {.lex_state = 0},
    [284] = {.lex_state = 159},
    [285] = {.lex_state = 0},
    [286] = {.lex_state = 0},
    [287] = {.lex_state = 159},
    [288] = {.lex_state = 159},
    [289] = {.lex_state = 159},
    [290] = {.lex_state = 0},
    [291] = {.lex_state = 0},
    [292] = {.lex_state = 159},
    [293] = {.lex_state = 0},
    [294] = {.lex_state = 12},
    [295] = {.lex_state = 6},
    [296] = {.lex_state = 159},
    [297] = {.lex_state = 159},
    [298] = {.lex_state = 159},
    [299] = {.lex_state = 0},
    [300] = {.lex_state = 159},
    [301] = {.lex_state = 6},
    [302] = {.lex_state = 157},
    [303] = {.lex_state = 159},
    [304] = {.lex_state = 0},
    [305] = {.lex_state = 0},
    [306] = {.lex_state = 159},
    [307] = {.lex_state = 159},
    [308] = {.lex_state = 0},
    [309] = {.lex_state = 0},
    [310] = {.lex_state = 0},
    [311] = {.lex_state = 0},
    [312] = {.lex_state = 0},
    [313] = {.lex_state = 159},
    [314] = {.lex_state = 159},
    [315] = {.lex_state = 0},
    [316] = {.lex_state = 159},
    [317] = {.lex_state = 159},
    [318] = {.lex_state = 0},
    [319] = {.lex_state = 159},
    [320] = {.lex_state = 0},
    [321] = {.lex_state = 161},
    [322] = {.lex_state = 159},
    [323] = {.lex_state = 0},
    [324] = {.lex_state = 0},
    [325] = {.lex_state = 0},
    [326] = {.lex_state = 6},
    [327] = {.lex_state = 0},
    [328] = {.lex_state = 0},
    [329] = {.lex_state = 159},
    [330] = {.lex_state = 0},
    [331] = {.lex_state = 6},
    [332] = {.lex_state = 159},
    [333] = {.lex_state = 0},
    [334] = {.lex_state = 159},
    [335] = {.lex_state = 159},
    [336] = {.lex_state = 6},
    [337] = {.lex_state = 159},
    [338] = {.lex_state = 155},
    [339] = {.lex_state = 0},
    [340] = {.lex_state = 155},
    [341] = {.lex_state = 159},
    [342] = {.lex_state = 0},
    [343] = {.lex_state = 161},
    [344] = {.lex_state = 0},
    [345] = {.lex_state = 159},
    [346] = {.lex_state = 6},
    [347] = {.lex_state = 159},
    [348] = {.lex_state = 6},
    [349] = {.lex_state = 6},
    [350] = {.lex_state = 0},
    [351] = {.lex_state = 159},
    [352] = {.lex_state = 0},
    [353] = {.lex_state = 0},
    [354] = {.lex_state = 6},
    [355] = {.lex_state = 6},
    [356] = {.lex_state = 0},
    [357] = {.lex_state = 159},
    [358] = {.lex_state = 159},
    [359] = {.lex_state = 159},
    [360] = {.lex_state = 0},
    [361] = {.lex_state = 6},
    [362] = {.lex_state = 6},
    [363] = {.lex_state = 0},
    [364] = {.lex_state = 155},
    [365] = {.lex_state = 0},
    [366] = {.lex_state = 155},
    [367] = {.lex_state = 0},
    [368] = {.lex_state = 0},
    [369] = {.lex_state = 0},
    [370] = {.lex_state = 0},
    [371] = {.lex_state = 155},
    [372] = {.lex_state = 6},
    [373] = {.lex_state = 6},
    [374] = {.lex_state = 159},
    [375] = {.lex_state = 155},
    [376] = {.lex_state = 0},
    [377] = {.lex_state = 159},
    [378] = {.lex_state = 0},
    [379] = {.lex_state = 0},
    [380] = {.lex_state = 159},
    [381] = {.lex_state = 0},
    [382] = {.lex_state = 0},
    [383] = {.lex_state = 0},
    [384] = {.lex_state = 0},
    [385] = {.lex_state = 0},
    [386] = {.lex_state = 0},
    [387] = {.lex_state = 0},
    [388] = {.lex_state = 187},
    [389] = {.lex_state = 159},
    [390] = {.lex_state = 187},
    [391] = {.lex_state = 159},
    [392] = {.lex_state = 0},
    [393] = {.lex_state = 0},
    [394] = {.lex_state = 0},
    [395] = {.lex_state = 0},
    [396] = {.lex_state = 0},
    [397] = {.lex_state = 0},
    [398] = {.lex_state = 0},
    [399] = {.lex_state = 0},
    [400] = {.lex_state = 0},
    [401] = {.lex_state = 0},
    [402] = {.lex_state = 0},
    [403] = {.lex_state = 0},
    [404] = {.lex_state = 0},
    [405] = {.lex_state = 0},
    [406] = {.lex_state = 0},
    [407] = {.lex_state = 159},
    [408] = {.lex_state = 0},
    [409] = {.lex_state = 0},
    [410] = {.lex_state = 159},
    [411] = {.lex_state = 0},
    [412] = {.lex_state = 159},
    [413] = {.lex_state = 0},
    [414] = {.lex_state = 0},
    [415] = {.lex_state = 159},
    [416] = {.lex_state = 159},
    [417] = {.lex_state = 159},
    [418] = {.lex_state = 159},
    [419] = {.lex_state = 0},
    [420] = {.lex_state = 0},
    [421] = {.lex_state = 155},
    [422] = {.lex_state = 0},
    [423] = {.lex_state = 0},
    [424] = {.lex_state = 159},
    [425] = {.lex_state = 0},
    [426] = {.lex_state = 0},
    [427] = {.lex_state = 0},
    [428] = {.lex_state = 0},
    [429] = {.lex_state = 0},
    [430] = {.lex_state = 0},
    [431] = {.lex_state = 0},
    [432] = {.lex_state = 159},
    [433] = {.lex_state = 0},
    [434] = {.lex_state = 159},
    [435] = {.lex_state = 0},
    [436] = {.lex_state = 0},
    [437] = {.lex_state = 0},
    [438] = {.lex_state = 0},
    [439] = {.lex_state = 0},
    [440] = {.lex_state = 0},
    [441] = {.lex_state = 0},
    [442] = {.lex_state = 0},
    [443] = {.lex_state = 159},
    [444] = {.lex_state = 159},
    [445] = {.lex_state = 0},
    [446] = {.lex_state = 159},
    [447] = {.lex_state = 0},
    [448] = {.lex_state = 159},
    [449] = {.lex_state = 0},
    [450] = {.lex_state = 0},
    [451] = {.lex_state = 159},
    [452] = {.lex_state = 0},
    [453] = {.lex_state = 159},
    [454] = {.lex_state = 159},
    [455] = {.lex_state = 159},
    [456] = {.lex_state = 0},
    [457] = {.lex_state = 0},
    [458] = {.lex_state = 159},
    [459] = {.lex_state = 158},
    [460] = {.lex_state = 156},
    [461] = {.lex_state = 0},
    [462] = {.lex_state = 159},
    [463] = {.lex_state = 159},
    [464] = {.lex_state = 159},
    [465] = {.lex_state = 159},
    [466] = {.lex_state = 159},
    [467] = {.lex_state = 155},
    [468] = {.lex_state = 0},
    [469] = {.lex_state = 0},
    [470] = {.lex_state = 155},
    [471] = {.lex_state = 156},
    [472] = {.lex_state = 0},
    [473] = {.lex_state = 158},
    [474] = {.lex_state = 0},
    [475] = {.lex_state = 19},
    [476] = {.lex_state = 155},
    [477] = {.lex_state = 156},
    [478] = {.lex_state = 0},
    [479] = {.lex_state = 158},
    [480] = {.lex_state = 155},
    [481] = {.lex_state = 156},
    [482] = {.lex_state = 0},
  };
  
  static uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
    [0] = {
      [ts_builtin_sym_end] = ACTIONS(1),
      [aux_sym__name_char_token1] = ACTIONS(1),
      [anon_sym_DOT] = ACTIONS(1),
      [anon_sym_DASH] = ACTIONS(1),
      [anon_sym_COLON] = ACTIONS(1),
      [aux_sym__name_char_token2] = ACTIONS(1),
      [aux_sym__name_char_token3] = ACTIONS(1),
      [aux_sym__name_char_token4] = ACTIONS(1),
      [aux_sym__name_char_token5] = ACTIONS(1),
      [aux_sym__name_char_token6] = ACTIONS(1),
      [aux_sym__name_char_token7] = ACTIONS(1),
      [aux_sym__name_char_token8] = ACTIONS(1),
      [aux_sym__name_char_token9] = ACTIONS(1),
      [aux_sym__name_char_token10] = ACTIONS(1),
      [aux_sym__name_char_token11] = ACTIONS(1),
      [aux_sym__name_char_token12] = ACTIONS(1),
      [aux_sym__name_char_token13] = ACTIONS(1),
      [aux_sym__name_char_token14] = ACTIONS(1),
      [aux_sym__name_char_token15] = ACTIONS(1),
      [anon_sym__] = ACTIONS(1),
      [aux_sym_names_token1] = ACTIONS(1),
      [anon_sym_DQUOTE] = ACTIONS(1),
      [aux_sym_entity_value_token1] = ACTIONS(1),
      [anon_sym_SQUOTE] = ACTIONS(1),
      [anon_sym_LT_BANG_DASH_DASH] = ACTIONS(1),
      [anon_sym_LT_QMARK] = ACTIONS(1),
      [sym__cdata_start] = ACTIONS(1),
      [anon_sym_LT_QMARKxml] = ACTIONS(1),
      [anon_sym_EQ] = ACTIONS(1),
      [anon_sym_LT_BANGDOCTYPE] = ACTIONS(1),
      [anon_sym_LBRACK] = ACTIONS(1),
      [anon_sym_RBRACK] = ACTIONS(1),
      [anon_sym_GT] = ACTIONS(1),
      [aux_sym__iso639_code_token1] = ACTIONS(1),
      [aux_sym__iso639_code_token2] = ACTIONS(1),
      [anon_sym_i] = ACTIONS(1),
      [anon_sym_I] = ACTIONS(1),
      [anon_sym_x] = ACTIONS(1),
      [anon_sym_X] = ACTIONS(1),
      [anon_sym_LT] = ACTIONS(1),
      [anon_sym_LT_SLASH] = ACTIONS(1),
      [anon_sym_LT_BANGELEMENT] = ACTIONS(1),
      [anon_sym_QMARK] = ACTIONS(1),
      [anon_sym_STAR] = ACTIONS(1),
      [anon_sym_PLUS] = ACTIONS(1),
      [anon_sym_LPAREN] = ACTIONS(1),
      [anon_sym_PIPE] = ACTIONS(1),
      [anon_sym_RPAREN] = ACTIONS(1),
      [anon_sym_COMMA] = ACTIONS(1),
      [anon_sym_LT_BANGATTLIST] = ACTIONS(1),
      [anon_sym_LT_BANG_LBRACK] = ACTIONS(1),
      [anon_sym_AMP_POUND] = ACTIONS(1),
      [anon_sym_SEMI] = ACTIONS(1),
      [anon_sym_AMP_POUNDx] = ACTIONS(1),
      [anon_sym_AMP] = ACTIONS(1),
      [anon_sym_PERCENT] = ACTIONS(1),
      [anon_sym_LT_BANGENTITY] = ACTIONS(1),
      [aux_sym__enc_name_token1] = ACTIONS(1),
      [aux_sym__enc_name_token2] = ACTIONS(1),
      [anon_sym_LT_BANGNOTATION] = ACTIONS(1),
    },
    [1] = {
      [sym_document] = STATE(478),
      [sym_comment] = STATE(142),
      [sym_processing_instructions] = STATE(142),
      [sym_prolog] = STATE(32),
      [sym_xml_decl] = STATE(42),
      [sym__misc] = STATE(142),
      [sym_doctype_decl] = STATE(46),
      [sym_element] = STATE(37),
      [sym_start_tag] = STATE(25),
      [sym_empty_elem_tag] = STATE(151),
      [aux_sym_document_repeat1] = STATE(32),
      [aux_sym_document_repeat2] = STATE(37),
      [aux_sym_document_repeat3] = STATE(110),
      [ts_builtin_sym_end] = ACTIONS(3),
      [aux_sym_names_token1] = ACTIONS(5),
      [anon_sym_LT_BANG_DASH_DASH] = ACTIONS(7),
      [anon_sym_LT_QMARK] = ACTIONS(9),
      [anon_sym_LT_QMARKxml] = ACTIONS(11),
      [anon_sym_LT_BANGDOCTYPE] = ACTIONS(13),
      [anon_sym_LT] = ACTIONS(15),
    },
  };
  
  static uint16_t ts_small_parse_table[] = {
    [0] = 3,
      STATE(2), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(20), 9,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
        anon_sym_EQ,
        anon_sym_LBRACK,
        anon_sym_GT,
        anon_sym_SLASH_GT,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_SEMI,
      ACTIONS(17), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [36] = 3,
      STATE(2), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(24), 9,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
        anon_sym_EQ,
        anon_sym_LBRACK,
        anon_sym_GT,
        anon_sym_SLASH_GT,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_SEMI,
      ACTIONS(22), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [72] = 3,
      STATE(5), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(28), 7,
        aux_sym_names_token1,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
      ACTIONS(26), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [106] = 3,
      STATE(6), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(24), 7,
        aux_sym_names_token1,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
      ACTIONS(30), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [140] = 3,
      STATE(6), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(20), 7,
        aux_sym_names_token1,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
      ACTIONS(32), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [174] = 3,
      STATE(3), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(28), 7,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
        anon_sym_EQ,
        anon_sym_LBRACK,
        anon_sym_GT,
        anon_sym_SLASH_GT,
        anon_sym_SEMI,
      ACTIONS(35), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [208] = 3,
      STATE(3), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(28), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
      ACTIONS(35), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [238] = 3,
      STATE(12), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(28), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
      ACTIONS(37), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [268] = 3,
      STATE(2), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(39), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
      ACTIONS(22), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [298] = 3,
      STATE(11), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(20), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
      ACTIONS(41), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [328] = 3,
      STATE(11), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(24), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
      ACTIONS(44), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [358] = 4,
      ACTIONS(48), 1,
        aux_sym_names_token1,
      STATE(228), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [389] = 4,
      ACTIONS(50), 1,
        aux_sym_names_token1,
      STATE(256), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [420] = 4,
      ACTIONS(52), 1,
        aux_sym_names_token1,
      STATE(292), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [451] = 3,
      STATE(245), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [479] = 3,
      STATE(206), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [507] = 3,
      STATE(256), 1,
        sym_nm_token,
      STATE(10), 2,
        sym__name_char,
        aux_sym__name_repeat1,
      ACTIONS(46), 18,
        aux_sym__name_char_token1,
        anon_sym_DOT,
        anon_sym_DASH,
        anon_sym_COLON,
        aux_sym__name_char_token2,
        aux_sym__name_char_token3,
        aux_sym__name_char_token4,
        aux_sym__name_char_token5,
        aux_sym__name_char_token6,
        aux_sym__name_char_token7,
        aux_sym__name_char_token8,
        aux_sym__name_char_token9,
        aux_sym__name_char_token10,
        aux_sym__name_char_token11,
        aux_sym__name_char_token12,
        aux_sym__name_char_token13,
        aux_sym__name_char_token14,
        aux_sym__name_char_token15,
    [535] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(54), 1,
        aux_sym_names_token1,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(58), 1,
        anon_sym_RBRACK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(23), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [578] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(54), 1,
        aux_sym_names_token1,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(70), 1,
        anon_sym_RBRACK,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(23), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [621] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(72), 1,
        aux_sym_names_token1,
      ACTIONS(74), 1,
        anon_sym_RBRACK,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(19), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [664] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(54), 1,
        aux_sym_names_token1,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(74), 1,
        anon_sym_RBRACK,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(23), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [707] = 11,
      ACTIONS(76), 1,
        aux_sym_names_token1,
      ACTIONS(79), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(82), 1,
        anon_sym_LT_QMARK,
      ACTIONS(85), 1,
        anon_sym_RBRACK,
      ACTIONS(87), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(90), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(93), 1,
        anon_sym_PERCENT,
      ACTIONS(96), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(99), 1,
        anon_sym_LT_BANGNOTATION,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(23), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [750] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(102), 1,
        aux_sym_names_token1,
      ACTIONS(104), 1,
        anon_sym_RBRACK,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(22), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [793] = 14,
      ACTIONS(106), 1,
        sym__char_data,
      ACTIONS(108), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(110), 1,
        anon_sym_LT_QMARK,
      ACTIONS(112), 1,
        sym__cdata_start,
      ACTIONS(114), 1,
        anon_sym_LT,
      ACTIONS(116), 1,
        anon_sym_LT_SLASH,
      ACTIONS(118), 1,
        anon_sym_AMP_POUND,
      ACTIONS(120), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(122), 1,
        anon_sym_AMP,
      STATE(27), 1,
        sym_start_tag,
      STATE(54), 1,
        sym_empty_elem_tag,
      STATE(155), 1,
        sym_end_tag,
      STATE(74), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(31), 6,
        sym_comment,
        sym_processing_instructions,
        sym_cdata_sect,
        sym_element,
        aux_sym__content,
        sym_reference,
    [842] = 14,
      ACTIONS(108), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(110), 1,
        anon_sym_LT_QMARK,
      ACTIONS(112), 1,
        sym__cdata_start,
      ACTIONS(114), 1,
        anon_sym_LT,
      ACTIONS(118), 1,
        anon_sym_AMP_POUND,
      ACTIONS(120), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(122), 1,
        anon_sym_AMP,
      ACTIONS(124), 1,
        sym__char_data,
      ACTIONS(126), 1,
        anon_sym_LT_SLASH,
      STATE(27), 1,
        sym_start_tag,
      STATE(54), 1,
        sym_empty_elem_tag,
      STATE(71), 1,
        sym_end_tag,
      STATE(74), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(33), 6,
        sym_comment,
        sym_processing_instructions,
        sym_cdata_sect,
        sym_element,
        aux_sym__content,
        sym_reference,
    [891] = 14,
      ACTIONS(108), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(110), 1,
        anon_sym_LT_QMARK,
      ACTIONS(112), 1,
        sym__cdata_start,
      ACTIONS(114), 1,
        anon_sym_LT,
      ACTIONS(118), 1,
        anon_sym_AMP_POUND,
      ACTIONS(120), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(122), 1,
        anon_sym_AMP,
      ACTIONS(126), 1,
        anon_sym_LT_SLASH,
      ACTIONS(128), 1,
        sym__char_data,
      STATE(27), 1,
        sym_start_tag,
      STATE(54), 1,
        sym_empty_elem_tag,
      STATE(64), 1,
        sym_end_tag,
      STATE(74), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(26), 6,
        sym_comment,
        sym_processing_instructions,
        sym_cdata_sect,
        sym_element,
        aux_sym__content,
        sym_reference,
    [940] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(54), 1,
        aux_sym_names_token1,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(130), 1,
        anon_sym_RBRACK,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(23), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [983] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(58), 1,
        anon_sym_RBRACK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(132), 1,
        aux_sym_names_token1,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(28), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [1026] = 11,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(60), 1,
        anon_sym_LT_BANGELEMENT,
      ACTIONS(62), 1,
        anon_sym_LT_BANGATTLIST,
      ACTIONS(64), 1,
        anon_sym_PERCENT,
      ACTIONS(66), 1,
        anon_sym_LT_BANGENTITY,
      ACTIONS(68), 1,
        anon_sym_LT_BANGNOTATION,
      ACTIONS(130), 1,
        anon_sym_RBRACK,
      ACTIONS(134), 1,
        aux_sym_names_token1,
      STATE(79), 2,
        sym_ge_decl,
        sym_pe_decl,
      STATE(20), 9,
        sym_comment,
        sym_processing_instructions,
        sym__markup_decl,
        sym_element_decl,
        sym_attlist_decl,
        sym_pe_reference,
        sym_entity_decl,
        sym_notation_decl,
        aux_sym_doctype_decl_repeat1,
    [1069] = 14,
      ACTIONS(108), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(110), 1,
        anon_sym_LT_QMARK,
      ACTIONS(112), 1,
        sym__cdata_start,
      ACTIONS(114), 1,
        anon_sym_LT,
      ACTIONS(116), 1,
        anon_sym_LT_SLASH,
      ACTIONS(118), 1,
        anon_sym_AMP_POUND,
      ACTIONS(120), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(122), 1,
        anon_sym_AMP,
      ACTIONS(124), 1,
        sym__char_data,
      STATE(27), 1,
        sym_start_tag,
      STATE(54), 1,
        sym_empty_elem_tag,
      STATE(163), 1,
        sym_end_tag,
      STATE(74), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(33), 6,
        sym_comment,
        sym_processing_instructions,
        sym_cdata_sect,
        sym_element,
        aux_sym__content,
        sym_reference,
    [1118] = 15,
      ACTIONS(5), 1,
        aux_sym_names_token1,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(9), 1,
        anon_sym_LT_QMARK,
      ACTIONS(11), 1,
        anon_sym_LT_QMARKxml,
      ACTIONS(13), 1,
        anon_sym_LT_BANGDOCTYPE,
      ACTIONS(15), 1,
        anon_sym_LT,
      ACTIONS(136), 1,
        ts_builtin_sym_end,
      STATE(25), 1,
        sym_start_tag,
      STATE(42), 1,
        sym_xml_decl,
      STATE(46), 1,
        sym_doctype_decl,
      STATE(96), 1,
        aux_sym_document_repeat3,
      STATE(151), 1,
        sym_empty_elem_tag,
      STATE(35), 2,
        sym_prolog,
        aux_sym_document_repeat1,
      STATE(36), 2,
        sym_element,
        aux_sym_document_repeat2,
      STATE(142), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1168] = 13,
      ACTIONS(138), 1,
        sym__char_data,
      ACTIONS(141), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(144), 1,
        anon_sym_LT_QMARK,
      ACTIONS(147), 1,
        sym__cdata_start,
      ACTIONS(150), 1,
        anon_sym_LT,
      ACTIONS(153), 1,
        anon_sym_LT_SLASH,
      ACTIONS(155), 1,
        anon_sym_AMP_POUND,
      ACTIONS(158), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(161), 1,
        anon_sym_AMP,
      STATE(27), 1,
        sym_start_tag,
      STATE(54), 1,
        sym_empty_elem_tag,
      STATE(74), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(33), 6,
        sym_comment,
        sym_processing_instructions,
        sym_cdata_sect,
        sym_element,
        aux_sym__content,
        sym_reference,
    [1214] = 6,
      ACTIONS(164), 1,
        anon_sym_LPAREN,
      ACTIONS(170), 1,
        anon_sym_NOTATION,
      STATE(461), 1,
        sym_attribute_type,
      ACTIONS(168), 3,
        anon_sym_ID,
        anon_sym_IDREF,
        anon_sym_NMTOKEN,
      STATE(469), 4,
        sym__tokenized_type,
        sym__enumerated_type,
        sym_notation_type,
        sym_enumeration,
      ACTIONS(166), 5,
        sym__string_type,
        anon_sym_IDREFS,
        anon_sym_ENTITY,
        anon_sym_ENTITIES,
        anon_sym_NMTOKENS,
    [1242] = 11,
      ACTIONS(172), 1,
        ts_builtin_sym_end,
      ACTIONS(174), 1,
        aux_sym_names_token1,
      ACTIONS(177), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(180), 1,
        anon_sym_LT_QMARK,
      ACTIONS(183), 1,
        anon_sym_LT_QMARKxml,
      ACTIONS(186), 1,
        anon_sym_LT_BANGDOCTYPE,
      ACTIONS(189), 1,
        anon_sym_LT,
      STATE(42), 1,
        sym_xml_decl,
      STATE(46), 1,
        sym_doctype_decl,
      STATE(35), 2,
        sym_prolog,
        aux_sym_document_repeat1,
      STATE(318), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1279] = 9,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(15), 1,
        anon_sym_LT,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(191), 1,
        ts_builtin_sym_end,
      ACTIONS(193), 1,
        aux_sym_names_token1,
      STATE(25), 1,
        sym_start_tag,
      STATE(151), 1,
        sym_empty_elem_tag,
      STATE(53), 2,
        sym_element,
        aux_sym_document_repeat2,
      STATE(104), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [1311] = 9,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(15), 1,
        anon_sym_LT,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(136), 1,
        ts_builtin_sym_end,
      ACTIONS(195), 1,
        aux_sym_names_token1,
      STATE(25), 1,
        sym_start_tag,
      STATE(151), 1,
        sym_empty_elem_tag,
      STATE(53), 2,
        sym_element,
        aux_sym_document_repeat2,
      STATE(96), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [1343] = 8,
      ACTIONS(199), 1,
        aux_sym_entity_value_token1,
      ACTIONS(202), 1,
        anon_sym_AMP_POUND,
      ACTIONS(205), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(208), 1,
        anon_sym_AMP,
      ACTIONS(211), 1,
        anon_sym_PERCENT,
      ACTIONS(197), 2,
        aux_sym_names_token1,
        anon_sym_GT,
      STATE(123), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(38), 3,
        sym_reference,
        sym_pe_reference,
        aux_sym_entity_value_repeat1,
    [1372] = 8,
      ACTIONS(216), 1,
        aux_sym_entity_value_token1,
      ACTIONS(218), 1,
        anon_sym_AMP_POUND,
      ACTIONS(220), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(222), 1,
        anon_sym_AMP,
      ACTIONS(224), 1,
        anon_sym_PERCENT,
      ACTIONS(214), 2,
        aux_sym_names_token1,
        anon_sym_GT,
      STATE(123), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(38), 3,
        sym_reference,
        sym_pe_reference,
        aux_sym_entity_value_repeat1,
    [1401] = 8,
      ACTIONS(218), 1,
        anon_sym_AMP_POUND,
      ACTIONS(220), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(222), 1,
        anon_sym_AMP,
      ACTIONS(224), 1,
        anon_sym_PERCENT,
      ACTIONS(228), 1,
        aux_sym_entity_value_token1,
      ACTIONS(226), 2,
        aux_sym_names_token1,
        anon_sym_GT,
      STATE(123), 2,
        sym_char_ref,
        sym_entity_ref,
      STATE(39), 3,
        sym_reference,
        sym_pe_reference,
        aux_sym_entity_value_repeat1,
    [1430] = 1,
      ACTIONS(230), 11,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_LT_BANGDOCTYPE,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1444] = 8,
      ACTIONS(13), 1,
        anon_sym_LT_BANGDOCTYPE,
      ACTIONS(234), 1,
        aux_sym_names_token1,
      ACTIONS(236), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(238), 1,
        anon_sym_LT_QMARK,
      ACTIONS(240), 1,
        anon_sym_LT,
      STATE(48), 1,
        sym_doctype_decl,
      ACTIONS(232), 2,
        ts_builtin_sym_end,
        anon_sym_LT_QMARKxml,
      STATE(98), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1472] = 1,
      ACTIONS(242), 11,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_LT_BANGDOCTYPE,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1486] = 1,
      ACTIONS(244), 11,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_LT_BANGDOCTYPE,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1500] = 1,
      ACTIONS(246), 11,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_LT_BANGDOCTYPE,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1514] = 6,
      ACTIONS(236), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(238), 1,
        anon_sym_LT_QMARK,
      ACTIONS(240), 1,
        anon_sym_LT,
      ACTIONS(248), 1,
        aux_sym_names_token1,
      ACTIONS(232), 3,
        ts_builtin_sym_end,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
      STATE(119), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1537] = 7,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(254), 1,
        aux_sym_names_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(258), 1,
        anon_sym_POUNDPCDATA,
      STATE(143), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1562] = 6,
      ACTIONS(236), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(238), 1,
        anon_sym_LT_QMARK,
      ACTIONS(262), 1,
        aux_sym_names_token1,
      ACTIONS(264), 1,
        anon_sym_LT,
      ACTIONS(260), 3,
        ts_builtin_sym_end,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
      STATE(137), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1585] = 6,
      ACTIONS(236), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(238), 1,
        anon_sym_LT_QMARK,
      ACTIONS(268), 1,
        aux_sym_names_token1,
      ACTIONS(270), 1,
        anon_sym_LT,
      ACTIONS(266), 3,
        ts_builtin_sym_end,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
      STATE(133), 3,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
    [1608] = 2,
      ACTIONS(274), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(272), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1622] = 2,
      ACTIONS(278), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(276), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1636] = 7,
      ACTIONS(280), 1,
        anon_sym_DQUOTE,
      ACTIONS(282), 1,
        aux_sym_entity_value_token1,
      ACTIONS(284), 1,
        anon_sym_AMP_POUND,
      ACTIONS(286), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(288), 1,
        anon_sym_AMP,
      STATE(68), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(177), 2,
        sym_char_ref,
        sym_entity_ref,
    [1660] = 5,
      ACTIONS(292), 1,
        anon_sym_LT,
      STATE(25), 1,
        sym_start_tag,
      STATE(151), 1,
        sym_empty_elem_tag,
      STATE(53), 2,
        sym_element,
        aux_sym_document_repeat2,
      ACTIONS(290), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [1680] = 2,
      ACTIONS(297), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(295), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1694] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(299), 1,
        aux_sym_names_token1,
      STATE(143), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1716] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(301), 1,
        anon_sym_POUNDPCDATA,
      STATE(144), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1738] = 1,
      ACTIONS(303), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1750] = 1,
      ACTIONS(305), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1762] = 1,
      ACTIONS(307), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1774] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(309), 1,
        aux_sym_names_token1,
      STATE(275), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1796] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(311), 1,
        aux_sym_names_token1,
      STATE(243), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1818] = 2,
      ACTIONS(315), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(313), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1832] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(317), 1,
        aux_sym_names_token1,
      STATE(276), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [1854] = 2,
      ACTIONS(321), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(319), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1868] = 1,
      ACTIONS(323), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1880] = 1,
      ACTIONS(325), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1892] = 1,
      ACTIONS(327), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [1904] = 7,
      ACTIONS(284), 1,
        anon_sym_AMP_POUND,
      ACTIONS(286), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(288), 1,
        anon_sym_AMP,
      ACTIONS(329), 1,
        anon_sym_DQUOTE,
      ACTIONS(331), 1,
        aux_sym_entity_value_token1,
      STATE(89), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(177), 2,
        sym_char_ref,
        sym_entity_ref,
    [1928] = 7,
      ACTIONS(329), 1,
        anon_sym_SQUOTE,
      ACTIONS(333), 1,
        aux_sym_entity_value_token1,
      ACTIONS(335), 1,
        anon_sym_AMP_POUND,
      ACTIONS(337), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(339), 1,
        anon_sym_AMP,
      STATE(83), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(175), 2,
        sym_char_ref,
        sym_entity_ref,
    [1952] = 7,
      ACTIONS(280), 1,
        anon_sym_SQUOTE,
      ACTIONS(335), 1,
        anon_sym_AMP_POUND,
      ACTIONS(337), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(339), 1,
        anon_sym_AMP,
      ACTIONS(341), 1,
        aux_sym_entity_value_token1,
      STATE(69), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(175), 2,
        sym_char_ref,
        sym_entity_ref,
    [1976] = 2,
      ACTIONS(345), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(343), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [1990] = 2,
      ACTIONS(349), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(347), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2004] = 6,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      ACTIONS(351), 1,
        aux_sym_names_token1,
      STATE(244), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2026] = 2,
      ACTIONS(355), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(353), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2040] = 1,
      ACTIONS(357), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2052] = 1,
      ACTIONS(359), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2064] = 2,
      ACTIONS(363), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(361), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2078] = 2,
      ACTIONS(367), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(365), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2092] = 1,
      ACTIONS(369), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2104] = 1,
      ACTIONS(371), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2116] = 2,
      ACTIONS(375), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(373), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2130] = 2,
      ACTIONS(379), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(377), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2144] = 7,
      ACTIONS(381), 1,
        aux_sym_entity_value_token1,
      ACTIONS(384), 1,
        anon_sym_SQUOTE,
      ACTIONS(386), 1,
        anon_sym_AMP_POUND,
      ACTIONS(389), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(392), 1,
        anon_sym_AMP,
      STATE(83), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(175), 2,
        sym_char_ref,
        sym_entity_ref,
    [2168] = 2,
      ACTIONS(397), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(395), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2182] = 2,
      ACTIONS(399), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(230), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2196] = 2,
      ACTIONS(401), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(242), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2210] = 2,
      ACTIONS(405), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(403), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2224] = 2,
      ACTIONS(409), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(407), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2238] = 7,
      ACTIONS(384), 1,
        anon_sym_DQUOTE,
      ACTIONS(411), 1,
        aux_sym_entity_value_token1,
      ACTIONS(414), 1,
        anon_sym_AMP_POUND,
      ACTIONS(417), 1,
        anon_sym_AMP_POUNDx,
      ACTIONS(420), 1,
        anon_sym_AMP,
      STATE(89), 2,
        sym_reference,
        aux_sym_attribute_value_repeat1,
      STATE(177), 2,
        sym_char_ref,
        sym_entity_ref,
    [2262] = 1,
      ACTIONS(423), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2274] = 1,
      ACTIONS(425), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2286] = 1,
      ACTIONS(427), 9,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        anon_sym_RBRACK,
        anon_sym_LT_BANGELEMENT,
        anon_sym_LT_BANGATTLIST,
        anon_sym_PERCENT,
        anon_sym_LT_BANGENTITY,
        anon_sym_LT_BANGNOTATION,
    [2298] = 2,
      ACTIONS(429), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(246), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2312] = 2,
      ACTIONS(431), 3,
        anon_sym_LT,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(244), 6,
        sym__char_data,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
        sym__cdata_start,
        anon_sym_LT_SLASH,
        anon_sym_AMP_POUNDx,
    [2326] = 5,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      STATE(144), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2345] = 5,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(191), 1,
        ts_builtin_sym_end,
      ACTIONS(433), 1,
        aux_sym_names_token1,
      STATE(99), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [2364] = 5,
      ACTIONS(437), 1,
        anon_sym_LPAREN,
      STATE(327), 1,
        sym_content_spec,
      ACTIONS(435), 2,
        anon_sym_EMPTY,
        anon_sym_ANY,
      STATE(164), 2,
        sym_element_choice,
        sym_element_seq,
      STATE(328), 2,
        sym_children,
        sym_mixed,
    [2383] = 4,
      ACTIONS(13), 1,
        anon_sym_LT_BANGDOCTYPE,
      STATE(49), 1,
        sym_doctype_decl,
      ACTIONS(264), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(260), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
    [2400] = 5,
      ACTIONS(439), 1,
        ts_builtin_sym_end,
      ACTIONS(441), 1,
        aux_sym_names_token1,
      ACTIONS(444), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(447), 1,
        anon_sym_LT_QMARK,
      STATE(99), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [2419] = 1,
      ACTIONS(450), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2430] = 1,
      ACTIONS(452), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2441] = 5,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      STATE(275), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2460] = 5,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      STATE(279), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2479] = 5,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(433), 1,
        aux_sym_names_token1,
      ACTIONS(454), 1,
        ts_builtin_sym_end,
      STATE(99), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [2498] = 1,
      ACTIONS(456), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2509] = 1,
      ACTIONS(458), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2520] = 5,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      STATE(282), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2539] = 5,
      ACTIONS(250), 1,
        aux_sym__name_char_token1,
      ACTIONS(256), 1,
        anon_sym_LPAREN,
      STATE(276), 1,
        sym_cp,
      ACTIONS(252), 2,
        anon_sym_COLON,
        anon_sym__,
      STATE(125), 3,
        sym__name,
        sym_element_choice,
        sym_element_seq,
    [2558] = 1,
      ACTIONS(460), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2569] = 5,
      ACTIONS(7), 1,
        anon_sym_LT_BANG_DASH_DASH,
      ACTIONS(56), 1,
        anon_sym_LT_QMARK,
      ACTIONS(136), 1,
        ts_builtin_sym_end,
      ACTIONS(433), 1,
        aux_sym_names_token1,
      STATE(99), 4,
        sym_comment,
        sym_processing_instructions,
        sym__misc,
        aux_sym_document_repeat3,
    [2588] = 1,
      ACTIONS(462), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2599] = 1,
      ACTIONS(464), 8,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2610] = 2,
      ACTIONS(468), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(466), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2622] = 2,
      ACTIONS(429), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(246), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2634] = 2,
      ACTIONS(472), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(470), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2646] = 6,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      ACTIONS(480), 1,
        anon_sym_POUNDFIXED,
      STATE(363), 1,
        sym_attribute_value,
      STATE(365), 1,
        sym_default_decl,
      ACTIONS(478), 2,
        anon_sym_POUNDREQUIRED,
        anon_sym_POUNDIMPLIED,
    [2666] = 2,
      ACTIONS(484), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(482), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2678] = 2,
      ACTIONS(405), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(403), 4,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_AMP_POUNDx,
        anon_sym_PERCENT,
    [2690] = 2,
      ACTIONS(264), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(260), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2702] = 2,
      ACTIONS(488), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(486), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2714] = 2,
      ACTIONS(492), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(490), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2726] = 2,
      ACTIONS(496), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(494), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2738] = 2,
      ACTIONS(355), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(353), 4,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_AMP_POUNDx,
        anon_sym_PERCENT,
    [2750] = 2,
      ACTIONS(409), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(407), 4,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_AMP_POUNDx,
        anon_sym_PERCENT,
    [2762] = 2,
      ACTIONS(500), 3,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
      ACTIONS(498), 4,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [2774] = 2,
      ACTIONS(431), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(244), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2786] = 2,
      ACTIONS(399), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(230), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2798] = 2,
      ACTIONS(504), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(502), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2810] = 6,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(510), 1,
        anon_sym_GT,
      ACTIONS(512), 1,
        anon_sym_SLASH_GT,
      STATE(262), 1,
        sym_attribute,
      STATE(322), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [2830] = 2,
      ACTIONS(516), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(514), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2842] = 6,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(510), 1,
        anon_sym_GT,
      ACTIONS(518), 1,
        anon_sym_SLASH_GT,
      STATE(262), 1,
        sym_attribute,
      STATE(322), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [2862] = 2,
      ACTIONS(520), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(325), 4,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_AMP_POUNDx,
        anon_sym_PERCENT,
    [2874] = 2,
      ACTIONS(524), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(522), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2886] = 2,
      ACTIONS(401), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(242), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2898] = 6,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(526), 1,
        anon_sym_GT,
      ACTIONS(528), 1,
        anon_sym_SLASH_GT,
      STATE(262), 1,
        sym_attribute,
      STATE(322), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [2918] = 2,
      ACTIONS(532), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(530), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2930] = 2,
      ACTIONS(270), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(266), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2942] = 6,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(526), 1,
        anon_sym_GT,
      ACTIONS(534), 1,
        anon_sym_SLASH_GT,
      STATE(262), 1,
        sym_attribute,
      STATE(322), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [2962] = 2,
      ACTIONS(538), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(536), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2974] = 2,
      ACTIONS(542), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(540), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2986] = 2,
      ACTIONS(546), 2,
        anon_sym_LT_QMARK,
        anon_sym_LT,
      ACTIONS(544), 5,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARKxml,
        anon_sym_LT_BANGDOCTYPE,
    [2998] = 3,
      ACTIONS(13), 1,
        anon_sym_LT_BANGDOCTYPE,
      STATE(48), 1,
        sym_doctype_decl,
      ACTIONS(548), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3011] = 6,
      ACTIONS(550), 1,
        aux_sym_names_token1,
      ACTIONS(552), 1,
        anon_sym_PIPE,
      ACTIONS(554), 1,
        anon_sym_RPAREN,
      ACTIONS(556), 1,
        anon_sym_COMMA,
      STATE(192), 1,
        aux_sym_element_seq_repeat1,
      STATE(193), 1,
        aux_sym_element_choice_repeat1,
    [3030] = 6,
      ACTIONS(552), 1,
        anon_sym_PIPE,
      ACTIONS(556), 1,
        anon_sym_COMMA,
      ACTIONS(558), 1,
        aux_sym_names_token1,
      ACTIONS(560), 1,
        anon_sym_RPAREN,
      STATE(180), 1,
        aux_sym_element_choice_repeat1,
      STATE(230), 1,
        aux_sym_element_seq_repeat1,
    [3049] = 5,
      ACTIONS(562), 1,
        anon_sym_DQUOTE,
      ACTIONS(564), 1,
        anon_sym_SYSTEM,
      ACTIONS(566), 1,
        anon_sym_PUBLIC,
      STATE(305), 1,
        sym_pe_def,
      STATE(304), 2,
        sym_entity_value,
        sym_external_id,
    [3066] = 6,
      ACTIONS(562), 1,
        anon_sym_DQUOTE,
      ACTIONS(564), 1,
        anon_sym_SYSTEM,
      ACTIONS(566), 1,
        anon_sym_PUBLIC,
      STATE(251), 1,
        sym_external_id,
      STATE(323), 1,
        sym_entity_def,
      STATE(324), 1,
        sym_entity_value,
    [3085] = 5,
      ACTIONS(564), 1,
        anon_sym_SYSTEM,
      ACTIONS(566), 1,
        anon_sym_PUBLIC,
      ACTIONS(568), 1,
        anon_sym_LBRACK,
      ACTIONS(570), 1,
        anon_sym_GT,
      STATE(270), 1,
        sym_external_id,
    [3101] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(572), 1,
        anon_sym_GT,
      STATE(438), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3115] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(297), 1,
        sym__name,
      STATE(298), 1,
        sym_pi_target,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3129] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(297), 1,
        sym__name,
      STATE(303), 1,
        sym_pi_target,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3143] = 2,
      ACTIONS(297), 1,
        anon_sym_LT,
      ACTIONS(295), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3153] = 4,
      ACTIONS(574), 1,
        aux_sym__name_char_token1,
      ACTIONS(578), 1,
        aux_sym_names_token1,
      STATE(252), 1,
        sym__name,
      ACTIONS(576), 2,
        anon_sym_COLON,
        anon_sym__,
    [3167] = 5,
      ACTIONS(580), 1,
        aux_sym_names_token1,
      ACTIONS(582), 1,
        anon_sym_PIPE,
      ACTIONS(584), 1,
        anon_sym_RPAREN,
      ACTIONS(586), 1,
        anon_sym_RPAREN_STAR,
      STATE(227), 1,
        aux_sym_mixed_repeat1,
    [3183] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(297), 1,
        sym__name,
      STATE(316), 1,
        sym_pi_target,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3197] = 2,
      ACTIONS(321), 1,
        anon_sym_LT,
      ACTIONS(319), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3207] = 5,
      ACTIONS(582), 1,
        anon_sym_PIPE,
      ACTIONS(588), 1,
        aux_sym_names_token1,
      ACTIONS(590), 1,
        anon_sym_RPAREN,
      ACTIONS(592), 1,
        anon_sym_RPAREN_STAR,
      STATE(198), 1,
        aux_sym_mixed_repeat1,
    [3223] = 3,
      STATE(157), 1,
        aux_sym__enc_name_repeat1,
      ACTIONS(594), 2,
        anon_sym_DASH,
        aux_sym__enc_name_token2,
      ACTIONS(597), 2,
        anon_sym_DQUOTE,
        anon_sym_SQUOTE,
    [3235] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(599), 1,
        anon_sym_PERCENT,
      STATE(384), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3249] = 4,
      ACTIONS(574), 1,
        aux_sym__name_char_token1,
      ACTIONS(601), 1,
        aux_sym_names_token1,
      STATE(266), 1,
        sym__name,
      ACTIONS(576), 2,
        anon_sym_COLON,
        anon_sym__,
    [3263] = 4,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      ACTIONS(607), 1,
        aux_sym_names_token1,
      STATE(277), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [3277] = 2,
      ACTIONS(278), 1,
        anon_sym_LT,
      ACTIONS(276), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3287] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      ACTIONS(609), 1,
        anon_sym_GT,
      STATE(438), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3301] = 2,
      ACTIONS(345), 1,
        anon_sym_LT,
      ACTIONS(343), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3311] = 2,
      ACTIONS(611), 2,
        aux_sym_names_token1,
        anon_sym_GT,
      ACTIONS(613), 3,
        anon_sym_QMARK,
        anon_sym_STAR,
        anon_sym_PLUS,
    [3321] = 4,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      ACTIONS(615), 1,
        aux_sym_names_token1,
      STATE(260), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [3335] = 3,
      STATE(157), 1,
        aux_sym__enc_name_repeat1,
      ACTIONS(617), 2,
        anon_sym_DASH,
        aux_sym__enc_name_token2,
      ACTIONS(619), 2,
        anon_sym_DQUOTE,
        anon_sym_SQUOTE,
    [3347] = 2,
      ACTIONS(349), 1,
        anon_sym_LT,
      ACTIONS(347), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3357] = 2,
      ACTIONS(274), 1,
        anon_sym_LT,
      ACTIONS(272), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3367] = 2,
      ACTIONS(405), 2,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(403), 3,
        anon_sym_DQUOTE,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUNDx,
    [3377] = 2,
      ACTIONS(379), 1,
        anon_sym_LT,
      ACTIONS(377), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3387] = 4,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(262), 1,
        sym_attribute,
      STATE(322), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3401] = 2,
      ACTIONS(409), 2,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(407), 3,
        anon_sym_DQUOTE,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUNDx,
    [3411] = 4,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      ACTIONS(621), 1,
        aux_sym_names_token1,
      STATE(187), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [3425] = 3,
      STATE(166), 1,
        aux_sym__enc_name_repeat1,
      ACTIONS(623), 2,
        anon_sym_DASH,
        aux_sym__enc_name_token2,
      ACTIONS(625), 2,
        anon_sym_DQUOTE,
        anon_sym_SQUOTE,
    [3437] = 2,
      ACTIONS(353), 2,
        anon_sym_SQUOTE,
        anon_sym_AMP_POUNDx,
      ACTIONS(355), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
    [3447] = 2,
      ACTIONS(375), 1,
        anon_sym_LT,
      ACTIONS(373), 4,
        ts_builtin_sym_end,
        aux_sym_names_token1,
        anon_sym_LT_BANG_DASH_DASH,
        anon_sym_LT_QMARK,
    [3457] = 2,
      ACTIONS(355), 2,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
      ACTIONS(353), 3,
        anon_sym_DQUOTE,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUNDx,
    [3467] = 2,
      ACTIONS(403), 2,
        anon_sym_SQUOTE,
        anon_sym_AMP_POUNDx,
      ACTIONS(405), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
    [3477] = 2,
      ACTIONS(407), 2,
        anon_sym_SQUOTE,
        anon_sym_AMP_POUNDx,
      ACTIONS(409), 3,
        aux_sym_entity_value_token1,
        anon_sym_AMP_POUND,
        anon_sym_AMP,
    [3487] = 4,
      ACTIONS(552), 1,
        anon_sym_PIPE,
      ACTIONS(627), 1,
        aux_sym_names_token1,
      ACTIONS(629), 1,
        anon_sym_RPAREN,
      STATE(234), 1,
        aux_sym_element_choice_repeat1,
    [3500] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(438), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3511] = 4,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      ACTIONS(631), 1,
        aux_sym_names_token1,
      STATE(289), 1,
        sym_attribute_value,
    [3524] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(466), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3535] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(463), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3546] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(188), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3557] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(383), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3568] = 4,
      ACTIONS(633), 1,
        aux_sym_names_token1,
      ACTIONS(635), 1,
        anon_sym_PIPE,
      ACTIONS(637), 1,
        anon_sym_RPAREN,
      STATE(240), 1,
        aux_sym_notation_type_repeat1,
    [3581] = 3,
      ACTIONS(639), 1,
        aux_sym_names_token1,
      ACTIONS(641), 1,
        anon_sym_GT,
      STATE(215), 2,
        sym_attribute_def,
        aux_sym_attlist_decl_repeat1,
    [3592] = 3,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      STATE(239), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [3603] = 4,
      ACTIONS(643), 1,
        aux_sym_names_token1,
      ACTIONS(646), 1,
        anon_sym_PIPE,
      ACTIONS(649), 1,
        anon_sym_RPAREN,
      STATE(190), 1,
        aux_sym_enumeration_repeat1,
    [3616] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(208), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3627] = 4,
      ACTIONS(556), 1,
        anon_sym_COMMA,
      ACTIONS(560), 1,
        anon_sym_RPAREN,
      ACTIONS(651), 1,
        aux_sym_names_token1,
      STATE(231), 1,
        aux_sym_element_seq_repeat1,
    [3640] = 4,
      ACTIONS(552), 1,
        anon_sym_PIPE,
      ACTIONS(653), 1,
        aux_sym_names_token1,
      ACTIONS(655), 1,
        anon_sym_RPAREN,
      STATE(234), 1,
        aux_sym_element_choice_repeat1,
    [3653] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(458), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3664] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(659), 1,
        aux_sym_comment_token1,
      ACTIONS(661), 1,
        anon_sym_DASH_DASH_GT,
      STATE(220), 1,
        aux_sym_comment_repeat1,
    [3677] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(663), 1,
        aux_sym_comment_token1,
      ACTIONS(665), 1,
        anon_sym_DASH_DASH_GT,
      STATE(195), 1,
        aux_sym_comment_repeat1,
    [3690] = 1,
      ACTIONS(667), 4,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [3697] = 4,
      ACTIONS(582), 1,
        anon_sym_PIPE,
      ACTIONS(586), 1,
        anon_sym_RPAREN_STAR,
      ACTIONS(669), 1,
        aux_sym_names_token1,
      STATE(233), 1,
        aux_sym_mixed_repeat1,
    [3710] = 4,
      ACTIONS(671), 1,
        aux_sym_names_token1,
      ACTIONS(673), 1,
        anon_sym_PIPE,
      ACTIONS(675), 1,
        anon_sym_RPAREN,
      STATE(190), 1,
        aux_sym_enumeration_repeat1,
    [3723] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(454), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3734] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(308), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3745] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(237), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3756] = 4,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      ACTIONS(677), 1,
        aux_sym_names_token1,
      STATE(381), 1,
        sym_attribute_value,
    [3769] = 4,
      ACTIONS(673), 1,
        anon_sym_PIPE,
      ACTIONS(679), 1,
        aux_sym_names_token1,
      ACTIONS(681), 1,
        anon_sym_RPAREN,
      STATE(190), 1,
        aux_sym_enumeration_repeat1,
    [3782] = 4,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      ACTIONS(683), 1,
        aux_sym_names_token1,
      STATE(287), 1,
        sym_attribute_value,
    [3795] = 4,
      ACTIONS(673), 1,
        anon_sym_PIPE,
      ACTIONS(679), 1,
        aux_sym_names_token1,
      ACTIONS(681), 1,
        anon_sym_RPAREN,
      STATE(199), 1,
        aux_sym_enumeration_repeat1,
    [3808] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(257), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3819] = 4,
      ACTIONS(685), 1,
        aux_sym_names_token1,
      ACTIONS(687), 1,
        anon_sym_GT,
      ACTIONS(689), 1,
        anon_sym_SLASH_GT,
      STATE(236), 1,
        aux_sym_start_tag_repeat1,
    [3832] = 3,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      STATE(281), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [3843] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(315), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3854] = 3,
      ACTIONS(691), 1,
        aux_sym_names_token1,
      ACTIONS(694), 1,
        anon_sym_GT,
      STATE(211), 2,
        sym_attribute_def,
        aux_sym_attlist_decl_repeat1,
    [3865] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(412), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3876] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(659), 1,
        aux_sym_comment_token1,
      ACTIONS(696), 1,
        anon_sym_DASH_DASH_GT,
      STATE(220), 1,
        aux_sym_comment_repeat1,
    [3889] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(698), 1,
        aux_sym_comment_token1,
      ACTIONS(700), 1,
        anon_sym_DASH_DASH_GT,
      STATE(213), 1,
        aux_sym_comment_repeat1,
    [3902] = 3,
      ACTIONS(572), 1,
        anon_sym_GT,
      ACTIONS(702), 1,
        aux_sym_names_token1,
      STATE(211), 2,
        sym_attribute_def,
        aux_sym_attlist_decl_repeat1,
    [3913] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(439), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3924] = 3,
      ACTIONS(564), 1,
        anon_sym_SYSTEM,
      ACTIONS(704), 1,
        anon_sym_PUBLIC,
      STATE(320), 2,
        sym_external_id,
        sym_public_id,
    [3935] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(446), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [3946] = 4,
      ACTIONS(706), 1,
        aux_sym_names_token1,
      ACTIONS(709), 1,
        anon_sym_PIPE,
      ACTIONS(712), 1,
        anon_sym_RPAREN,
      STATE(219), 1,
        aux_sym_notation_type_repeat1,
    [3959] = 4,
      ACTIONS(714), 1,
        anon_sym_DASH,
      ACTIONS(717), 1,
        aux_sym_comment_token1,
      ACTIONS(720), 1,
        anon_sym_DASH_DASH_GT,
      STATE(220), 1,
        aux_sym_comment_repeat1,
    [3972] = 3,
      ACTIONS(574), 1,
        aux_sym__name_char_token1,
      STATE(278), 1,
        sym__name,
      ACTIONS(576), 2,
        anon_sym_COLON,
        anon_sym__,
    [3983] = 4,
      ACTIONS(526), 1,
        anon_sym_GT,
      ACTIONS(528), 1,
        anon_sym_SLASH_GT,
      ACTIONS(722), 1,
        aux_sym_names_token1,
      STATE(225), 1,
        aux_sym_start_tag_repeat1,
    [3996] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(386), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [4007] = 3,
      ACTIONS(506), 1,
        aux_sym__name_char_token1,
      STATE(367), 1,
        sym__name,
      ACTIONS(508), 2,
        anon_sym_COLON,
        anon_sym__,
    [4018] = 3,
      ACTIONS(724), 1,
        aux_sym_names_token1,
      STATE(225), 1,
        aux_sym_start_tag_repeat1,
      ACTIONS(727), 2,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4029] = 4,
      ACTIONS(729), 1,
        aux_sym_names_token1,
      ACTIONS(731), 1,
        anon_sym_QMARK_GT,
      STATE(255), 1,
        sym_encoding_decl,
      STATE(319), 1,
        sym_standalone_decl,
    [4042] = 4,
      ACTIONS(582), 1,
        anon_sym_PIPE,
      ACTIONS(733), 1,
        aux_sym_names_token1,
      ACTIONS(735), 1,
        anon_sym_RPAREN_STAR,
      STATE(233), 1,
        aux_sym_mixed_repeat1,
    [4055] = 4,
      ACTIONS(673), 1,
        anon_sym_PIPE,
      ACTIONS(737), 1,
        aux_sym_names_token1,
      ACTIONS(739), 1,
        anon_sym_RPAREN,
      STATE(204), 1,
        aux_sym_enumeration_repeat1,
    [4068] = 3,
      ACTIONS(603), 1,
        aux_sym__name_char_token1,
      STATE(277), 1,
        sym__name,
      ACTIONS(605), 2,
        anon_sym_COLON,
        anon_sym__,
    [4079] = 4,
      ACTIONS(556), 1,
        anon_sym_COMMA,
      ACTIONS(741), 1,
        aux_sym_names_token1,
      ACTIONS(743), 1,
        anon_sym_RPAREN,
      STATE(231), 1,
        aux_sym_element_seq_repeat1,
    [4092] = 4,
      ACTIONS(745), 1,
        aux_sym_names_token1,
      ACTIONS(748), 1,
        anon_sym_RPAREN,
      ACTIONS(750), 1,
        anon_sym_COMMA,
      STATE(231), 1,
        aux_sym_element_seq_repeat1,
    [4105] = 3,
      ACTIONS(574), 1,
        aux_sym__name_char_token1,
      STATE(266), 1,
        sym__name,
      ACTIONS(576), 2,
        anon_sym_COLON,
        anon_sym__,
    [4116] = 4,
      ACTIONS(753), 1,
        aux_sym_names_token1,
      ACTIONS(756), 1,
        anon_sym_PIPE,
      ACTIONS(759), 1,
        anon_sym_RPAREN_STAR,
      STATE(233), 1,
        aux_sym_mixed_repeat1,
    [4129] = 4,
      ACTIONS(761), 1,
        aux_sym_names_token1,
      ACTIONS(764), 1,
        anon_sym_PIPE,
      ACTIONS(767), 1,
        anon_sym_RPAREN,
      STATE(234), 1,
        aux_sym_element_choice_repeat1,
    [4142] = 4,
      ACTIONS(633), 1,
        aux_sym_names_token1,
      ACTIONS(635), 1,
        anon_sym_PIPE,
      ACTIONS(769), 1,
        anon_sym_RPAREN,
      STATE(219), 1,
        aux_sym_notation_type_repeat1,
    [4155] = 4,
      ACTIONS(526), 1,
        anon_sym_GT,
      ACTIONS(534), 1,
        anon_sym_SLASH_GT,
      ACTIONS(771), 1,
        aux_sym_names_token1,
      STATE(225), 1,
        aux_sym_start_tag_repeat1,
    [4168] = 4,
      ACTIONS(687), 1,
        anon_sym_GT,
      ACTIONS(773), 1,
        aux_sym_names_token1,
      ACTIONS(775), 1,
        anon_sym_SLASH_GT,
      STATE(222), 1,
        aux_sym_start_tag_repeat1,
    [4181] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(777), 1,
        aux_sym_comment_token1,
      ACTIONS(779), 1,
        anon_sym_DASH_DASH_GT,
      STATE(241), 1,
        aux_sym_comment_repeat1,
    [4194] = 4,
      ACTIONS(633), 1,
        aux_sym_names_token1,
      ACTIONS(635), 1,
        anon_sym_PIPE,
      ACTIONS(781), 1,
        anon_sym_RPAREN,
      STATE(235), 1,
        aux_sym_notation_type_repeat1,
    [4207] = 4,
      ACTIONS(633), 1,
        aux_sym_names_token1,
      ACTIONS(635), 1,
        anon_sym_PIPE,
      ACTIONS(783), 1,
        anon_sym_RPAREN,
      STATE(219), 1,
        aux_sym_notation_type_repeat1,
    [4220] = 4,
      ACTIONS(657), 1,
        anon_sym_DASH,
      ACTIONS(659), 1,
        aux_sym_comment_token1,
      ACTIONS(785), 1,
        anon_sym_DASH_DASH_GT,
      STATE(220), 1,
        aux_sym_comment_repeat1,
    [4233] = 3,
      ACTIONS(787), 1,
        anon_sym_QMARK_GT,
      ACTIONS(789), 1,
        anon_sym_standalone,
      ACTIONS(791), 1,
        anon_sym_encoding,
    [4243] = 1,
      ACTIONS(748), 3,
        aux_sym_names_token1,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [4249] = 1,
      ACTIONS(767), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4255] = 1,
      ACTIONS(793), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4261] = 3,
      ACTIONS(795), 1,
        aux_sym_names_token1,
      ACTIONS(797), 1,
        anon_sym_DQUOTE,
      ACTIONS(799), 1,
        anon_sym_SQUOTE,
    [4271] = 3,
      ACTIONS(801), 1,
        anon_sym_DQUOTE,
      ACTIONS(803), 1,
        sym_pubid_char,
      STATE(273), 1,
        aux_sym_pubid_literal_repeat1,
    [4281] = 1,
      ACTIONS(805), 3,
        aux_sym_names_token1,
        anon_sym_LBRACK,
        anon_sym_GT,
    [4287] = 1,
      ACTIONS(807), 3,
        aux_sym_names_token1,
        anon_sym_LBRACK,
        anon_sym_GT,
    [4293] = 3,
      ACTIONS(809), 1,
        anon_sym_DQUOTE,
      ACTIONS(811), 1,
        sym_pubid_char,
      STATE(250), 1,
        aux_sym_pubid_literal_repeat1,
    [4303] = 2,
      STATE(311), 1,
        sym_ndata_decl,
      ACTIONS(814), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4311] = 1,
      ACTIONS(759), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
    [4317] = 1,
      ACTIONS(816), 3,
        aux_sym_names_token1,
        anon_sym_LBRACK,
        anon_sym_GT,
    [4323] = 3,
      ACTIONS(818), 1,
        aux_sym_names_token1,
      ACTIONS(820), 1,
        anon_sym_DQUOTE,
      ACTIONS(822), 1,
        anon_sym_SQUOTE,
    [4333] = 3,
      ACTIONS(787), 1,
        anon_sym_QMARK_GT,
      ACTIONS(824), 1,
        aux_sym_names_token1,
      STATE(337), 1,
        sym_standalone_decl,
    [4343] = 1,
      ACTIONS(826), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4349] = 3,
      ACTIONS(828), 1,
        aux_sym_names_token1,
      ACTIONS(830), 1,
        anon_sym_LBRACK,
      ACTIONS(832), 1,
        anon_sym_GT,
    [4359] = 3,
      ACTIONS(743), 1,
        anon_sym_RPAREN,
      ACTIONS(834), 1,
        anon_sym_PIPE,
      ACTIONS(836), 1,
        anon_sym_COMMA,
    [4369] = 3,
      ACTIONS(735), 1,
        anon_sym_RPAREN_STAR,
      ACTIONS(838), 1,
        anon_sym_PIPE,
      ACTIONS(840), 1,
        anon_sym_RPAREN,
    [4379] = 1,
      ACTIONS(842), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4385] = 3,
      ACTIONS(844), 1,
        anon_sym_DQUOTE,
      ACTIONS(846), 1,
        anon_sym_SQUOTE,
      STATE(248), 1,
        sym_system_literal,
    [4395] = 1,
      ACTIONS(727), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4401] = 3,
      ACTIONS(848), 1,
        aux_sym_names_token1,
      ACTIONS(850), 1,
        anon_sym_DQUOTE,
      ACTIONS(852), 1,
        anon_sym_SQUOTE,
    [4411] = 3,
      ACTIONS(854), 1,
        aux_sym_names_token1,
      ACTIONS(856), 1,
        anon_sym_DQUOTE,
      ACTIONS(858), 1,
        anon_sym_SQUOTE,
    [4421] = 2,
      ACTIONS(860), 1,
        anon_sym_DASH,
      ACTIONS(720), 2,
        aux_sym_comment_token1,
        anon_sym_DASH_DASH_GT,
    [4429] = 1,
      ACTIONS(862), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
    [4435] = 1,
      ACTIONS(864), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4441] = 1,
      ACTIONS(866), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4447] = 3,
      ACTIONS(809), 1,
        anon_sym_SQUOTE,
      ACTIONS(868), 1,
        sym_pubid_char,
      STATE(269), 1,
        aux_sym_pubid_literal_repeat1,
    [4457] = 3,
      ACTIONS(871), 1,
        aux_sym_names_token1,
      ACTIONS(873), 1,
        anon_sym_LBRACK,
      ACTIONS(875), 1,
        anon_sym_GT,
    [4467] = 3,
      ACTIONS(844), 1,
        anon_sym_DQUOTE,
      ACTIONS(846), 1,
        anon_sym_SQUOTE,
      STATE(249), 1,
        sym_system_literal,
    [4477] = 3,
      ACTIONS(877), 1,
        anon_sym_SQUOTE,
      ACTIONS(879), 1,
        sym_pubid_char,
      STATE(269), 1,
        aux_sym_pubid_literal_repeat1,
    [4487] = 3,
      ACTIONS(877), 1,
        anon_sym_DQUOTE,
      ACTIONS(881), 1,
        sym_pubid_char,
      STATE(250), 1,
        aux_sym_pubid_literal_repeat1,
    [4497] = 3,
      ACTIONS(883), 1,
        anon_sym_DQUOTE,
      ACTIONS(885), 1,
        anon_sym_SQUOTE,
      STATE(309), 1,
        sym_pubid_literal,
    [4507] = 1,
      ACTIONS(887), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4513] = 1,
      ACTIONS(889), 3,
        aux_sym_names_token1,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [4519] = 1,
      ACTIONS(891), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4525] = 1,
      ACTIONS(893), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN_STAR,
    [4531] = 1,
      ACTIONS(895), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4537] = 3,
      ACTIONS(584), 1,
        anon_sym_RPAREN,
      ACTIONS(586), 1,
        anon_sym_RPAREN_STAR,
      ACTIONS(838), 1,
        anon_sym_PIPE,
    [4547] = 1,
      ACTIONS(897), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4553] = 1,
      ACTIONS(899), 3,
        aux_sym_names_token1,
        anon_sym_RPAREN,
        anon_sym_COMMA,
    [4559] = 3,
      ACTIONS(901), 1,
        aux_sym_names_token1,
      ACTIONS(903), 1,
        anon_sym_DQUOTE,
      ACTIONS(905), 1,
        anon_sym_SQUOTE,
    [4569] = 3,
      ACTIONS(560), 1,
        anon_sym_RPAREN,
      ACTIONS(834), 1,
        anon_sym_PIPE,
      ACTIONS(836), 1,
        anon_sym_COMMA,
    [4579] = 3,
      ACTIONS(907), 1,
        aux_sym_names_token1,
      ACTIONS(909), 1,
        anon_sym_DQUOTE,
      ACTIONS(911), 1,
        anon_sym_SQUOTE,
    [4589] = 3,
      ACTIONS(883), 1,
        anon_sym_DQUOTE,
      ACTIONS(885), 1,
        anon_sym_SQUOTE,
      STATE(387), 1,
        sym_pubid_literal,
    [4599] = 1,
      ACTIONS(913), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4605] = 1,
      ACTIONS(915), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4611] = 1,
      ACTIONS(917), 3,
        aux_sym_names_token1,
        anon_sym_GT,
        anon_sym_SLASH_GT,
    [4617] = 3,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      STATE(289), 1,
        sym_attribute_value,
    [4627] = 3,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      STATE(268), 1,
        sym_attribute_value,
    [4637] = 1,
      ACTIONS(649), 3,
        aux_sym_names_token1,
        anon_sym_PIPE,
        anon_sym_RPAREN,
    [4643] = 3,
      ACTIONS(474), 1,
        anon_sym_DQUOTE,
      ACTIONS(476), 1,
        anon_sym_SQUOTE,
      STATE(378), 1,
        sym_attribute_value,
    [4653] = 3,
      ACTIONS(801), 1,
        anon_sym_SQUOTE,
      ACTIONS(919), 1,
        sym_pubid_char,
      STATE(272), 1,
        aux_sym_pubid_literal_repeat1,
    [4663] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(408), 1,
        sym__version_num,
    [4670] = 2,
      ACTIONS(923), 1,
        aux_sym_names_token1,
      ACTIONS(925), 1,
        anon_sym_EQ,
    [4677] = 1,
      ACTIONS(927), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4682] = 2,
      ACTIONS(929), 1,
        aux_sym_names_token1,
      ACTIONS(931), 1,
        anon_sym_QMARK_GT,
    [4689] = 1,
      ACTIONS(933), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4694] = 1,
      ACTIONS(935), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4699] = 2,
      ACTIONS(937), 1,
        anon_sym_version,
      STATE(226), 1,
        sym_version_info,
    [4706] = 2,
      ACTIONS(939), 1,
        aux_sym_cdata_token1,
      STATE(313), 1,
        sym_cdata,
    [4713] = 2,
      ACTIONS(941), 1,
        aux_sym_names_token1,
      ACTIONS(943), 1,
        anon_sym_QMARK_GT,
    [4720] = 1,
      ACTIONS(945), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4725] = 2,
      ACTIONS(947), 1,
        aux_sym_names_token1,
      ACTIONS(949), 1,
        anon_sym_GT,
    [4732] = 1,
      ACTIONS(951), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4737] = 2,
      ACTIONS(953), 1,
        aux_sym_names_token1,
      ACTIONS(955), 1,
        anon_sym_EQ,
    [4744] = 2,
      ACTIONS(957), 1,
        aux_sym_names_token1,
      ACTIONS(959), 1,
        anon_sym_GT,
    [4751] = 1,
      ACTIONS(961), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4756] = 1,
      ACTIONS(963), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4761] = 1,
      ACTIONS(965), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4766] = 1,
      ACTIONS(967), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4771] = 2,
      ACTIONS(969), 1,
        anon_sym_RBRACK_RBRACK_GT,
      STATE(84), 1,
        sym__cdata_end,
    [4778] = 1,
      ACTIONS(971), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4783] = 2,
      ACTIONS(973), 1,
        aux_sym_names_token1,
      ACTIONS(975), 1,
        anon_sym_GT,
    [4790] = 2,
      ACTIONS(977), 1,
        aux_sym_names_token1,
      ACTIONS(979), 1,
        anon_sym_QMARK_GT,
    [4797] = 1,
      ACTIONS(981), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4802] = 2,
      ACTIONS(13), 1,
        anon_sym_LT_BANGDOCTYPE,
      STATE(48), 1,
        sym_doctype_decl,
    [4809] = 2,
      ACTIONS(787), 1,
        anon_sym_QMARK_GT,
      ACTIONS(983), 1,
        aux_sym_names_token1,
    [4816] = 2,
      ACTIONS(985), 1,
        aux_sym_names_token1,
      ACTIONS(987), 1,
        anon_sym_GT,
    [4823] = 2,
      ACTIONS(735), 1,
        anon_sym_RPAREN_STAR,
      ACTIONS(838), 1,
        anon_sym_PIPE,
    [4830] = 2,
      ACTIONS(989), 1,
        aux_sym_names_token1,
      ACTIONS(991), 1,
        anon_sym_EQ,
    [4837] = 2,
      ACTIONS(993), 1,
        aux_sym_names_token1,
      ACTIONS(995), 1,
        anon_sym_GT,
    [4844] = 1,
      ACTIONS(814), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4849] = 2,
      ACTIONS(850), 1,
        anon_sym_DQUOTE,
      ACTIONS(852), 1,
        anon_sym_SQUOTE,
    [4856] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(420), 1,
        sym__version_num,
    [4863] = 2,
      ACTIONS(997), 1,
        aux_sym_names_token1,
      ACTIONS(999), 1,
        anon_sym_GT,
    [4870] = 1,
      ACTIONS(1001), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4875] = 2,
      ACTIONS(629), 1,
        anon_sym_RPAREN,
      ACTIONS(834), 1,
        anon_sym_PIPE,
    [4882] = 2,
      ACTIONS(1003), 1,
        aux_sym_names_token1,
      ACTIONS(1005), 1,
        anon_sym_GT,
    [4889] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(419), 1,
        sym__version_num,
    [4896] = 2,
      ACTIONS(743), 1,
        anon_sym_RPAREN,
      ACTIONS(836), 1,
        anon_sym_COMMA,
    [4903] = 1,
      ACTIONS(1007), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4908] = 1,
      ACTIONS(1009), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4913] = 2,
      ACTIONS(1011), 1,
        aux_sym_names_token1,
      ACTIONS(1013), 1,
        anon_sym_EQ,
    [4920] = 2,
      ACTIONS(789), 1,
        anon_sym_standalone,
      ACTIONS(1015), 1,
        anon_sym_QMARK_GT,
    [4927] = 2,
      ACTIONS(1015), 1,
        anon_sym_QMARK_GT,
      ACTIONS(1017), 1,
        aux_sym_names_token1,
    [4934] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(449), 1,
        sym__enc_name,
    [4941] = 2,
      ACTIONS(875), 1,
        anon_sym_GT,
      ACTIONS(1021), 1,
        aux_sym_names_token1,
    [4948] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(447), 1,
        sym__enc_name,
    [4955] = 1,
      ACTIONS(1023), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [4960] = 1,
      ACTIONS(1025), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [4965] = 2,
      ACTIONS(838), 1,
        anon_sym_PIPE,
      ACTIONS(1027), 1,
        anon_sym_RPAREN_STAR,
    [4972] = 2,
      ACTIONS(1029), 1,
        anon_sym_DQUOTE,
      ACTIONS(1031), 1,
        anon_sym_SQUOTE,
    [4979] = 2,
      ACTIONS(834), 1,
        anon_sym_PIPE,
      ACTIONS(1033), 1,
        anon_sym_RPAREN,
    [4986] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(409), 1,
        sym__version_num,
    [4993] = 2,
      ACTIONS(836), 1,
        anon_sym_COMMA,
      ACTIONS(1035), 1,
        anon_sym_RPAREN,
    [5000] = 1,
      ACTIONS(1037), 2,
        anon_sym_yes,
        anon_sym_no,
    [5005] = 1,
      ACTIONS(1039), 2,
        anon_sym_yes,
        anon_sym_no,
    [5010] = 2,
      ACTIONS(1041), 1,
        aux_sym_names_token1,
      ACTIONS(1043), 1,
        anon_sym_GT,
    [5017] = 1,
      ACTIONS(1045), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [5022] = 2,
      ACTIONS(1047), 1,
        aux_sym_names_token1,
      ACTIONS(1049), 1,
        anon_sym_GT,
    [5029] = 1,
      ACTIONS(1051), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5034] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(392), 1,
        sym__version_num,
    [5041] = 2,
      ACTIONS(921), 1,
        anon_sym_1_DOT,
      STATE(395), 1,
        sym__version_num,
    [5048] = 1,
      ACTIONS(1053), 2,
        anon_sym_DQUOTE,
        anon_sym_SQUOTE,
    [5053] = 2,
      ACTIONS(1043), 1,
        anon_sym_GT,
      ACTIONS(1055), 1,
        anon_sym_LBRACK,
    [5060] = 2,
      ACTIONS(681), 1,
        anon_sym_RPAREN,
      ACTIONS(1057), 1,
        anon_sym_PIPE,
    [5067] = 1,
      ACTIONS(1059), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [5072] = 2,
      ACTIONS(856), 1,
        anon_sym_DQUOTE,
      ACTIONS(858), 1,
        anon_sym_SQUOTE,
    [5079] = 1,
      ACTIONS(1061), 2,
        anon_sym_yes,
        anon_sym_no,
    [5084] = 1,
      ACTIONS(1063), 2,
        anon_sym_yes,
        anon_sym_no,
    [5089] = 1,
      ACTIONS(1065), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5094] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(436), 1,
        sym__enc_name,
    [5101] = 1,
      ACTIONS(1067), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5106] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(433), 1,
        sym__enc_name,
    [5113] = 1,
      ACTIONS(1069), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5118] = 1,
      ACTIONS(1071), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5123] = 2,
      ACTIONS(1073), 1,
        anon_sym_DQUOTE,
      ACTIONS(1075), 1,
        anon_sym_SQUOTE,
    [5130] = 2,
      ACTIONS(820), 1,
        anon_sym_DQUOTE,
      ACTIONS(822), 1,
        anon_sym_SQUOTE,
    [5137] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(401), 1,
        sym__enc_name,
    [5144] = 1,
      ACTIONS(1077), 2,
        anon_sym_yes,
        anon_sym_no,
    [5149] = 1,
      ACTIONS(1079), 2,
        anon_sym_yes,
        anon_sym_no,
    [5154] = 2,
      ACTIONS(675), 1,
        anon_sym_RPAREN,
      ACTIONS(1057), 1,
        anon_sym_PIPE,
    [5161] = 2,
      ACTIONS(1019), 1,
        aux_sym__enc_name_token1,
      STATE(402), 1,
        sym__enc_name,
    [5168] = 2,
      ACTIONS(1081), 1,
        anon_sym_DQUOTE,
      ACTIONS(1083), 1,
        anon_sym_SQUOTE,
    [5175] = 1,
      ACTIONS(1085), 2,
        aux_sym_names_token1,
        anon_sym_QMARK_GT,
    [5180] = 1,
      ACTIONS(1087), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5185] = 2,
      ACTIONS(1089), 1,
        aux_sym_names_token1,
      ACTIONS(1091), 1,
        anon_sym_GT,
    [5192] = 2,
      ACTIONS(1057), 1,
        anon_sym_PIPE,
      ACTIONS(1093), 1,
        anon_sym_RPAREN,
    [5199] = 1,
      ACTIONS(1095), 2,
        aux_sym_names_token1,
        anon_sym_GT,
    [5204] = 1,
      ACTIONS(1097), 1,
        aux_sym_names_token1,
    [5208] = 1,
      ACTIONS(1099), 1,
        aux_sym_names_token1,
    [5212] = 1,
      ACTIONS(1101), 1,
        aux_sym_names_token1,
    [5216] = 1,
      ACTIONS(1103), 1,
        aux_sym_names_token1,
    [5220] = 1,
      ACTIONS(1105), 1,
        aux_sym_names_token1,
    [5224] = 1,
      ACTIONS(1107), 1,
        aux_sym_names_token1,
    [5228] = 1,
      ACTIONS(1109), 1,
        aux_sym_system_literal_token1,
    [5232] = 1,
      ACTIONS(1057), 1,
        anon_sym_PIPE,
    [5236] = 1,
      ACTIONS(1111), 1,
        aux_sym_system_literal_token1,
    [5240] = 1,
      ACTIONS(1113), 1,
        anon_sym_PIPE,
    [5244] = 1,
      ACTIONS(1115), 1,
        anon_sym_DQUOTE,
    [5248] = 1,
      ACTIONS(1117), 1,
        aux_sym_names_token1,
    [5252] = 1,
      ACTIONS(1091), 1,
        anon_sym_GT,
    [5256] = 1,
      ACTIONS(1115), 1,
        anon_sym_SQUOTE,
    [5260] = 1,
      ACTIONS(1119), 1,
        aux_sym_names_token1,
    [5264] = 1,
      ACTIONS(1121), 1,
        aux_sym_names_token1,
    [5268] = 1,
      ACTIONS(1123), 1,
        aux_sym_names_token1,
    [5272] = 1,
      ACTIONS(1125), 1,
        anon_sym_DQUOTE,
    [5276] = 1,
      ACTIONS(1125), 1,
        anon_sym_SQUOTE,
    [5280] = 1,
      ACTIONS(1127), 1,
        anon_sym_DQUOTE,
    [5284] = 1,
      ACTIONS(1127), 1,
        anon_sym_SQUOTE,
    [5288] = 1,
      ACTIONS(1129), 1,
        aux_sym_names_token1,
    [5292] = 1,
      ACTIONS(1131), 1,
        aux_sym_names_token1,
    [5296] = 1,
      ACTIONS(1133), 1,
        aux_sym_names_token1,
    [5300] = 1,
      ACTIONS(1049), 1,
        anon_sym_GT,
    [5304] = 1,
      ACTIONS(836), 1,
        anon_sym_COMMA,
    [5308] = 1,
      ACTIONS(1135), 1,
        anon_sym_SQUOTE,
    [5312] = 1,
      ACTIONS(1135), 1,
        anon_sym_DQUOTE,
    [5316] = 1,
      ACTIONS(834), 1,
        anon_sym_PIPE,
    [5320] = 1,
      ACTIONS(1137), 1,
        anon_sym_SQUOTE,
    [5324] = 1,
      ACTIONS(1139), 1,
        anon_sym_SEMI,
    [5328] = 1,
      ACTIONS(1043), 1,
        anon_sym_GT,
    [5332] = 1,
      ACTIONS(1141), 1,
        aux_sym_names_token1,
    [5336] = 1,
      ACTIONS(838), 1,
        anon_sym_PIPE,
    [5340] = 1,
      ACTIONS(1143), 1,
        anon_sym_QMARK_GT,
    [5344] = 1,
      ACTIONS(1145), 1,
        anon_sym_EQ,
    [5348] = 1,
      ACTIONS(1147), 1,
        anon_sym_EQ,
    [5352] = 1,
      ACTIONS(1149), 1,
        anon_sym_SQUOTE,
    [5356] = 1,
      ACTIONS(1149), 1,
        anon_sym_DQUOTE,
    [5360] = 1,
      ACTIONS(1151), 1,
        aux_sym__version_num_token1,
    [5364] = 1,
      ACTIONS(1153), 1,
        anon_sym_DQUOTE,
    [5368] = 1,
      ACTIONS(1153), 1,
        anon_sym_SQUOTE,
    [5372] = 1,
      ACTIONS(1155), 1,
        anon_sym_EQ,
    [5376] = 1,
      ACTIONS(1157), 1,
        aux_sym_names_token1,
    [5380] = 1,
      ACTIONS(1159), 1,
        aux_sym_names_token1,
    [5384] = 1,
      ACTIONS(1161), 1,
        aux_sym_names_token1,
    [5388] = 1,
      ACTIONS(1163), 1,
        aux_sym_names_token1,
    [5392] = 1,
      ACTIONS(1165), 1,
        anon_sym_GT,
    [5396] = 1,
      ACTIONS(1167), 1,
        aux_sym_names_token1,
    [5400] = 1,
      ACTIONS(1169), 1,
        aux_sym_names_token1,
    [5404] = 1,
      ACTIONS(1171), 1,
        anon_sym_LPAREN,
    [5408] = 1,
      ACTIONS(1173), 1,
        anon_sym_DQUOTE,
    [5412] = 1,
      ACTIONS(1015), 1,
        anon_sym_QMARK_GT,
    [5416] = 1,
      ACTIONS(1175), 1,
        anon_sym_GT,
    [5420] = 1,
      ACTIONS(1173), 1,
        anon_sym_SQUOTE,
    [5424] = 1,
      ACTIONS(1005), 1,
        anon_sym_GT,
    [5428] = 1,
      ACTIONS(1177), 1,
        aux_sym_names_token1,
    [5432] = 1,
      ACTIONS(1179), 1,
        aux_sym_names_token1,
    [5436] = 1,
      ACTIONS(1181), 1,
        anon_sym_GT,
    [5440] = 1,
      ACTIONS(1183), 1,
        aux_sym_names_token1,
    [5444] = 1,
      ACTIONS(1185), 1,
        anon_sym_DQUOTE,
    [5448] = 1,
      ACTIONS(1187), 1,
        anon_sym_EQ,
    [5452] = 1,
      ACTIONS(1189), 1,
        anon_sym_QMARK_GT,
    [5456] = 1,
      ACTIONS(1185), 1,
        anon_sym_SQUOTE,
    [5460] = 1,
      ACTIONS(1191), 1,
        anon_sym_SEMI,
    [5464] = 1,
      ACTIONS(1193), 1,
        anon_sym_DQUOTE,
    [5468] = 1,
      ACTIONS(1195), 1,
        anon_sym_SEMI,
    [5472] = 1,
      ACTIONS(1193), 1,
        anon_sym_SQUOTE,
    [5476] = 1,
      ACTIONS(1137), 1,
        anon_sym_DQUOTE,
    [5480] = 1,
      ACTIONS(1197), 1,
        anon_sym_RBRACK_RBRACK_GT,
    [5484] = 1,
      ACTIONS(1199), 1,
        aux_sym_names_token1,
    [5488] = 1,
      ACTIONS(1201), 1,
        anon_sym_SEMI,
    [5492] = 1,
      ACTIONS(1203), 1,
        anon_sym_SEMI,
    [5496] = 1,
      ACTIONS(1205), 1,
        anon_sym_QMARK_GT,
    [5500] = 1,
      ACTIONS(1207), 1,
        anon_sym_GT,
    [5504] = 1,
      ACTIONS(1209), 1,
        anon_sym_GT,
    [5508] = 1,
      ACTIONS(1211), 1,
        anon_sym_SEMI,
    [5512] = 1,
      ACTIONS(1213), 1,
        aux_sym_processing_instructions_token1,
    [5516] = 1,
      ACTIONS(1215), 1,
        aux_sym_char_ref_token1,
    [5520] = 1,
      ACTIONS(1217), 1,
        aux_sym_names_token1,
    [5524] = 1,
      ACTIONS(1219), 1,
        anon_sym_SEMI,
    [5528] = 1,
      ACTIONS(1221), 1,
        anon_sym_SEMI,
    [5532] = 1,
      ACTIONS(1223), 1,
        anon_sym_QMARK_GT,
    [5536] = 1,
      ACTIONS(1225), 1,
        anon_sym_SEMI,
    [5540] = 1,
      ACTIONS(1227), 1,
        anon_sym_SEMI,
    [5544] = 1,
      ACTIONS(1215), 1,
        aux_sym__version_num_token1,
    [5548] = 1,
      ACTIONS(1229), 1,
        aux_sym_names_token1,
    [5552] = 1,
      ACTIONS(1231), 1,
        aux_sym_names_token1,
    [5556] = 1,
      ACTIONS(1233), 1,
        aux_sym__version_num_token1,
    [5560] = 1,
      ACTIONS(1233), 1,
        aux_sym_char_ref_token1,
    [5564] = 1,
      ACTIONS(1235), 1,
        anon_sym_GT,
    [5568] = 1,
      ACTIONS(1237), 1,
        aux_sym_processing_instructions_token1,
    [5572] = 1,
      ACTIONS(1239), 1,
        anon_sym_GT,
    [5576] = 1,
      ACTIONS(1241), 1,
        aux_sym_comment_token1,
    [5580] = 1,
      ACTIONS(1243), 1,
        aux_sym__version_num_token1,
    [5584] = 1,
      ACTIONS(1243), 1,
        aux_sym_char_ref_token1,
    [5588] = 1,
      ACTIONS(1245), 1,
        ts_builtin_sym_end,
    [5592] = 1,
      ACTIONS(1247), 1,
        aux_sym_processing_instructions_token1,
    [5596] = 1,
      ACTIONS(1249), 1,
        aux_sym__version_num_token1,
    [5600] = 1,
      ACTIONS(1249), 1,
        aux_sym_char_ref_token1,
    [5604] = 1,
      ACTIONS(1251), 1,
        aux_sym_names_token1,
  };
  
  static uint32_t ts_small_parse_table_map[] = {
    [SMALL_STATE(2)] = 0,
    [SMALL_STATE(3)] = 36,
    [SMALL_STATE(4)] = 72,
    [SMALL_STATE(5)] = 106,
    [SMALL_STATE(6)] = 140,
    [SMALL_STATE(7)] = 174,
    [SMALL_STATE(8)] = 208,
    [SMALL_STATE(9)] = 238,
    [SMALL_STATE(10)] = 268,
    [SMALL_STATE(11)] = 298,
    [SMALL_STATE(12)] = 328,
    [SMALL_STATE(13)] = 358,
    [SMALL_STATE(14)] = 389,
    [SMALL_STATE(15)] = 420,
    [SMALL_STATE(16)] = 451,
    [SMALL_STATE(17)] = 479,
    [SMALL_STATE(18)] = 507,
    [SMALL_STATE(19)] = 535,
    [SMALL_STATE(20)] = 578,
    [SMALL_STATE(21)] = 621,
    [SMALL_STATE(22)] = 664,
    [SMALL_STATE(23)] = 707,
    [SMALL_STATE(24)] = 750,
    [SMALL_STATE(25)] = 793,
    [SMALL_STATE(26)] = 842,
    [SMALL_STATE(27)] = 891,
    [SMALL_STATE(28)] = 940,
    [SMALL_STATE(29)] = 983,
    [SMALL_STATE(30)] = 1026,
    [SMALL_STATE(31)] = 1069,
    [SMALL_STATE(32)] = 1118,
    [SMALL_STATE(33)] = 1168,
    [SMALL_STATE(34)] = 1214,
    [SMALL_STATE(35)] = 1242,
    [SMALL_STATE(36)] = 1279,
    [SMALL_STATE(37)] = 1311,
    [SMALL_STATE(38)] = 1343,
    [SMALL_STATE(39)] = 1372,
    [SMALL_STATE(40)] = 1401,
    [SMALL_STATE(41)] = 1430,
    [SMALL_STATE(42)] = 1444,
    [SMALL_STATE(43)] = 1472,
    [SMALL_STATE(44)] = 1486,
    [SMALL_STATE(45)] = 1500,
    [SMALL_STATE(46)] = 1514,
    [SMALL_STATE(47)] = 1537,
    [SMALL_STATE(48)] = 1562,
    [SMALL_STATE(49)] = 1585,
    [SMALL_STATE(50)] = 1608,
    [SMALL_STATE(51)] = 1622,
    [SMALL_STATE(52)] = 1636,
    [SMALL_STATE(53)] = 1660,
    [SMALL_STATE(54)] = 1680,
    [SMALL_STATE(55)] = 1694,
    [SMALL_STATE(56)] = 1716,
    [SMALL_STATE(57)] = 1738,
    [SMALL_STATE(58)] = 1750,
    [SMALL_STATE(59)] = 1762,
    [SMALL_STATE(60)] = 1774,
    [SMALL_STATE(61)] = 1796,
    [SMALL_STATE(62)] = 1818,
    [SMALL_STATE(63)] = 1832,
    [SMALL_STATE(64)] = 1854,
    [SMALL_STATE(65)] = 1868,
    [SMALL_STATE(66)] = 1880,
    [SMALL_STATE(67)] = 1892,
    [SMALL_STATE(68)] = 1904,
    [SMALL_STATE(69)] = 1928,
    [SMALL_STATE(70)] = 1952,
    [SMALL_STATE(71)] = 1976,
    [SMALL_STATE(72)] = 1990,
    [SMALL_STATE(73)] = 2004,
    [SMALL_STATE(74)] = 2026,
    [SMALL_STATE(75)] = 2040,
    [SMALL_STATE(76)] = 2052,
    [SMALL_STATE(77)] = 2064,
    [SMALL_STATE(78)] = 2078,
    [SMALL_STATE(79)] = 2092,
    [SMALL_STATE(80)] = 2104,
    [SMALL_STATE(81)] = 2116,
    [SMALL_STATE(82)] = 2130,
    [SMALL_STATE(83)] = 2144,
    [SMALL_STATE(84)] = 2168,
    [SMALL_STATE(85)] = 2182,
    [SMALL_STATE(86)] = 2196,
    [SMALL_STATE(87)] = 2210,
    [SMALL_STATE(88)] = 2224,
    [SMALL_STATE(89)] = 2238,
    [SMALL_STATE(90)] = 2262,
    [SMALL_STATE(91)] = 2274,
    [SMALL_STATE(92)] = 2286,
    [SMALL_STATE(93)] = 2298,
    [SMALL_STATE(94)] = 2312,
    [SMALL_STATE(95)] = 2326,
    [SMALL_STATE(96)] = 2345,
    [SMALL_STATE(97)] = 2364,
    [SMALL_STATE(98)] = 2383,
    [SMALL_STATE(99)] = 2400,
    [SMALL_STATE(100)] = 2419,
    [SMALL_STATE(101)] = 2430,
    [SMALL_STATE(102)] = 2441,
    [SMALL_STATE(103)] = 2460,
    [SMALL_STATE(104)] = 2479,
    [SMALL_STATE(105)] = 2498,
    [SMALL_STATE(106)] = 2509,
    [SMALL_STATE(107)] = 2520,
    [SMALL_STATE(108)] = 2539,
    [SMALL_STATE(109)] = 2558,
    [SMALL_STATE(110)] = 2569,
    [SMALL_STATE(111)] = 2588,
    [SMALL_STATE(112)] = 2599,
    [SMALL_STATE(113)] = 2610,
    [SMALL_STATE(114)] = 2622,
    [SMALL_STATE(115)] = 2634,
    [SMALL_STATE(116)] = 2646,
    [SMALL_STATE(117)] = 2666,
    [SMALL_STATE(118)] = 2678,
    [SMALL_STATE(119)] = 2690,
    [SMALL_STATE(120)] = 2702,
    [SMALL_STATE(121)] = 2714,
    [SMALL_STATE(122)] = 2726,
    [SMALL_STATE(123)] = 2738,
    [SMALL_STATE(124)] = 2750,
    [SMALL_STATE(125)] = 2762,
    [SMALL_STATE(126)] = 2774,
    [SMALL_STATE(127)] = 2786,
    [SMALL_STATE(128)] = 2798,
    [SMALL_STATE(129)] = 2810,
    [SMALL_STATE(130)] = 2830,
    [SMALL_STATE(131)] = 2842,
    [SMALL_STATE(132)] = 2862,
    [SMALL_STATE(133)] = 2874,
    [SMALL_STATE(134)] = 2886,
    [SMALL_STATE(135)] = 2898,
    [SMALL_STATE(136)] = 2918,
    [SMALL_STATE(137)] = 2930,
    [SMALL_STATE(138)] = 2942,
    [SMALL_STATE(139)] = 2962,
    [SMALL_STATE(140)] = 2974,
    [SMALL_STATE(141)] = 2986,
    [SMALL_STATE(142)] = 2998,
    [SMALL_STATE(143)] = 3011,
    [SMALL_STATE(144)] = 3030,
    [SMALL_STATE(145)] = 3049,
    [SMALL_STATE(146)] = 3066,
    [SMALL_STATE(147)] = 3085,
    [SMALL_STATE(148)] = 3101,
    [SMALL_STATE(149)] = 3115,
    [SMALL_STATE(150)] = 3129,
    [SMALL_STATE(151)] = 3143,
    [SMALL_STATE(152)] = 3153,
    [SMALL_STATE(153)] = 3167,
    [SMALL_STATE(154)] = 3183,
    [SMALL_STATE(155)] = 3197,
    [SMALL_STATE(156)] = 3207,
    [SMALL_STATE(157)] = 3223,
    [SMALL_STATE(158)] = 3235,
    [SMALL_STATE(159)] = 3249,
    [SMALL_STATE(160)] = 3263,
    [SMALL_STATE(161)] = 3277,
    [SMALL_STATE(162)] = 3287,
    [SMALL_STATE(163)] = 3301,
    [SMALL_STATE(164)] = 3311,
    [SMALL_STATE(165)] = 3321,
    [SMALL_STATE(166)] = 3335,
    [SMALL_STATE(167)] = 3347,
    [SMALL_STATE(168)] = 3357,
    [SMALL_STATE(169)] = 3367,
    [SMALL_STATE(170)] = 3377,
    [SMALL_STATE(171)] = 3387,
    [SMALL_STATE(172)] = 3401,
    [SMALL_STATE(173)] = 3411,
    [SMALL_STATE(174)] = 3425,
    [SMALL_STATE(175)] = 3437,
    [SMALL_STATE(176)] = 3447,
    [SMALL_STATE(177)] = 3457,
    [SMALL_STATE(178)] = 3467,
    [SMALL_STATE(179)] = 3477,
    [SMALL_STATE(180)] = 3487,
    [SMALL_STATE(181)] = 3500,
    [SMALL_STATE(182)] = 3511,
    [SMALL_STATE(183)] = 3524,
    [SMALL_STATE(184)] = 3535,
    [SMALL_STATE(185)] = 3546,
    [SMALL_STATE(186)] = 3557,
    [SMALL_STATE(187)] = 3568,
    [SMALL_STATE(188)] = 3581,
    [SMALL_STATE(189)] = 3592,
    [SMALL_STATE(190)] = 3603,
    [SMALL_STATE(191)] = 3616,
    [SMALL_STATE(192)] = 3627,
    [SMALL_STATE(193)] = 3640,
    [SMALL_STATE(194)] = 3653,
    [SMALL_STATE(195)] = 3664,
    [SMALL_STATE(196)] = 3677,
    [SMALL_STATE(197)] = 3690,
    [SMALL_STATE(198)] = 3697,
    [SMALL_STATE(199)] = 3710,
    [SMALL_STATE(200)] = 3723,
    [SMALL_STATE(201)] = 3734,
    [SMALL_STATE(202)] = 3745,
    [SMALL_STATE(203)] = 3756,
    [SMALL_STATE(204)] = 3769,
    [SMALL_STATE(205)] = 3782,
    [SMALL_STATE(206)] = 3795,
    [SMALL_STATE(207)] = 3808,
    [SMALL_STATE(208)] = 3819,
    [SMALL_STATE(209)] = 3832,
    [SMALL_STATE(210)] = 3843,
    [SMALL_STATE(211)] = 3854,
    [SMALL_STATE(212)] = 3865,
    [SMALL_STATE(213)] = 3876,
    [SMALL_STATE(214)] = 3889,
    [SMALL_STATE(215)] = 3902,
    [SMALL_STATE(216)] = 3913,
    [SMALL_STATE(217)] = 3924,
    [SMALL_STATE(218)] = 3935,
    [SMALL_STATE(219)] = 3946,
    [SMALL_STATE(220)] = 3959,
    [SMALL_STATE(221)] = 3972,
    [SMALL_STATE(222)] = 3983,
    [SMALL_STATE(223)] = 3996,
    [SMALL_STATE(224)] = 4007,
    [SMALL_STATE(225)] = 4018,
    [SMALL_STATE(226)] = 4029,
    [SMALL_STATE(227)] = 4042,
    [SMALL_STATE(228)] = 4055,
    [SMALL_STATE(229)] = 4068,
    [SMALL_STATE(230)] = 4079,
    [SMALL_STATE(231)] = 4092,
    [SMALL_STATE(232)] = 4105,
    [SMALL_STATE(233)] = 4116,
    [SMALL_STATE(234)] = 4129,
    [SMALL_STATE(235)] = 4142,
    [SMALL_STATE(236)] = 4155,
    [SMALL_STATE(237)] = 4168,
    [SMALL_STATE(238)] = 4181,
    [SMALL_STATE(239)] = 4194,
    [SMALL_STATE(240)] = 4207,
    [SMALL_STATE(241)] = 4220,
    [SMALL_STATE(242)] = 4233,
    [SMALL_STATE(243)] = 4243,
    [SMALL_STATE(244)] = 4249,
    [SMALL_STATE(245)] = 4255,
    [SMALL_STATE(246)] = 4261,
    [SMALL_STATE(247)] = 4271,
    [SMALL_STATE(248)] = 4281,
    [SMALL_STATE(249)] = 4287,
    [SMALL_STATE(250)] = 4293,
    [SMALL_STATE(251)] = 4303,
    [SMALL_STATE(252)] = 4311,
    [SMALL_STATE(253)] = 4317,
    [SMALL_STATE(254)] = 4323,
    [SMALL_STATE(255)] = 4333,
    [SMALL_STATE(256)] = 4343,
    [SMALL_STATE(257)] = 4349,
    [SMALL_STATE(258)] = 4359,
    [SMALL_STATE(259)] = 4369,
    [SMALL_STATE(260)] = 4379,
    [SMALL_STATE(261)] = 4385,
    [SMALL_STATE(262)] = 4395,
    [SMALL_STATE(263)] = 4401,
    [SMALL_STATE(264)] = 4411,
    [SMALL_STATE(265)] = 4421,
    [SMALL_STATE(266)] = 4429,
    [SMALL_STATE(267)] = 4435,
    [SMALL_STATE(268)] = 4441,
    [SMALL_STATE(269)] = 4447,
    [SMALL_STATE(270)] = 4457,
    [SMALL_STATE(271)] = 4467,
    [SMALL_STATE(272)] = 4477,
    [SMALL_STATE(273)] = 4487,
    [SMALL_STATE(274)] = 4497,
    [SMALL_STATE(275)] = 4507,
    [SMALL_STATE(276)] = 4513,
    [SMALL_STATE(277)] = 4519,
    [SMALL_STATE(278)] = 4525,
    [SMALL_STATE(279)] = 4531,
    [SMALL_STATE(280)] = 4537,
    [SMALL_STATE(281)] = 4547,
    [SMALL_STATE(282)] = 4553,
    [SMALL_STATE(283)] = 4559,
    [SMALL_STATE(284)] = 4569,
    [SMALL_STATE(285)] = 4579,
    [SMALL_STATE(286)] = 4589,
    [SMALL_STATE(287)] = 4599,
    [SMALL_STATE(288)] = 4605,
    [SMALL_STATE(289)] = 4611,
    [SMALL_STATE(290)] = 4617,
    [SMALL_STATE(291)] = 4627,
    [SMALL_STATE(292)] = 4637,
    [SMALL_STATE(293)] = 4643,
    [SMALL_STATE(294)] = 4653,
    [SMALL_STATE(295)] = 4663,
    [SMALL_STATE(296)] = 4670,
    [SMALL_STATE(297)] = 4677,
    [SMALL_STATE(298)] = 4682,
    [SMALL_STATE(299)] = 4689,
    [SMALL_STATE(300)] = 4694,
    [SMALL_STATE(301)] = 4699,
    [SMALL_STATE(302)] = 4706,
    [SMALL_STATE(303)] = 4713,
    [SMALL_STATE(304)] = 4720,
    [SMALL_STATE(305)] = 4725,
    [SMALL_STATE(306)] = 4732,
    [SMALL_STATE(307)] = 4737,
    [SMALL_STATE(308)] = 4744,
    [SMALL_STATE(309)] = 4751,
    [SMALL_STATE(310)] = 4756,
    [SMALL_STATE(311)] = 4761,
    [SMALL_STATE(312)] = 4766,
    [SMALL_STATE(313)] = 4771,
    [SMALL_STATE(314)] = 4778,
    [SMALL_STATE(315)] = 4783,
    [SMALL_STATE(316)] = 4790,
    [SMALL_STATE(317)] = 4797,
    [SMALL_STATE(318)] = 4802,
    [SMALL_STATE(319)] = 4809,
    [SMALL_STATE(320)] = 4816,
    [SMALL_STATE(321)] = 4823,
    [SMALL_STATE(322)] = 4830,
    [SMALL_STATE(323)] = 4837,
    [SMALL_STATE(324)] = 4844,
    [SMALL_STATE(325)] = 4849,
    [SMALL_STATE(326)] = 4856,
    [SMALL_STATE(327)] = 4863,
    [SMALL_STATE(328)] = 4870,
    [SMALL_STATE(329)] = 4875,
    [SMALL_STATE(330)] = 4882,
    [SMALL_STATE(331)] = 4889,
    [SMALL_STATE(332)] = 4896,
    [SMALL_STATE(333)] = 4903,
    [SMALL_STATE(334)] = 4908,
    [SMALL_STATE(335)] = 4913,
    [SMALL_STATE(336)] = 4920,
    [SMALL_STATE(337)] = 4927,
    [SMALL_STATE(338)] = 4934,
    [SMALL_STATE(339)] = 4941,
    [SMALL_STATE(340)] = 4948,
    [SMALL_STATE(341)] = 4955,
    [SMALL_STATE(342)] = 4960,
    [SMALL_STATE(343)] = 4965,
    [SMALL_STATE(344)] = 4972,
    [SMALL_STATE(345)] = 4979,
    [SMALL_STATE(346)] = 4986,
    [SMALL_STATE(347)] = 4993,
    [SMALL_STATE(348)] = 5000,
    [SMALL_STATE(349)] = 5005,
    [SMALL_STATE(350)] = 5010,
    [SMALL_STATE(351)] = 5017,
    [SMALL_STATE(352)] = 5022,
    [SMALL_STATE(353)] = 5029,
    [SMALL_STATE(354)] = 5034,
    [SMALL_STATE(355)] = 5041,
    [SMALL_STATE(356)] = 5048,
    [SMALL_STATE(357)] = 5053,
    [SMALL_STATE(358)] = 5060,
    [SMALL_STATE(359)] = 5067,
    [SMALL_STATE(360)] = 5072,
    [SMALL_STATE(361)] = 5079,
    [SMALL_STATE(362)] = 5084,
    [SMALL_STATE(363)] = 5089,
    [SMALL_STATE(364)] = 5094,
    [SMALL_STATE(365)] = 5101,
    [SMALL_STATE(366)] = 5106,
    [SMALL_STATE(367)] = 5113,
    [SMALL_STATE(368)] = 5118,
    [SMALL_STATE(369)] = 5123,
    [SMALL_STATE(370)] = 5130,
    [SMALL_STATE(371)] = 5137,
    [SMALL_STATE(372)] = 5144,
    [SMALL_STATE(373)] = 5149,
    [SMALL_STATE(374)] = 5154,
    [SMALL_STATE(375)] = 5161,
    [SMALL_STATE(376)] = 5168,
    [SMALL_STATE(377)] = 5175,
    [SMALL_STATE(378)] = 5180,
    [SMALL_STATE(379)] = 5185,
    [SMALL_STATE(380)] = 5192,
    [SMALL_STATE(381)] = 5199,
    [SMALL_STATE(382)] = 5204,
    [SMALL_STATE(383)] = 5208,
    [SMALL_STATE(384)] = 5212,
    [SMALL_STATE(385)] = 5216,
    [SMALL_STATE(386)] = 5220,
    [SMALL_STATE(387)] = 5224,
    [SMALL_STATE(388)] = 5228,
    [SMALL_STATE(389)] = 5232,
    [SMALL_STATE(390)] = 5236,
    [SMALL_STATE(391)] = 5240,
    [SMALL_STATE(392)] = 5244,
    [SMALL_STATE(393)] = 5248,
    [SMALL_STATE(394)] = 5252,
    [SMALL_STATE(395)] = 5256,
    [SMALL_STATE(396)] = 5260,
    [SMALL_STATE(397)] = 5264,
    [SMALL_STATE(398)] = 5268,
    [SMALL_STATE(399)] = 5272,
    [SMALL_STATE(400)] = 5276,
    [SMALL_STATE(401)] = 5280,
    [SMALL_STATE(402)] = 5284,
    [SMALL_STATE(403)] = 5288,
    [SMALL_STATE(404)] = 5292,
    [SMALL_STATE(405)] = 5296,
    [SMALL_STATE(406)] = 5300,
    [SMALL_STATE(407)] = 5304,
    [SMALL_STATE(408)] = 5308,
    [SMALL_STATE(409)] = 5312,
    [SMALL_STATE(410)] = 5316,
    [SMALL_STATE(411)] = 5320,
    [SMALL_STATE(412)] = 5324,
    [SMALL_STATE(413)] = 5328,
    [SMALL_STATE(414)] = 5332,
    [SMALL_STATE(415)] = 5336,
    [SMALL_STATE(416)] = 5340,
    [SMALL_STATE(417)] = 5344,
    [SMALL_STATE(418)] = 5348,
    [SMALL_STATE(419)] = 5352,
    [SMALL_STATE(420)] = 5356,
    [SMALL_STATE(421)] = 5360,
    [SMALL_STATE(422)] = 5364,
    [SMALL_STATE(423)] = 5368,
    [SMALL_STATE(424)] = 5372,
    [SMALL_STATE(425)] = 5376,
    [SMALL_STATE(426)] = 5380,
    [SMALL_STATE(427)] = 5384,
    [SMALL_STATE(428)] = 5388,
    [SMALL_STATE(429)] = 5392,
    [SMALL_STATE(430)] = 5396,
    [SMALL_STATE(431)] = 5400,
    [SMALL_STATE(432)] = 5404,
    [SMALL_STATE(433)] = 5408,
    [SMALL_STATE(434)] = 5412,
    [SMALL_STATE(435)] = 5416,
    [SMALL_STATE(436)] = 5420,
    [SMALL_STATE(437)] = 5424,
    [SMALL_STATE(438)] = 5428,
    [SMALL_STATE(439)] = 5432,
    [SMALL_STATE(440)] = 5436,
    [SMALL_STATE(441)] = 5440,
    [SMALL_STATE(442)] = 5444,
    [SMALL_STATE(443)] = 5448,
    [SMALL_STATE(444)] = 5452,
    [SMALL_STATE(445)] = 5456,
    [SMALL_STATE(446)] = 5460,
    [SMALL_STATE(447)] = 5464,
    [SMALL_STATE(448)] = 5468,
    [SMALL_STATE(449)] = 5472,
    [SMALL_STATE(450)] = 5476,
    [SMALL_STATE(451)] = 5480,
    [SMALL_STATE(452)] = 5484,
    [SMALL_STATE(453)] = 5488,
    [SMALL_STATE(454)] = 5492,
    [SMALL_STATE(455)] = 5496,
    [SMALL_STATE(456)] = 5500,
    [SMALL_STATE(457)] = 5504,
    [SMALL_STATE(458)] = 5508,
    [SMALL_STATE(459)] = 5512,
    [SMALL_STATE(460)] = 5516,
    [SMALL_STATE(461)] = 5520,
    [SMALL_STATE(462)] = 5524,
    [SMALL_STATE(463)] = 5528,
    [SMALL_STATE(464)] = 5532,
    [SMALL_STATE(465)] = 5536,
    [SMALL_STATE(466)] = 5540,
    [SMALL_STATE(467)] = 5544,
    [SMALL_STATE(468)] = 5548,
    [SMALL_STATE(469)] = 5552,
    [SMALL_STATE(470)] = 5556,
    [SMALL_STATE(471)] = 5560,
    [SMALL_STATE(472)] = 5564,
    [SMALL_STATE(473)] = 5568,
    [SMALL_STATE(474)] = 5572,
    [SMALL_STATE(475)] = 5576,
    [SMALL_STATE(476)] = 5580,
    [SMALL_STATE(477)] = 5584,
    [SMALL_STATE(478)] = 5588,
    [SMALL_STATE(479)] = 5592,
    [SMALL_STATE(480)] = 5596,
    [SMALL_STATE(481)] = 5600,
    [SMALL_STATE(482)] = 5604,
  };
  
  static TSParseActionEntry ts_parse_actions[] = {
    [0] = {.entry = {.count = 0, .reusable = false}},
    [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
    [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 0),
    [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
    [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
    [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
    [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
    [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(482),
    [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191),
    [17] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_repeat1, 2), SHIFT_REPEAT(2),
    [20] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_repeat1, 2),
    [22] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
    [24] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name, 2),
    [26] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
    [28] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name, 1),
    [30] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
    [32] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_repeat1, 2), SHIFT_REPEAT(6),
    [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
    [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
    [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_nm_token, 1),
    [41] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_repeat1, 2), SHIFT_REPEAT(11),
    [44] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
    [46] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
    [48] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
    [50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
    [52] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
    [54] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
    [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
    [58] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379),
    [60] = {.entry = {.count = 1, .reusable = true}}, SHIFT(428),
    [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(427),
    [64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212),
    [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(426),
    [68] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
    [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330),
    [72] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
    [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350),
    [76] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(23),
    [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(196),
    [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(149),
    [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2),
    [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(428),
    [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(427),
    [93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(212),
    [96] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(426),
    [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_doctype_decl_repeat1, 2), SHIFT_REPEAT(425),
    [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
    [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
    [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
    [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214),
    [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
    [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302),
    [114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202),
    [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210),
    [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(467),
    [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(460),
    [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218),
    [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
    [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
    [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
    [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
    [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
    [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
    [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1),
    [138] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(33),
    [141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(214),
    [144] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(150),
    [147] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(302),
    [150] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(202),
    [153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__content, 2),
    [155] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(467),
    [158] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(460),
    [161] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__content, 2), SHIFT_REPEAT(218),
    [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
    [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(469),
    [168] = {.entry = {.count = 1, .reusable = false}}, SHIFT(469),
    [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(468),
    [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2),
    [174] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(318),
    [177] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(196),
    [180] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(149),
    [183] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(414),
    [186] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2), SHIFT_REPEAT(482),
    [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2),
    [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 2),
    [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
    [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
    [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_entity_value_repeat1, 2),
    [199] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entity_value_repeat1, 2), SHIFT_REPEAT(38),
    [202] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entity_value_repeat1, 2), SHIFT_REPEAT(480),
    [205] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_value_repeat1, 2), SHIFT_REPEAT(481),
    [208] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_entity_value_repeat1, 2), SHIFT_REPEAT(183),
    [211] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_entity_value_repeat1, 2), SHIFT_REPEAT(194),
    [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_value, 2),
    [216] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
    [218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(480),
    [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(481),
    [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183),
    [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
    [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_value, 1),
    [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
    [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_processing_instructions, 5),
    [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prolog, 1),
    [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
    [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
    [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
    [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prolog, 1),
    [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2),
    [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_processing_instructions, 3),
    [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3),
    [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
    [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4),
    [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
    [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
    [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
    [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
    [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prolog, 2),
    [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
    [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prolog, 2),
    [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prolog, 3),
    [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
    [270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prolog, 3),
    [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3, .production_id = 1),
    [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3, .production_id = 1),
    [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_elem_tag, 3, .production_id = 1),
    [278] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_elem_tag, 3, .production_id = 1),
    [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288),
    [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
    [284] = {.entry = {.count = 1, .reusable = false}}, SHIFT(470),
    [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(471),
    [288] = {.entry = {.count = 1, .reusable = false}}, SHIFT(200),
    [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat2, 2),
    [292] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat2, 2), SHIFT_REPEAT(191),
    [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 1),
    [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 1),
    [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
    [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153),
    [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ge_decl, 7),
    [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attlist_decl, 6, .production_id = 4),
    [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_decl, 7, .production_id = 5),
    [309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
    [311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
    [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3, .production_id = 1),
    [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3, .production_id = 1),
    [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
    [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 2),
    [321] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 2),
    [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_decl, 6, .production_id = 5),
    [325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pe_reference, 3),
    [327] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attlist_decl, 5, .production_id = 4),
    [329] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267),
    [331] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
    [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83),
    [335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(476),
    [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(477),
    [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184),
    [341] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
    [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 3),
    [345] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 3),
    [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_elem_tag, 4, .production_id = 1),
    [349] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_elem_tag, 4, .production_id = 1),
    [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
    [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_reference, 1),
    [355] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_reference, 1),
    [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_decl, 7, .production_id = 6),
    [359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pe_decl, 9),
    [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4, .production_id = 1),
    [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4, .production_id = 1),
    [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 5, .production_id = 1),
    [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 5, .production_id = 1),
    [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_decl, 1),
    [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pe_decl, 8),
    [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_elem_tag, 5, .production_id = 1),
    [375] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_elem_tag, 5, .production_id = 1),
    [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 4, .production_id = 1),
    [379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 4, .production_id = 1),
    [381] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(83),
    [384] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_attribute_value_repeat1, 2),
    [386] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(476),
    [389] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(477),
    [392] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(184),
    [395] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cdata_sect, 3),
    [397] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cdata_sect, 3),
    [399] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_processing_instructions, 5),
    [401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 2),
    [403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_char_ref, 3),
    [405] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_char_ref, 3),
    [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_ref, 3),
    [409] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_entity_ref, 3),
    [411] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(89),
    [414] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(470),
    [417] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(471),
    [420] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_attribute_value_repeat1, 2), SHIFT_REPEAT(200),
    [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_decl, 6, .production_id = 6),
    [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attlist_decl, 4, .production_id = 4),
    [427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ge_decl, 6),
    [429] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 3),
    [431] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_processing_instructions, 3),
    [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
    [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(328),
    [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
    [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat3, 2),
    [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat3, 2), SHIFT_REPEAT(99),
    [444] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat3, 2), SHIFT_REPEAT(196),
    [447] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat3, 2), SHIFT_REPEAT(149),
    [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_seq, 4),
    [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_choice, 5),
    [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 3),
    [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_seq, 3),
    [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_seq, 5),
    [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_choice, 4),
    [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_choice, 6),
    [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element_seq, 6),
    [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_xml_decl, 4),
    [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_xml_decl, 4),
    [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 8, .production_id = 2),
    [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 8, .production_id = 2),
    [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
    [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
    [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363),
    [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
    [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 4, .production_id = 2),
    [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 4, .production_id = 2),
    [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_xml_decl, 7),
    [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_xml_decl, 7),
    [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 9, .production_id = 2),
    [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 9, .production_id = 2),
    [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_xml_decl, 5),
    [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_xml_decl, 5),
    [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cp, 1),
    [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
    [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_xml_decl, 6),
    [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_xml_decl, 6),
    [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7),
    [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
    [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
    [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
    [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 5, .production_id = 2),
    [516] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 5, .production_id = 2),
    [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
    [520] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pe_reference, 3),
    [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prolog, 4),
    [524] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prolog, 4),
    [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
    [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
    [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 6, .production_id = 2),
    [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 6, .production_id = 2),
    [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
    [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 11, .production_id = 2),
    [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 11, .production_id = 2),
    [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 10, .production_id = 2),
    [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 10, .production_id = 2),
    [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype_decl, 7, .production_id = 2),
    [546] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype_decl, 7, .production_id = 2),
    [548] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat3, 1),
    [550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(284),
    [552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
    [554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
    [556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
    [558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
    [560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
    [562] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
    [564] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431),
    [566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(430),
    [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
    [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
    [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
    [574] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
    [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
    [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232),
    [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259),
    [582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152),
    [584] = {.entry = {.count = 1, .reusable = false}}, SHIFT(312),
    [586] = {.entry = {.count = 1, .reusable = true}}, SHIFT(312),
    [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280),
    [590] = {.entry = {.count = 1, .reusable = false}}, SHIFT(299),
    [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299),
    [594] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__enc_name_repeat1, 2), SHIFT_REPEAT(157),
    [597] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__enc_name_repeat1, 2),
    [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382),
    [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221),
    [603] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8),
    [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
    [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
    [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
    [611] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_children, 1),
    [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310),
    [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229),
    [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
    [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enc_name, 2),
    [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189),
    [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
    [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__enc_name, 1),
    [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345),
    [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
    [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(291),
    [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391),
    [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
    [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(393),
    [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148),
    [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
    [643] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_enumeration_repeat1, 2), SHIFT_REPEAT(389),
    [646] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_enumeration_repeat1, 2), SHIFT_REPEAT(15),
    [649] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_enumeration_repeat1, 2),
    [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332),
    [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329),
    [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
    [657] = {.entry = {.count = 1, .reusable = false}}, SHIFT(475),
    [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220),
    [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
    [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
    [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
    [667] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cp, 2),
    [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
    [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380),
    [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
    [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
    [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293),
    [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
    [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(397),
    [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290),
    [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
    [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
    [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
    [691] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_attlist_decl_repeat1, 2), SHIFT_REPEAT(181),
    [694] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_attlist_decl_repeat1, 2),
    [696] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
    [698] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213),
    [700] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
    [702] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
    [704] = {.entry = {.count = 1, .reusable = true}}, SHIFT(441),
    [706] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 2), SHIFT_REPEAT(391),
    [709] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 2), SHIFT_REPEAT(165),
    [712] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 2),
    [714] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_comment_repeat1, 2), SHIFT_REPEAT(475),
    [717] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_comment_repeat1, 2), SHIFT_REPEAT(220),
    [720] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_comment_repeat1, 2),
    [722] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
    [724] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(171),
    [727] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2),
    [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242),
    [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
    [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343),
    [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342),
    [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358),
    [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(404),
    [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347),
    [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
    [745] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_element_seq_repeat1, 2), SHIFT_REPEAT(407),
    [748] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_seq_repeat1, 2),
    [750] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_element_seq_repeat1, 2), SHIFT_REPEAT(61),
    [753] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mixed_repeat1, 2), SHIFT_REPEAT(415),
    [756] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mixed_repeat1, 2), SHIFT_REPEAT(152),
    [759] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mixed_repeat1, 2),
    [761] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_element_choice_repeat1, 2), SHIFT_REPEAT(410),
    [764] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_element_choice_repeat1, 2), SHIFT_REPEAT(73),
    [767] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_choice_repeat1, 2),
    [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(405),
    [771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
    [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
    [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
    [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241),
    [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
    [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(398),
    [783] = {.entry = {.count = 1, .reusable = true}}, SHIFT(403),
    [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
    [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
    [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335),
    [791] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
    [793] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_enumeration_repeat1, 4),
    [795] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325),
    [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326),
    [799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331),
    [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353),
    [803] = {.entry = {.count = 1, .reusable = false}}, SHIFT(273),
    [805] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_external_id, 3),
    [807] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_external_id, 5),
    [809] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_pubid_literal_repeat1, 2),
    [811] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_pubid_literal_repeat1, 2), SHIFT_REPEAT(250),
    [814] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_def, 1),
    [816] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_system_literal, 3),
    [818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369),
    [820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
    [822] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
    [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336),
    [826] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_enumeration_repeat1, 3),
    [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
    [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
    [832] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
    [834] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
    [836] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
    [838] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
    [840] = {.entry = {.count = 1, .reusable = false}}, SHIFT(342),
    [842] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 2, .production_id = 11),
    [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390),
    [846] = {.entry = {.count = 1, .reusable = true}}, SHIFT(388),
    [848] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344),
    [850] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346),
    [852] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295),
    [854] = {.entry = {.count = 1, .reusable = true}}, SHIFT(376),
    [856] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
    [858] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372),
    [860] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_comment_repeat1, 2),
    [862] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mixed_repeat1, 3),
    [864] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute_value, 3),
    [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 5, .production_id = 3),
    [868] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pubid_literal_repeat1, 2), SHIFT_REPEAT(269),
    [871] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357),
    [873] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
    [875] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
    [877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333),
    [879] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269),
    [881] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250),
    [883] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
    [885] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
    [887] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_choice_repeat1, 3),
    [889] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_seq_repeat1, 3),
    [891] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 3, .production_id = 12),
    [893] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mixed_repeat1, 4),
    [895] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_choice_repeat1, 4),
    [897] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_notation_type_repeat1, 4, .production_id = 9),
    [899] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_element_seq_repeat1, 4),
    [901] = {.entry = {.count = 1, .reusable = true}}, SHIFT(360),
    [903] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361),
    [905] = {.entry = {.count = 1, .reusable = true}}, SHIFT(362),
    [907] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370),
    [909] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
    [911] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
    [913] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, .production_id = 3),
    [915] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute_value, 2),
    [917] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 4, .production_id = 3),
    [919] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272),
    [921] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
    [923] = {.entry = {.count = 1, .reusable = true}}, SHIFT(417),
    [925] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285),
    [927] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pi_target, 1),
    [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(459),
    [931] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
    [933] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mixed, 3),
    [935] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_standalone_decl, 8),
    [937] = {.entry = {.count = 1, .reusable = true}}, SHIFT(307),
    [939] = {.entry = {.count = 1, .reusable = true}}, SHIFT(451),
    [941] = {.entry = {.count = 1, .reusable = true}}, SHIFT(479),
    [943] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
    [945] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pe_def, 1),
    [947] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429),
    [949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
    [951] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_encoding_decl, 8),
    [953] = {.entry = {.count = 1, .reusable = true}}, SHIFT(443),
    [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
    [957] = {.entry = {.count = 1, .reusable = true}}, SHIFT(457),
    [959] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
    [961] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_public_id, 3),
    [963] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_children, 2),
    [965] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_entity_def, 2),
    [967] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mixed, 4),
    [969] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
    [971] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_encoding_decl, 7),
    [973] = {.entry = {.count = 1, .reusable = true}}, SHIFT(440),
    [975] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
    [977] = {.entry = {.count = 1, .reusable = true}}, SHIFT(473),
    [979] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
    [981] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_standalone_decl, 7),
    [983] = {.entry = {.count = 1, .reusable = true}}, SHIFT(434),
    [985] = {.entry = {.count = 1, .reusable = true}}, SHIFT(474),
    [987] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
    [989] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
    [991] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
    [993] = {.entry = {.count = 1, .reusable = true}}, SHIFT(456),
    [995] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
    [997] = {.entry = {.count = 1, .reusable = true}}, SHIFT(435),
    [999] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
    [1001] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_content_spec, 1),
    [1003] = {.entry = {.count = 1, .reusable = true}}, SHIFT(472),
    [1005] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
    [1007] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pubid_literal, 3),
    [1009] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_encoding_decl, 6),
    [1011] = {.entry = {.count = 1, .reusable = true}}, SHIFT(418),
    [1013] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
    [1015] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
    [1017] = {.entry = {.count = 1, .reusable = true}}, SHIFT(416),
    [1019] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
    [1021] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413),
    [1023] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_standalone_decl, 6),
    [1025] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mixed, 5),
    [1027] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
    [1029] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
    [1031] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
    [1033] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
    [1035] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
    [1037] = {.entry = {.count = 1, .reusable = true}}, SHIFT(445),
    [1039] = {.entry = {.count = 1, .reusable = true}}, SHIFT(442),
    [1041] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394),
    [1043] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
    [1045] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_version_info, 7),
    [1047] = {.entry = {.count = 1, .reusable = true}}, SHIFT(437),
    [1049] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
    [1051] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pubid_literal, 2),
    [1053] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__version_num, 2),
    [1055] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
    [1057] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
    [1059] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_version_info, 5),
    [1061] = {.entry = {.count = 1, .reusable = true}}, SHIFT(399),
    [1063] = {.entry = {.count = 1, .reusable = true}}, SHIFT(400),
    [1065] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_default_decl, 1),
    [1067] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute_def, 6, .production_id = 7),
    [1069] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ndata_decl, 4, .production_id = 8),
    [1071] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mixed, 6),
    [1073] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340),
    [1075] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338),
    [1077] = {.entry = {.count = 1, .reusable = true}}, SHIFT(423),
    [1079] = {.entry = {.count = 1, .reusable = true}}, SHIFT(422),
    [1081] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349),
    [1083] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348),
    [1085] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_version_info, 6),
    [1087] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_default_decl, 3),
    [1089] = {.entry = {.count = 1, .reusable = true}}, SHIFT(406),
    [1091] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
    [1093] = {.entry = {.count = 1, .reusable = true}}, SHIFT(396),
    [1095] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_default_decl, 2),
    [1097] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
    [1099] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
    [1101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
    [1103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enumeration, 5),
    [1105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
    [1107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271),
    [1109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(411),
    [1111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(450),
    [1113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
    [1115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
    [1117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_type, 5, .production_id = 9),
    [1119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enumeration, 6),
    [1121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enumeration, 4),
    [1123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_type, 6, .production_id = 10),
    [1125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341),
    [1127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334),
    [1129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_type, 6, .production_id = 9),
    [1131] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_enumeration, 3),
    [1133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_notation_type, 7, .production_id = 10),
    [1135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
    [1137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
    [1139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
    [1141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301),
    [1143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
    [1145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254),
    [1147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
    [1149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(359),
    [1151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
    [1153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317),
    [1155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
    [1157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
    [1159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
    [1161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
    [1163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
    [1165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
    [1167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286),
    [1169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261),
    [1171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
    [1173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
    [1175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
    [1177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
    [1179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
    [1181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
    [1183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274),
    [1185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300),
    [1187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263),
    [1189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
    [1191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
    [1193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306),
    [1195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
    [1197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cdata, 1),
    [1199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224),
    [1201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169),
    [1203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
    [1205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
    [1207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
    [1209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
    [1211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
    [1213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(444),
    [1215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(448),
    [1217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
    [1219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
    [1221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179),
    [1223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
    [1225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
    [1227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
    [1229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432),
    [1231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute_type, 1),
    [1233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(453),
    [1235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
    [1237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(455),
    [1239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
    [1241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265),
    [1243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(462),
    [1245] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
    [1247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(464),
    [1249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(465),
    [1251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207),
  };
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  #ifdef _WIN32
  #define extern __declspec(dllexport)
  #endif
  
  extern const TSLanguage *tree_sitter_xml(void) {
    static TSLanguage language = {
      .version = LANGUAGE_VERSION,
      .symbol_count = SYMBOL_COUNT,
      .alias_count = ALIAS_COUNT,
      .token_count = TOKEN_COUNT,
      .external_token_count = EXTERNAL_TOKEN_COUNT,
      .symbol_names = ts_symbol_names,
      .symbol_metadata = ts_symbol_metadata,
      .parse_table = (const uint16_t *)ts_parse_table,
      .parse_actions = ts_parse_actions,
      .lex_modes = ts_lex_modes,
      .alias_sequences = (const TSSymbol *)ts_alias_sequences,
      .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
      .lex_fn = ts_lex,
      .field_count = FIELD_COUNT,
      .large_state_count = LARGE_STATE_COUNT,
      .small_parse_table = (const uint16_t *)ts_small_parse_table,
      .small_parse_table_map = (const uint32_t *)ts_small_parse_table_map,
      .public_symbol_map = ts_symbol_map,
      .alias_map = ts_non_terminal_alias_map,
      .state_count = STATE_COUNT,
    };
    return &language;
  }
  #ifdef __cplusplus
  }
  #endif
  