谁在使用XML Schema 1.1版本?哪个解析器版本支持它?等等 [英] Who is using XML Schema 1.1 version? Which parser versions support it? etc

查看:116
本文介绍了谁在使用XML Schema 1.1版本?哪个解析器版本支持它?等等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

XML Schema 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.


  1. 哪个版本的JAXB支持1.1?

  2. 哪个版本的XmlBeans支持1.1?

  3. SOAP / WSDL是否支持1.1?

  4. 是否使用此是否会限制我的API客户端选择的soap堆栈?

  5. 哪个版本的JAXP开始支持这个。我知道JAXP支持验证1.1模式但不确定从哪个版本开始。

  6. 还有其他我应该考虑的事情吗?

  1. Which version of JAXB supports 1.1?
  2. Which version of XmlBeans supports 1.1?
  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?
  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.
  6. Are there any other things I should consider?

问候。

推荐答案


1 - 哪个版本的JAXB支持1.1?

1 - Which version of JAXB supports 1.1?

JAXB规范(JSR-222)的模式到Java部分不包括转换模式1.1模式结构到Java类。从Java类开始,您应该能够映射到由这些结构表示的XML文档。注意:我是JAXB专家组的成员。

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.


2 - 哪个版本的XmlBeans支持
1.1?

2 - Which version of XmlBeans supports 1.1?

据我所知,XMLBeans不支持架构。在任何发行说明中都没有任何内容。

As far as I can tell XMLBeans does not support schema. There is nothing about it in any of the release notes.


3 - SOAP / WSDL是否支持1.1?

3 - Does SOAP/WSDL support the 1.1?

我不确定。


4 - 是否使用这会对我的API的
客户选择的肥皂堆加上
约束?

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。

Yes, for example JAX-WS only supports XML Schema 1.0.


5 - 哪个版本的JAXP启动
支持此功能。我知道JAXP有
支持验证1.1
架构但不确定哪个
版本。

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.

我相信它是开始支持XML Schema 1.1的JAXP 1.4(包含在Java SE 6中)。 Java SE 5的Java版本没有。

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.


6 - 还有其他我需要考虑的事情吗?

6 - Are there any other things I should consider?

您将利用XML Schema 1.1中的哪些功能?

Which features from XML Schema 1.1 are you going to leverage?

这篇关于谁在使用XML Schema 1.1版本?哪个解析器版本支持它?等等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆