[
    /* Test count: 75 */
    /* Test number: 1 */
    {
        "data": $DATA{ ,12}
            FOO&gt;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO>BAR"
        $DATA
    },
    /* Test number: 2 */
    {
        "data": $DATA{ ,12}
            FOO&gtBAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 6, "id": "named-entity-without-semicolon"},
            {"line": 1, "col": 7, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO>BAR"
        $DATA
    },
    /* Test number: 3 */
    {
        "data": $DATA{ ,12}
            FOO&gt BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 6, "id": "named-entity-without-semicolon"},
            {"line": 1, "col": 7, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO> BAR"
        $DATA
    },
    /* Test number: 4 */
    {
        "data": $DATA{ ,12}
            FOO&gt;;;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO>;;BAR"
        $DATA
    },
    /* Test number: 5 */
    {
        "data": $DATA{ ,12}
            I'm &notit; I tell you
        $DATA,
        "errors": [
            {"line": 1, "col": 4, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 9, "id": "named-entity-without-semicolon"},
            {"line": 1, "col": 9, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "I'm ¬it; I tell you"
        $DATA
    },
    /* Test number: 6 */
    {
        "data": $DATA{ ,12}
            I'm &notin; I tell you
        $DATA,
        "errors": [
            {"line": 1, "col": 4, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "I'm ∉ I tell you"
        $DATA
    },
    /* Test number: 7 */
    {
        "data": $DATA{ ,12}
            &ammmp;
        $DATA,
        "errors": [
            {"line": 1, "col": 1, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 7, "id": "unknown-named-character-reference"},
            {"line": 1, "col": 7, "id": "unknown-named-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "&ammmp;"
        $DATA
    },
    /* Test number: 8 */
    {
        "data": $DATA{ ,12}
            &ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;
        $DATA,
        "errors": [
            {"line": 1, "col": 1, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 950, "id": "unknown-named-character-reference"},
            {"line": 1, "col": 950, "id": "unknown-named-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "&ammmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmp;"
        $DATA
    },
    /* Test number: 9 */
    {
        "data": $DATA{ ,12}
            FOO& BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO& BAR"
        $DATA
    },
    /* Test number: 10 */
    {
        "data": $DATA{ ,12}
            FOO&<BAR>
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 9, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&"
                <bar>
        $DATA
    },
    /* Test number: 11 */
    {
        "data": $DATA{ ,12}
            FOO&&&&gt;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&&&>BAR"
        $DATA
    },
    /* Test number: 12 */
    {
        "data": $DATA{ ,12}
            FOO&#41;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO)BAR"
        $DATA
    },
    /* Test number: 13 */
    {
        "data": $DATA{ ,12}
            FOO&#x41;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOABAR"
        $DATA
    },
    /* Test number: 14 */
    {
        "data": $DATA{ ,12}
            FOO&#X41;BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOABAR"
        $DATA
    },
    /* Test number: 15 */
    {
        "data": $DATA{ ,12}
            FOO&#BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 5, "id": "expected-numeric-entity"},
            {"line": 1, "col": 6, "id": "absence-of-digits-in-numeric-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&#BAR"
        $DATA
    },
    /* Test number: 16 */
    {
        "data": $DATA{ ,12}
            FOO&#ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 5, "id": "expected-numeric-entity"},
            {"line": 1, "col": 6, "id": "absence-of-digits-in-numeric-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&#ZOO"
        $DATA
    },
    /* Test number: 17 */
    {
        "data": $DATA{ ,12}
            FOO&#xBAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 7, "id": "expected-numeric-entity"},
            {"line": 1, "col": 9, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOºR"
        $DATA
    },
    /* Test number: 18 */
    {
        "data": $DATA{ ,12}
            FOO&#xZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 6, "id": "expected-numeric-entity"},
            {"line": 1, "col": 7, "id": "absence-of-digits-in-numeric-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&#xZOO"
        $DATA
    },
    /* Test number: 19 */
    {
        "data": $DATA{ ,12}
            FOO&#XZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 6, "id": "expected-numeric-entity"},
            {"line": 1, "col": 7, "id": "absence-of-digits-in-numeric-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO&#XZOO"
        $DATA
    },
    /* Test number: 20 */
    {
        "data": $DATA{ ,12}
            FOO&#41BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 7, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 8, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO)BAR"
        $DATA
    },
    /* Test number: 21 */
    {
        "data": $DATA{ ,12}
            FOO&#x41BAR
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 10, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 11, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO䆺R"
        $DATA
    },
    /* Test number: 22 */
    {
        "data": $DATA{ ,12}
            FOO&#x41ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 8, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 9, "id": "missing-semicolon-after-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOAZOO"
        $DATA
    },
    /* Test number: 23 */
    {
        "data": $DATA{ ,12}
            FOO&#x0000;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "null-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 24 */
    {
        "data": $DATA{ ,12}
            FOO&#x0078;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOxZOO"
        $DATA
    },
    /* Test number: 25 */
    {
        "data": $DATA{ ,12}
            FOO&#x0079;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOyZOO"
        $DATA
    },
    /* Test number: 26 */
    {
        "data": $DATA{ ,12}
            FOO&#x0080;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO€ZOO"
        $DATA
    },
    /* Test number: 27 */
    {
        "data": $DATA{ ,12}
            FOO&#x0081;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 28 */
    {
        "data": $DATA{ ,12}
            FOO&#x0082;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO‚ZOO"
        $DATA
    },
    /* Test number: 29 */
    {
        "data": $DATA{ ,12}
            FOO&#x0083;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOƒZOO"
        $DATA
    },
    /* Test number: 30 */
    {
        "data": $DATA{ ,12}
            FOO&#x0084;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO„ZOO"
        $DATA
    },
    /* Test number: 31 */
    {
        "data": $DATA{ ,12}
            FOO&#x0085;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO…ZOO"
        $DATA
    },
    /* Test number: 32 */
    {
        "data": $DATA{ ,12}
            FOO&#x0086;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO†ZOO"
        $DATA
    },
    /* Test number: 33 */
    {
        "data": $DATA{ ,12}
            FOO&#x0087;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO‡ZOO"
        $DATA
    },
    /* Test number: 34 */
    {
        "data": $DATA{ ,12}
            FOO&#x0088;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOˆZOO"
        $DATA
    },
    /* Test number: 35 */
    {
        "data": $DATA{ ,12}
            FOO&#x0089;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO‰ZOO"
        $DATA
    },
    /* Test number: 36 */
    {
        "data": $DATA{ ,12}
            FOO&#x008A;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOŠZOO"
        $DATA
    },
    /* Test number: 37 */
    {
        "data": $DATA{ ,12}
            FOO&#x008B;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO‹ZOO"
        $DATA
    },
    /* Test number: 38 */
    {
        "data": $DATA{ ,12}
            FOO&#x008C;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOŒZOO"
        $DATA
    },
    /* Test number: 39 */
    {
        "data": $DATA{ ,12}
            FOO&#x008D;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 40 */
    {
        "data": $DATA{ ,12}
            FOO&#x008E;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOŽZOO"
        $DATA
    },
    /* Test number: 41 */
    {
        "data": $DATA{ ,12}
            FOO&#x008F;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 42 */
    {
        "data": $DATA{ ,12}
            FOO&#x0090;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 43 */
    {
        "data": $DATA{ ,12}
            FOO&#x0091;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO‘ZOO"
        $DATA
    },
    /* Test number: 44 */
    {
        "data": $DATA{ ,12}
            FOO&#x0092;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO’ZOO"
        $DATA
    },
    /* Test number: 45 */
    {
        "data": $DATA{ ,12}
            FOO&#x0093;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO“ZOO"
        $DATA
    },
    /* Test number: 46 */
    {
        "data": $DATA{ ,12}
            FOO&#x0094;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO”ZOO"
        $DATA
    },
    /* Test number: 47 */
    {
        "data": $DATA{ ,12}
            FOO&#x0095;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO•ZOO"
        $DATA
    },
    /* Test number: 48 */
    {
        "data": $DATA{ ,12}
            FOO&#x0096;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO–ZOO"
        $DATA
    },
    /* Test number: 49 */
    {
        "data": $DATA{ ,12}
            FOO&#x0097;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO—ZOO"
        $DATA
    },
    /* Test number: 50 */
    {
        "data": $DATA{ ,12}
            FOO&#x0098;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO˜ZOO"
        $DATA
    },
    /* Test number: 51 */
    {
        "data": $DATA{ ,12}
            FOO&#x0099;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO™ZOO"
        $DATA
    },
    /* Test number: 52 */
    {
        "data": $DATA{ ,12}
            FOO&#x009A;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOšZOO"
        $DATA
    },
    /* Test number: 53 */
    {
        "data": $DATA{ ,12}
            FOO&#x009B;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO›ZOO"
        $DATA
    },
    /* Test number: 54 */
    {
        "data": $DATA{ ,12}
            FOO&#x009C;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOœZOO"
        $DATA
    },
    /* Test number: 55 */
    {
        "data": $DATA{ ,12}
            FOO&#x009D;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 56 */
    {
        "data": $DATA{ ,12}
            FOO&#x009E;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOžZOO"
        $DATA
    },
    /* Test number: 57 */
    {
        "data": $DATA{ ,12}
            FOO&#x009F;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "control-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOŸZOO"
        $DATA
    },
    /* Test number: 58 */
    {
        "data": $DATA{ ,12}
            FOO&#x00A0;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO ZOO"
        $DATA
    },
    /* Test number: 59 */
    {
        "data": $DATA{ ,12}
            FOO&#xD7FF;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO퟿ZOO"
        $DATA
    },
    /* Test number: 60 */
    {
        "data": $DATA{ ,12}
            FOO&#xD800;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "surrogate-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 61 */
    {
        "data": $DATA{ ,12}
            FOO&#xD801;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "surrogate-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 62 */
    {
        "data": $DATA{ ,12}
            FOO&#xDFFE;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "surrogate-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 63 */
    {
        "data": $DATA{ ,12}
            FOO&#xDFFF;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 11, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 12, "id": "surrogate-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 64 */
    {
        "data": $DATA{ ,12}
            FOO&#xE000;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOOZOO"
        $DATA
    },
    /* Test number: 65 */
    {
        "data": $DATA{ ,12}
            FOO&#x10FFFE;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 14, "id": "noncharacter-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO􏿾ZOO"
        $DATA
    },
    /* Test number: 66 */
    {
        "data": $DATA{ ,12}
            FOO&#x1087D4;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO􈟔ZOO"
        $DATA
    },
    /* Test number: 67 */
    {
        "data": $DATA{ ,12}
            FOO&#x10FFFF;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 14, "id": "noncharacter-character-reference"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO􏿿ZOO"
        $DATA
    },
    /* Test number: 68 */
    {
        "data": $DATA{ ,12}
            FOO&#x110000;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 14, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 69 */
    {
        "data": $DATA{ ,12}
            FOO&#xFFFFFF;ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 14, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 70 */
    {
        "data": $DATA{ ,12}
            FOO&#11111111111
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 13, "id": "eof-in-numeric-entity"},
            {"line": 1, "col": 17, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 17, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�"
        $DATA
    },
    /* Test number: 71 */
    {
        "data": $DATA{ ,12}
            FOO&#1111111111
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 13, "id": "eof-in-numeric-entity"},
            {"line": 1, "col": 16, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 16, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�"
        $DATA
    },
    /* Test number: 72 */
    {
        "data": $DATA{ ,12}
            FOO&#111111111111
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 13, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 13, "id": "eof-in-numeric-entity"},
            {"line": 1, "col": 18, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 18, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�"
        $DATA
    },
    /* Test number: 73 */
    {
        "data": $DATA{ ,12}
            FOO&#11111111111ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 16, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 16, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 17, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 17, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 74 */
    {
        "data": $DATA{ ,12}
            FOO&#1111111111ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 15, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 15, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 16, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 16, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
    /* Test number: 75 */
    {
        "data": $DATA{ ,12}
            FOO&#111111111111ZOO
        $DATA,
        "errors": [
            {"line": 1, "col": 3, "id": "expected-doctype-but-got-chars"},
            {"line": 1, "col": 17, "id": "numeric-entity-without-semicolon"},
            {"line": 1, "col": 17, "id": "illegal-codepoint-for-numeric-entity"},
            {"line": 1, "col": 18, "id": "missing-semicolon-after-character-reference"},
            {"line": 1, "col": 18, "id": "character-reference-outside-unicode-range"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                "FOO�ZOO"
        $DATA
    },
]