readAttribute does not find inherited attributes
Brought to you by:
niallg
with simplexml 2.6.6 I get an error:
org.simpleframework.xml.core.AttributeException: Attribute 'name' does not have a match in class com.bitplan.restmeta.EntityContainer at line 1
at org.simpleframework.xml.core.Composite.readAttribute(Composite.java:555)
EntityContainer is declared as:
public class EntityContainer extends MetaElement
and MetaElement has the "name" attribute:
@org.simpleframework.xml.Element(required = false)
private String name;
with public getters and setters.
I wonder why the attribute is not picked up. I tried to make it protected/public but that does not seem to change anything