1
This page contains the following errors: error on line 1 at column 6: XML declaration allowed only at the start of the document
为什么我得到关于XML声明的这个错误?
这是谷歌浏览器显示我当XML数据是这样的:
<?xml version="1.0" encoding="UTF-8"?>
<tbl Src="JD-API">
<cols>
<col ID="0"Nam="ID" Typ="3" Wid="50" />
<col ID="1"Nam="Text" Typ="1" Wid="50" />
</cols>
<rows>
</rows>
</tbl>
为什么告诉我这一点,这是什么意思?
是的,这是问题的解决方案 –
不要认为有空白(至少不是在实际的数据,上面它只是缩进太远),但我会仔细检查服务器没有发送空格这里... –
我刚刚检查并确信我的HTTP服务器正在为每一行提供比应该有的更多空间。谢谢! –