dns解析有问题,大侠帮忙看看这个Expat解析的xml哪里写得有问题??

大侠帮忙看看这个Expat解析的xml哪里写得有问题?? - 故障解答 - 电脑教程网

大侠帮忙看看这个Expat解析的xml哪里写得有问题??

日期:2007-07-06   荐:
大侠帮忙看看这个Expat解析的xml哪里写得有问题??今天把Expat从http://www.xml.com/pub/a/1999/09/expat/index.html?page=2http://www.jclark.com/xml/expat.html下载下来,在用他的那个示例时出现错误:not well-formed没找到原因,估计是XML文档写得不规范,测试用文档test.xml:<?xml version="1.0" ?><gps ID = "carNo" Time = "00:00:00"> <x> 0 </x> <y> 3 </y> <z> 100</z></gps>报错如下: 0: Start tag gps - <gps ID = "carNo" Time = "00:00:00"> 1: Text - 2: Text - 3: Start tag x - <x> 4: Text - 0 5: End tag x - 6: Text - 7: Text - 8: Start tag y - <y> 9: Text - 3 10: End tag y - 11: Text - 12: Text - 13: Start tag z - <z> 14: Text - 100 15: End tag z - 16: Text - 17: End tag gps -Parse error at line 7:not well-formed但愿早日解决这个问题,花了3\4个小时了吧,头都大了多谢了先
标签: