[Simple-support] order of elements not preserved?
Brought to you by:
niallg
|
From: Chandra M. <bsc...@ms...> - 2011-09-29 05:13:46
|
Hi All, I am using SimpleXml 2.6.1 in my android app. Eventhough the document says the order of the elements in the xml are same as the way they have defined in the class file, I am always getting the order to be random in the xml. If I add few more variables, the order of the elements again changes. Adding @Order notation works, but since the class is complex with 100s of variables, I do not want to add order. Is this a known bug for android versions? p.s: I opened the .class file disassembled and found the variables declared in the same order as java file, so I don't think it's a class file issue. Warm Regards,Chandra |