|MOXy: can't xml-bindings xml-transient parent class when it has same name in different package [message #667089]
||Tue, 26 April 2011 16:47
| Ed Staub
Registered: April 2011
I'm trying to use schemagen with an external <xml-bindings> file.|
Class foo.MyOwnGrandpa extends class mumble.MyOwnGrandpa.
I can't really touch the classes involved - especially the parent class, which is generated.
If I set xml-transient on the parent class, I get an error out of the AnnotationsProcessor:
Exception Description: Name collision. Two classes have the XML type with uri and name myOwnGrandpa.
The bindings file for the mumble package has no effect in this context, because of xml-transient. The bindings passed in to the AnnotationsProcessor are for the child package. So the obvious workaround - change the parent-class xml name or namespace - can't be used.
Am I missing something?
Any suggestions for a workaround?
Should I report this as a bug?
[Updated on: Tue, 26 April 2011 19:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05537 seconds