谁在使用 XML Schema 1.1 版本?哪些解析器版本支持它? ETC
XML Schema 1.1 版本具有非常有趣的功能,对于我的用例来说非常宝贵。不过,它似乎比较新。因此,在我最终做出决定之前,我希望得到您对以下问题的反馈。
- 哪个版本的 JAXB 支持 1.1?
- 哪个版本的 XmlBeans 支持 1.1?
- SOAP/WSDL 支持 1.1 吗?
- 使用此功能是否会对我的 API 客户端选择的肥皂堆栈施加限制?
- 哪个版本的 JAXP 开始支持这个。我知道 JAXP 支持针对 1.1 模式进行验证,但不确定是哪个版本。
- 我还应该考虑其他事情吗?
问候。
The XML Schema 1.1 version of very good interesting features that are invaluable for my use cases. However, it seems to be relatively new. So I would like to get your feed back on the below questions before I finalize my decision.
- Which version of JAXB supports 1.1?
- Which version of XmlBeans supports 1.1?
- Does SOAP/WSDL support the 1.1?
- Does usage of this is going to put constraints on the soap stack that the clients of my API pick?
- Which version of JAXP started supporting this. I know JAXP has support for validating against 1.1 schema but not sure from which version.
- Are there any other things I should consider?
Regards.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JAXB 规范 (JSR-222) 的模式到 Java 部分不包括将模式 1.1 模式结构转换为 Java 类。从 Java 类开始,您应该能够映射到由这些结构表示的 XML 文档。注:我是 JAXB 专家组的成员。
据我所知,XMLBeans 不支持模式。任何发行说明中都没有任何相关内容。
我不知道。
是的,例如 JAX-WS 仅支持 XML Schema 1.0。
我相信 JAXP 1.4(包含在 Java SE 6 中)开始支持 XML Schema 1.1。 Java SE 5 的 Java 版本则不然。
您将利用 XML Schema 1.1 的哪些功能?
The schema-to-Java portion of the JAXB spec (JSR-222) does not cover converting schema 1.1 schema structures to Java classes. Starting from Java classes you should be able to map to the XML documents represented by these structures. Note: I am a member of the JAXB expert group.
As far as I can tell XMLBeans does not support schema. There is nothing about it in any of the release notes.
I'm not sure.
Yes, for example JAX-WS only supports XML Schema 1.0.
I believe it is JAXP 1.4 (included with Java SE 6) that began supporting XML Schema 1.1. The version of Java with Java SE 5 does not.
Which features from XML Schema 1.1 are you going to leverage?