Error parsing XML: error after document element

Many developers may be warning about errors like Error parsing XML: junk after document element, where Android123 hints that usually legal XML files have only one parsing node, such as the parsing node

< android123>
& lt; item1/>
& lt; item2/>
& lt; item3/>
< /android123>
If you make a mistake like an Error parsing XML: junk after document element, your focus may be to have multiple nodes at the root, such as Parsing XML
& lt; android123>
& lt; item1/>
< /android123>
< android123>
& lt; item2/>
& lt; item3/>
< /android123>
 
 

XML cannot be parsed, because it may not be written in the correct XML format, considering that the root node is not correct.

From:
the Error parsing XML: junk after the document element such mistakes – CSDN blog
https://blog.csdn.net/sunmoon631/article/details/6438617

Read More: