XML Error: Extra content at the end of the document

前端 未结 2 1504
眼角桃花
眼角桃花 2020-12-17 08:20

This is the XML:



Sample Document
document         


        
2条回答
  •  北荒
    北荒 (楼主)
    2020-12-17 08:46

    I've found that this error is also generated if the document is empty. In this case it's also because there is no root element - but the error message "Extra content and the end of the document" is misleading in this situation.

提交回复
热议问题