JAXB SchemaFactory source order must follow import order between schemas?

前端 未结 2 676
慢半拍i
慢半拍i 2020-12-19 02:31

Using latest JAXB (Sun) and have a hierarchy of schemas that use import directives between schemas to share type definitions. Schema validation is activated on the setSchem

2条回答
  •  攒了一身酷
    2020-12-19 03:03

    What if you create a schema on the root Source, and then set a ResourceResolver (LSResourceResolver) to resolve the other imported schemas during the schema creation.

提交回复
热议问题