mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
246 lines
8.0 KiB
Plaintext
246 lines
8.0 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | ,-> <root>
|
|
2 | | <description>An example of escaped CENDs</description>
|
|
3 | | <!-- This text contains a CEND ]]> -->
|
|
4 | | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | | and the > in the second CDATA block -->
|
|
6 | | <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | | </exampleOfACDATA>
|
|
13 | `-> </root>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | ,-> <root>
|
|
2 | | <description>An example of escaped CENDs</description>
|
|
3 | | <!-- This text contains a CEND ]]> -->
|
|
4 | | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | | and the > in the second CDATA block -->
|
|
6 | | <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | | </exampleOfACDATA>
|
|
13 | `-> </root>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | ,-> <root>
|
|
2 | | <description>An example of escaped CENDs</description>
|
|
3 | | <!-- This text contains a CEND ]]> -->
|
|
4 | | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | | and the > in the second CDATA block -->
|
|
6 | | <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | | </exampleOfACDATA>
|
|
13 | `-> </root>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | ,-> <root>
|
|
2 | `-> <description>An example of escaped CENDs</description>
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | ,-> <root>
|
|
2 | `-> <description>An example of escaped CENDs</description>
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | <description>An example of escaped CENDs</description>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | <description>An example of escaped CENDs</description>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | <description>An example of escaped CENDs</description>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | <description>An example of escaped CENDs</description>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | ,-> <description>An example of escaped CENDs</description>
|
|
3 | `-> <!-- This text contains a CEND ]]> -->
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:1:1]
|
|
1 | <root>
|
|
2 | ,-> <description>An example of escaped CENDs</description>
|
|
3 | `-> <!-- This text contains a CEND ]]> -->
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:2:1]
|
|
2 | <description>An example of escaped CENDs</description>
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
`----
|
|
|
|
x Comment
|
|
,-[$DIR/tests/fixture/cdata/input.xml:2:1]
|
|
2 | <description>An example of escaped CENDs</description>
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:2:1]
|
|
2 | <description>An example of escaped CENDs</description>
|
|
3 | ,-> <!-- This text contains a CEND ]]> -->
|
|
4 | `-> <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | and the > in the second CDATA block -->
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:2:1]
|
|
2 | <description>An example of escaped CENDs</description>
|
|
3 | ,-> <!-- This text contains a CEND ]]> -->
|
|
4 | `-> <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | and the > in the second CDATA block -->
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:3:1]
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
4 | ,-> <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | `-> and the > in the second CDATA block -->
|
|
6 | <exampleOfACDATA>
|
|
`----
|
|
|
|
x Comment
|
|
,-[$DIR/tests/fixture/cdata/input.xml:3:1]
|
|
3 | <!-- This text contains a CEND ]]> -->
|
|
4 | ,-> <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | `-> and the > in the second CDATA block -->
|
|
6 | <exampleOfACDATA>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:4:1]
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | ,-> and the > in the second CDATA block -->
|
|
6 | `-> <exampleOfACDATA>
|
|
7 | <![CDATA[
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:4:1]
|
|
4 | <!-- In this first case we put the ]] at the end of the first CDATA block
|
|
5 | ,-> and the > in the second CDATA block -->
|
|
6 | `-> <exampleOfACDATA>
|
|
7 | <![CDATA[
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:5:1]
|
|
5 | and the > in the second CDATA block -->
|
|
6 | ,-> <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | `-> </exampleOfACDATA>
|
|
13 | </root>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/cdata/input.xml:5:1]
|
|
5 | and the > in the second CDATA block -->
|
|
6 | ,-> <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | `-> </exampleOfACDATA>
|
|
13 | </root>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:5:1]
|
|
5 | and the > in the second CDATA block -->
|
|
6 | ,-> <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | `-> </exampleOfACDATA>
|
|
13 | </root>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:5:1]
|
|
5 | and the > in the second CDATA block -->
|
|
6 | ,-> <exampleOfACDATA>
|
|
7 | | <![CDATA[
|
|
8 | | Since this is a CDATA section
|
|
9 | | I can use all sorts of reserved characters
|
|
10 | | but my document is still well formed!
|
|
11 | | ]]>
|
|
12 | `-> </exampleOfACDATA>
|
|
13 | </root>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/cdata/input.xml:11:1]
|
|
11 | ]]>
|
|
12 | </exampleOfACDATA>
|
|
: ^
|
|
13 | </root>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/cdata/input.xml:11:1]
|
|
11 | ]]>
|
|
12 | </exampleOfACDATA>
|
|
: ^
|
|
13 | </root>
|
|
`----
|