首页 > 代码库 > White space is required before the encoding pseudo attribute in the XML declaration.

White space is required before the encoding pseudo attribute in the XML declaration.

错误出现的位置:

<?xml version="1.0"encoding="UTF-8"?>

 正确方式:

<?xml version="1.0" encoding="UTF-8"?>

错误原因:标签中的属相间需要用空格区分开

 

White space is required before the encoding pseudo attribute in the XML declaration.