Previously, when the project was published, every time you use the XML file in Windows with Notepad to save the run, you will always report an error:
XML Parser Error on line 1: content is not allowed in the preface.
Have been just know this problem but do not know what is the problem, each time only in eclipse to edit and paste the past, today again encountered this problem, try to find the specific reasons on the Internet. Special here to write down also by the way to share to everyone. In fact, the
real reason is that you modify the save when the system changes the file encoding, we modify the file after the choice of Save as the time to select the encoding on the line.
! [Write a picture description here] (https://img-blog.csdn.net/20160918230818969)
Modify Encoding to
Ansi
Modify the code as shown, then save the line, and then run the project will be no problem.
if not, please leave a message, will answer again.