SimpleXML deserialization error in Android
问题 I have problem with deserialization java-object. For deserialization I use SimpleXML. @Root public class A { @ElementList private ArrayList<B> b; getters, setters... } public class B{ @Element(name="C", required=false) private C c; getters, setters... } public class C{ private int id; private String name; getters, setters... } I receiving XML, which have next field: <A> <B> <C i:nil="true" /> </B> </A> Dalvink throws next exception: org.simpleframework.xml.core.AttributeException: Attribute