开发者

Is schema necessary for JAXB usage?

I have an xml file which I want to unmarshal. It is a very simple file with very well defined structure. Do I still need a xml schema to use JAXB? If so开发者_如何学Go what is the other option? What are the pros and cons


No, a schema isn't required. If this is a simple one time thing then the overhead of validating against one may not be worth it. It's up to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜