Hey,
I have run into a problem which worked with Metro. Using same annotations for EclipseLink just gives nothing.
Consider following XML snippet:
<?xml version="1.0" encoding="ISO-8859-1"?>
<theme>
<layer downloadable="true" type="point" datasource="ds_bibliotek" name="bibliotek">
[some where important text i want to read into an object]
<class>
<name>Bibliotek</name>
<style>
<color>255 102 101</color>
<size>10</size>
<symbol>square</symbol>
</style>
</class>
</layer>
</theme>
The text node (DOM wise) containing the text "[some where important text i want to read into an object]" is not loaded into the Layer object.
The Java code has this:
@XmlMixed
private ArrayList<Object> objects = new ArrayList<Object>();
.
.
.
@XmlTransient
public ArrayList<Object> getObjects()
{
return objects;
}
public void setObjects(ArrayList<Object> objects)
{
this.objects = objects;
}
but nothing is in the Arraylist "objects".
Please help me out!
/Kasper