dom4解析问题

爆出的错误:

org.dom4j.DocumentExceptionError on line 1 of document  : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.

 

 

 

代码:

JLGetVehicleInfo.Query(strinformation),

其中 strinformation 是一个字符串如下:

<RequestForm>
<UserID>10009</UserID>
<UserPassWord>zhx2014</UserPassWord>
<RequestItem>1</RequestItem>
<RequestData>
<LicensePlate>测S22333</LicensePlate >
<LicenseColor>2</LicenseColor>
</RequestData>
</RequestForm>

慕的地6264312
浏览 710回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java