swc/crates/swc_html_parser/tests/recovery/element/template-3/output.stderr
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

161 lines
9.7 KiB
Plaintext

x Start tag "div" seen in "table"
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^^^^^^^^^^^^^^^^^^^^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Misplaced non-space characters inside a table
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^
8 | </body>
`----
x Stray end tag "div"
,-[$DIR/tests/recovery/element/template-3/input.html:6:1]
6 | <body>
7 | <div id="tmplParent"><template id="tmpl1"><div id="fosterParent"><table id="tbl"><tr><td>Cell 1</td></tr><div id="orphanDiv">Orphan div content</div><tr><td>Cell 2</td></tr></table></div></template></div>
: ^^^^^^
8 | </body>
`----