L
lanny
Unregistered / Unconfirmed
GUEST, unregistred user!
使用 XMLPartner Professional 中的 TXpObjModel 读取下列 XML 文件提示
[Badly formed UTF-8 character in stream]
XML 文件内容如下:
-----------------------------------------------------------
<?xml version="1.0" encoding="gb2312" ?>
<productsinfo text ="Products">
<productInfo>
<CSMC>TestUser</CSMC>
<CPDM>01001</CPDM>
<CPMC> 键盘 </CPMC>
<SLT>1</SLT>
<XD> 小学 </XD>
<JZ>CD-ROM</JZ>
<XK> 语文 </XK>
<DJ>20.30</DJ>
<CPJS>574397jhgdfhghfdjkkjgfdklgdfl</CPJS>
</productInfo>
</productsinfo>
-----------------------------------------------------------
do
M: TXpObjModel;
....
do
M.LoadDataSource('test.xml') // 出现错误,Test.xml 为上面的内容
谢谢~
[Badly formed UTF-8 character in stream]
XML 文件内容如下:
-----------------------------------------------------------
<?xml version="1.0" encoding="gb2312" ?>
<productsinfo text ="Products">
<productInfo>
<CSMC>TestUser</CSMC>
<CPDM>01001</CPDM>
<CPMC> 键盘 </CPMC>
<SLT>1</SLT>
<XD> 小学 </XD>
<JZ>CD-ROM</JZ>
<XK> 语文 </XK>
<DJ>20.30</DJ>
<CPJS>574397jhgdfhghfdjkkjgfdklgdfl</CPJS>
</productInfo>
</productsinfo>
-----------------------------------------------------------
do
M: TXpObjModel;
....
do
M.LoadDataSource('test.xml') // 出现错误,Test.xml 为上面的内容
谢谢~