Overlapping tags
- XML document
- <a><b></a>
Result Result: Not well-formed
First error: Expected </b> but found </a>.
Error line: 1
Error column: 7
Root element: —
Elements: 0
Nesting depth: 0
Lines: 1
- Scanned tags, attributes, comments, CDATA and entity references against the XML 1.0 syntax rules.
- Stopped at line 1, column 7: Expected </b> but found </a>.
The b element is still open when the end tag for a arrives. XML requires strict nesting, so the check stops at column 7.