[
    /* Test count: 23 */
    /* Test number: 1 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[foo]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 20, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "foo"
        $DATA
    },
    /* Test number: 2 */
    {
        "data": $DATA{ ,12}
            <math><![CDATA[foo]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 6, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 21, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <math:math>
                  "foo"
        $DATA
    },
    /* Test number: 3 */
    {
        "data": $DATA{ ,12}
            <div><![CDATA[foo]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 7, "id": "expected-dashes-or-doctype"},
            {"line": 1, "col": 20, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 14, "id": "cdata-in-html-content"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <div>
                  <!-- [CDATA[foo]] -->
        $DATA
    },
    /* Test number: 4 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[foo
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 18, "id": "eof-in-cdata"},
            {"line": 1, "col": 17, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 18, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "foo"
        $DATA
    },
    /* Test number: 5 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 15, "id": "eof-in-cdata"},
            {"line": 1, "col": 14, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 15, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
        $DATA
    },
    /* Test number: 6 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 17, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
        $DATA
    },
    /* Test number: 7 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[]] >]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 21, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "]] >"
        $DATA
    },
    /* Test number: 8 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[]]
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 17, "id": "eof-in-cdata"},
            {"line": 1, "col": 16, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 17, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "]]"
        $DATA
    },
    /* Test number: 9 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[]
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 16, "id": "eof-in-cdata"},
            {"line": 1, "col": 15, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 16, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "]"
        $DATA
    },
    /* Test number: 10 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[]>a
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 16, "id": "eof-in-cdata"},
            {"line": 1, "col": 17, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 18, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "]>a"
        $DATA
    },
    /* Test number: 11 */
    {
        "data": $DATA{ ,12}
            <!DOCTYPE html><svg><![CDATA[foo]]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 36, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <!DOCTYPE html>
            <html>
              <head>
              <body>
                <svg:svg>
                  "foo]"
        $DATA
    },
    /* Test number: 12 */
    {
        "data": $DATA{ ,12}
            <!DOCTYPE html><svg><![CDATA[foo]]]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 37, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <!DOCTYPE html>
            <html>
              <head>
              <body>
                <svg:svg>
                  "foo]]"
        $DATA
    },
    /* Test number: 13 */
    {
        "data": $DATA{ ,12}
            <!DOCTYPE html><svg><![CDATA[foo]]]]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 38, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <!DOCTYPE html>
            <html>
              <head>
              <body>
                <svg:svg>
                  "foo]]]"
        $DATA
    },
    /* Test number: 14 */
    {
        "data": $DATA{ ,12}
            <svg><foreignObject><div><![CDATA[foo]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 27, "id": "expected-dashes-or-doctype"},
            {"line": 1, "col": 40, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 34, "id": "cdata-in-html-content"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  <svg:foreignObject>
                    <div>
                      <!-- [CDATA[foo]] -->
        $DATA
    },
    /* Test number: 15 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 22, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>"
        $DATA
    },
    /* Test number: 16 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[</svg>a]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 24, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "</svg>a"
        $DATA
    },
    /* Test number: 17 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>a
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 21, "id": "eof-in-cdata"},
            {"line": 1, "col": 20, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 21, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>a"
        $DATA
    },
    /* Test number: 18 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[</svg>a
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 22, "id": "eof-in-cdata"},
            {"line": 1, "col": 21, "id": "expected-closing-tag-but-got-eof"},
            {"line": 1, "col": 22, "id": "eof-in-cdata"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "</svg>a"
        $DATA
    },
    /* Test number: 19 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>]]><path>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 28, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>"
                  <svg:path>
        $DATA
    },
    /* Test number: 20 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>]]></path>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 29, "id": "unexpected-end-tag"},
            {"line": 1, "col": 29, "id": "unexpected-end-tag"},
            {"line": 1, "col": 29, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>"
        $DATA
    },
    /* Test number: 21 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>]]><!--path-->
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 33, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>"
                  <!-- path -->
        $DATA
    },
    /* Test number: 22 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<svg>]]>path
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 26, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<svg>path"
        $DATA
    },
    /* Test number: 23 */
    {
        "data": $DATA{ ,12}
            <svg><![CDATA[<!--svg-->]]>
        $DATA,
        "errors": [
            {"line": 1, "col": 5, "id": "expected-doctype-but-got-start-tag"},
            {"line": 1, "col": 27, "id": "expected-closing-tag-but-got-eof"}
        ],
        "result": $DATA{ ,12}
            <html>
              <head>
              <body>
                <svg:svg>
                  "<!--svg-->"
        $DATA
    },
]