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:
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- [Android] ImageView setting background image error: error inflating class ImageView
- java.lang.IllegalStateException: ArrayAdapter requires the resource ID to be a TextView
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- Node.js Cannot find module ‘mysql’ ‘express’
- After the eclipse Android virtual machine starts, an error will be reported: similar to SDK manager devices.xml Solution
- “Operation now in progress” appears when mounting CIFS
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- [Java] start eclipse error when loading the SDK
- Android Failure [INSTALL_ FAILED_ VERSION_ Downgrad] solutions
- CMake_ Compiling VTK_ 9.0.0 running vtkcommoncolor DLL has access conflict
- Common error: uncaught typeerror: document.getElementsByClassName (…).addEventListener is not a function
- AS error: failed to find target with hash string’Google Inc.:Google APIs:21′ error solution
- Some processing experiences of failed to notify build listener
- Commandinvocationfailure: failed to build APK problem record
- R language: na.fail and na.omit
- About writing [if] and [else] statements in JSP, Syntax error on token “else”, delete this token
- Error when loading the SDK: Solutions
- Solution to “An error occurred while loading the archive” appears when decompressing the rar file compressed package
- Solution of fileuriexposedexception for Android 7.0 behavior change