i have the following classes which is marshalled as an XML <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <customer id="100"> <age>21</age> <hobbies> <hobby> <cost>sd</cost> <name>na</name> </hobby> <hobby> <cost>sd</cost> <name>nb</name> </hobby> </hobbies> <name>test</name> </customer> However, when i tried to unmarshall, I can only create the customer object but not hobby, which returns null Am i doing something wrong here? The problem seems to be with the XML hierarchy? package com.mytest.jxb; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlEle...
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update