XML Schema 1.1版本具有非常有趣的功能,这些功能对于我的用例而言非常宝贵。但是,它似乎是相对较新的。因此,在最终决定之前,我希望您能针对以下问题进行反馈。
问候。
最佳答案
1 - Which version of JAXB supports 1.1?
JAXB规范(JSR-222)的从模式到Java的部分不涉及将模式1.1的模式结构转换为Java类。从Java类开始,您应该能够映射到这些结构所表示的XML文档。注意:我是JAXB专家组的成员。
2 - Which version of XmlBeans supports 1.1?
据我所知,XMLBeans不支持架构。在任何发行说明中都没有关于它的内容。
3 - Does SOAP/WSDL support the 1.1?
我不确定。
4 - Does usage of this is going to put constraints on the soap stack that the clients of my API pick?
是的,例如JAX-WS仅支持XML Schema 1.0。
5 - Which version of JAXP started supporting this. I know JAXP has support for validating against 1.1 schema but not sure from which version.
我相信是JAXP 1.4(包含在Java SE 6中)开始支持XML Schema 1.1。带有Java SE 5的Java版本没有。
6 - Are there any other things I should consider?
您将利用XML Schema 1.1中的哪些功能?
关于soap - 谁在使用XML Schema 1.1版本?哪些解析器版本支持它?等等,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4834664/