Re: [Simple-support] order of elements not preserved?
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-10-12 07:27:10
|
I am afraid ordering is not maintained when you get declaed methods. Not sure why, however the Class file will not contain ordered entries. I realise you looked at the class file, but still the values do not come out ordered. If you can manage to get them in declaration order let me know how u did it. ________________________________ From: Chandra Mohan <bsc...@ms...> To: sim...@li... Sent: Thursday, 29 September 2011 6:13 AM Subject: [Simple-support] order of elements not preserved? 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |