Error parsing XML: junk after document element

sax解析回传数据时,出现Error parsing XML: junk after document element 错误

<notify func="NewDevice" macaddress="00124B0004271B65" type="511" id="67"/>

<notify func="NewDevice" macaddress="00124B0004271B65" type="511" id="68"/>

<notify func="NewDevice" macaddress="00124B0004271B65" type="511" id="69"/>

需要增加一个根节点才能解析;

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念