[ERROR]Premature end of file
[ERROR]Premature end of file
原因:
解析xml文档时,文件已经从头读到了尾.
在解析前遍历输出xml文档内容.
解决办法:再重建对象.
说明:解析前调用InputStream.reset()方法,不报错,但是不能解决此问题.
Repositions this stream to the position at the time...
原创
2012-09-28 11:41:43 ·
1666 阅读 ·
0 评论