JAXB 模式在哪里发布?

Where are the JAXB schemas published?

JAXB 1.0 和 JAXB 2.0 模式应该可以从 Bindings Schema for JAXB 站点获得。不幸的是,它最后一次更新是在 2005 年,所有链接都已损坏。模式的官方位置是什么? v1.0、2.0、2.1和2.2应该有一些权威的来源。

JAXB XML 模式

JAXB 1.0 XML Schema

JAXB 2.0 XML Schema

好像没有2.2版的schema。最新的是 2.1.

还有一个 old post from the java.net 论坛(现已不存在)声明:

I don't think it has been published (we should fix that), but if you have a jaxb-xjc jar file, you can find it inside the jar.

jaxb-xjc-2.2.11.jar中的相关文件是:

com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd
com/sun/tools/xjc/reader/xmlschema/bindinfo/xjc.xsd
com/sun/tools/xjc/reader/xmlschema/bindinfo/xs.xsd

来自源存储库:Binding, XJC and XS 模式。

注意: 除了 2005 年的原始 1.0 和 2.0 模式链接至少被破坏两次(从 sun.comoracle.com,然后移动到 Oracle 的 technetwork),2.1 模式的位置在 2015 年之间至少改变了四次和 2018 年,由于 java.nethttp 切换到 httpsjava.net[= 关闭46=],将代码库迁移到 GitHub,并重构以将模式从 src/main/java 移动到 src/main/schemas