Currently, you have to subclass only the root class. Is that too much?1 of 1 people found this helpful
That's what I was hoping to avoid. Ideally I'd be able to specify an annotation which accepts multiple namespaces. Or maybe an alternative "namespaces" attribute on the @JBossXmlSchema annotation which is of type String which could be specified instead of "namespace".
Then ideally the SchemaResolverDeployer would detect and register all the namespaces at once when "registerWithJBossXB" is true.
In principle that's doable. Of course, we'll have to create multiple SchemaBinding instances anyway, one per each namespace.