New Bug ? IllegalAnnotationExceptions !!!
I have the following type defined in my schema:
JAXB-2.0 did not use to complain with this, but ... Ever since I started using weekly versions from a month or two ago, I get the following exception when trying to unmarshall a document containing a simple instance of this element:
Exception in thread "main" com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
@XmlValue is not allowed on a class that derives another class.
this problem is related to the following location:
at protected java.lang.String gov.lbl.dsd.dtf.Print.value
at public gov.lbl.dsd.dtf.Print gov.lbl.dsd.dtf.ObjectFactory.createPrint()
Any idea. Is this a bug that got introduced ? Or should I do something differently ?
Thanks in advance for your help. Guillaume.