这 是因为 xml文件中的属性是有顺序要求的,而这些顺序是写在dtd的约束文件中的,可以在映射文件的约束头上面找到:
,只需要我们按照他提示的顺序调整位置即可:
02-23
484
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
05-11
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-11
6357
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-09
3411
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
这 是因为 xml文件中的属性是有顺序要求的,而这些顺序是写在dtd的约束文件中的,可以在映射文件的约束头上面找到:
,只需要我们按照他提示的顺序调整位置即可: