This content has been marked as final.
Show 3 replies
-
1. Re: Binding to multiple namespaces?
aloubyansky Jan 27, 2010 10:20 AM (in response to dmlloyd)Currently, you have to subclass only the root class. Is that too much?1 of 1 people found this helpful -
2. Re: Binding to multiple namespaces?
dmlloyd Jan 27, 2010 10:54 AM (in response to aloubyansky)alex.loubyansky@jboss.com wrote:
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.
-
3. Re: Binding to multiple namespaces?
aloubyansky Jan 27, 2010 11:57 AM (in response to dmlloyd)In principle that's doable. Of course, we'll have to create multiple SchemaBinding instances anyway, one per each namespace.