swc/crates/swc_xml_parser/tests/fixture/pi/span.rust-debug
2022-11-16 04:10:02 +00:00

630 lines
15 KiB
Plaintext

x Document
,-[$DIR/tests/fixture/pi/input.xml:1:1]
1 | ,-> <root>
2 | | <?xslt ma?>
3 | | <?xslt
4 | | m?>
5 | | <?xslt?>
6 | | <?xslt ?>
7 | | <?xml-stylesheet?>
8 | | <?foo version="1.0"?>
9 | | <?foo version='1.0'?>
10 | | <?foo version='1.0' encoding="UTF-8"?>
11 | | <?foo version='1.0' encoding='UTF-8'?>
12 | | <?foo version='1.0' encoding='utf-8'?>
13 | | <?foo version='1.0' encoding='EUC-JP'?>
14 | | <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
15 | | <?foo version='1.0' encoding='UTF-8' standalone='no'?>
16 | | <?foo version='1.0' standalone='no'?>
17 | | <?foo version='1.0' standalone='no' ?>
18 | | <?foo?>
19 | | <?f ?oo?>
20 | | <?f ?oo??>
21 | | <?f ??????>
22 | | <?test aaa ?>
23 | | <?test ? ?>
24 | | <?test a a a ?>
25 | `-> </root>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:1:1]
1 | ,-> <root>
2 | | <?xslt ma?>
3 | | <?xslt
4 | | m?>
5 | | <?xslt?>
6 | | <?xslt ?>
7 | | <?xml-stylesheet?>
8 | | <?foo version="1.0"?>
9 | | <?foo version='1.0'?>
10 | | <?foo version='1.0' encoding="UTF-8"?>
11 | | <?foo version='1.0' encoding='UTF-8'?>
12 | | <?foo version='1.0' encoding='utf-8'?>
13 | | <?foo version='1.0' encoding='EUC-JP'?>
14 | | <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
15 | | <?foo version='1.0' encoding='UTF-8' standalone='no'?>
16 | | <?foo version='1.0' standalone='no'?>
17 | | <?foo version='1.0' standalone='no' ?>
18 | | <?foo?>
19 | | <?f ?oo?>
20 | | <?f ?oo??>
21 | | <?f ??????>
22 | | <?test aaa ?>
23 | | <?test ? ?>
24 | | <?test a a a ?>
25 | `-> </root>
`----
x Element
,-[$DIR/tests/fixture/pi/input.xml:1:1]
1 | ,-> <root>
2 | | <?xslt ma?>
3 | | <?xslt
4 | | m?>
5 | | <?xslt?>
6 | | <?xslt ?>
7 | | <?xml-stylesheet?>
8 | | <?foo version="1.0"?>
9 | | <?foo version='1.0'?>
10 | | <?foo version='1.0' encoding="UTF-8"?>
11 | | <?foo version='1.0' encoding='UTF-8'?>
12 | | <?foo version='1.0' encoding='utf-8'?>
13 | | <?foo version='1.0' encoding='EUC-JP'?>
14 | | <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
15 | | <?foo version='1.0' encoding='UTF-8' standalone='no'?>
16 | | <?foo version='1.0' standalone='no'?>
17 | | <?foo version='1.0' standalone='no' ?>
18 | | <?foo?>
19 | | <?f ?oo?>
20 | | <?f ?oo??>
21 | | <?f ??????>
22 | | <?test aaa ?>
23 | | <?test ? ?>
24 | | <?test a a a ?>
25 | `-> </root>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:1:1]
1 | ,-> <root>
2 | `-> <?xslt ma?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:1:1]
1 | ,-> <root>
2 | `-> <?xslt ma?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:2:5]
2 | <?xslt ma?>
: ^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:2:5]
2 | <?xslt ma?>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:2:5]
2 | ,-> <?xslt ma?>
3 | `-> <?xslt
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:2:5]
2 | ,-> <?xslt ma?>
3 | `-> <?xslt
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:3:5]
3 | ,-> <?xslt
4 | `-> m?>
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:3:5]
3 | ,-> <?xslt
4 | `-> m?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:4:13]
4 | ,-> m?>
5 | `-> <?xslt?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:4:13]
4 | ,-> m?>
5 | `-> <?xslt?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:5:5]
5 | <?xslt?>
: ^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:5:5]
5 | <?xslt?>
: ^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:5:5]
5 | ,-> <?xslt?>
6 | `-> <?xslt ?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:5:5]
5 | ,-> <?xslt?>
6 | `-> <?xslt ?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:6:5]
6 | <?xslt ?>
: ^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:6:5]
6 | <?xslt ?>
: ^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:6:5]
6 | ,-> <?xslt ?>
7 | `-> <?xml-stylesheet?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:6:5]
6 | ,-> <?xslt ?>
7 | `-> <?xml-stylesheet?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:7:5]
7 | <?xml-stylesheet?>
: ^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:7:5]
7 | <?xml-stylesheet?>
: ^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:7:5]
7 | ,-> <?xml-stylesheet?>
8 | `-> <?foo version="1.0"?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:7:5]
7 | ,-> <?xml-stylesheet?>
8 | `-> <?foo version="1.0"?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:8:5]
8 | <?foo version="1.0"?>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:8:5]
8 | <?foo version="1.0"?>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:8:5]
8 | ,-> <?foo version="1.0"?>
9 | `-> <?foo version='1.0'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:8:5]
8 | ,-> <?foo version="1.0"?>
9 | `-> <?foo version='1.0'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:9:5]
9 | <?foo version='1.0'?>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:9:5]
9 | <?foo version='1.0'?>
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:9:5]
9 | ,-> <?foo version='1.0'?>
10 | `-> <?foo version='1.0' encoding="UTF-8"?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:9:5]
9 | ,-> <?foo version='1.0'?>
10 | `-> <?foo version='1.0' encoding="UTF-8"?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:10:5]
10 | <?foo version='1.0' encoding="UTF-8"?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:10:5]
10 | <?foo version='1.0' encoding="UTF-8"?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:10:5]
10 | ,-> <?foo version='1.0' encoding="UTF-8"?>
11 | `-> <?foo version='1.0' encoding='UTF-8'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:10:5]
10 | ,-> <?foo version='1.0' encoding="UTF-8"?>
11 | `-> <?foo version='1.0' encoding='UTF-8'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:11:5]
11 | <?foo version='1.0' encoding='UTF-8'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:11:5]
11 | <?foo version='1.0' encoding='UTF-8'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:11:5]
11 | ,-> <?foo version='1.0' encoding='UTF-8'?>
12 | `-> <?foo version='1.0' encoding='utf-8'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:11:5]
11 | ,-> <?foo version='1.0' encoding='UTF-8'?>
12 | `-> <?foo version='1.0' encoding='utf-8'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:12:5]
12 | <?foo version='1.0' encoding='utf-8'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:12:5]
12 | <?foo version='1.0' encoding='utf-8'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:12:5]
12 | ,-> <?foo version='1.0' encoding='utf-8'?>
13 | `-> <?foo version='1.0' encoding='EUC-JP'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:12:5]
12 | ,-> <?foo version='1.0' encoding='utf-8'?>
13 | `-> <?foo version='1.0' encoding='EUC-JP'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:13:5]
13 | <?foo version='1.0' encoding='EUC-JP'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:13:5]
13 | <?foo version='1.0' encoding='EUC-JP'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:13:5]
13 | ,-> <?foo version='1.0' encoding='EUC-JP'?>
14 | `-> <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:13:5]
13 | ,-> <?foo version='1.0' encoding='EUC-JP'?>
14 | `-> <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:14:5]
14 | <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:14:5]
14 | <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:14:5]
14 | ,-> <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
15 | `-> <?foo version='1.0' encoding='UTF-8' standalone='no'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:14:5]
14 | ,-> <?foo version='1.0' encoding='UTF-8' standalone='yes'?>
15 | `-> <?foo version='1.0' encoding='UTF-8' standalone='no'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:15:5]
15 | <?foo version='1.0' encoding='UTF-8' standalone='no'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:15:5]
15 | <?foo version='1.0' encoding='UTF-8' standalone='no'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:15:5]
15 | ,-> <?foo version='1.0' encoding='UTF-8' standalone='no'?>
16 | `-> <?foo version='1.0' standalone='no'?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:15:5]
15 | ,-> <?foo version='1.0' encoding='UTF-8' standalone='no'?>
16 | `-> <?foo version='1.0' standalone='no'?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:16:5]
16 | <?foo version='1.0' standalone='no'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:16:5]
16 | <?foo version='1.0' standalone='no'?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:16:5]
16 | ,-> <?foo version='1.0' standalone='no'?>
17 | `-> <?foo version='1.0' standalone='no' ?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:16:5]
16 | ,-> <?foo version='1.0' standalone='no'?>
17 | `-> <?foo version='1.0' standalone='no' ?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:17:5]
17 | <?foo version='1.0' standalone='no' ?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:17:5]
17 | <?foo version='1.0' standalone='no' ?>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:17:5]
17 | ,-> <?foo version='1.0' standalone='no' ?>
18 | `-> <?foo?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:17:5]
17 | ,-> <?foo version='1.0' standalone='no' ?>
18 | `-> <?foo?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:18:5]
18 | <?foo?>
: ^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:18:5]
18 | <?foo?>
: ^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:18:5]
18 | ,-> <?foo?>
19 | `-> <?f ?oo?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:18:5]
18 | ,-> <?foo?>
19 | `-> <?f ?oo?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:19:5]
19 | <?f ?oo?>
: ^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:19:5]
19 | <?f ?oo?>
: ^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:19:5]
19 | ,-> <?f ?oo?>
20 | `-> <?f ?oo??>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:19:5]
19 | ,-> <?f ?oo?>
20 | `-> <?f ?oo??>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:20:5]
20 | <?f ?oo??>
: ^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:20:5]
20 | <?f ?oo??>
: ^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:20:5]
20 | ,-> <?f ?oo??>
21 | `-> <?f ??????>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:20:5]
20 | ,-> <?f ?oo??>
21 | `-> <?f ??????>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:21:5]
21 | <?f ??????>
: ^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:21:5]
21 | <?f ??????>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:21:5]
21 | ,-> <?f ??????>
22 | `-> <?test aaa ?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:21:5]
21 | ,-> <?f ??????>
22 | `-> <?test aaa ?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:22:5]
22 | <?test aaa ?>
: ^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:22:5]
22 | <?test aaa ?>
: ^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:22:5]
22 | ,-> <?test aaa ?>
23 | `-> <?test ? ?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:22:5]
22 | ,-> <?test aaa ?>
23 | `-> <?test ? ?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:23:5]
23 | <?test ? ?>
: ^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:23:5]
23 | <?test ? ?>
: ^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:23:5]
23 | ,-> <?test ? ?>
24 | `-> <?test a a a ?>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:23:5]
23 | ,-> <?test ? ?>
24 | `-> <?test a a a ?>
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:24:5]
24 | <?test a a a ?>
: ^^^^^^^^^^^^^^^
`----
x ProcessingInstruction
,-[$DIR/tests/fixture/pi/input.xml:24:5]
24 | <?test a a a ?>
: ^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/fixture/pi/input.xml:24:5]
24 | <?test a a a ?>
: ^
25 | </root>
`----
x Text
,-[$DIR/tests/fixture/pi/input.xml:24:5]
24 | <?test a a a ?>
: ^
25 | </root>
`----