Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » XML serialization not always maintaining order of fields in sapphire pojos
XML serialization not always maintaining order of fields in sapphire pojos [message #1750011] Thu, 15 December 2016 06:11 Go to next message
Jason Pell is currently offline Jason PellFriend
Messages: 55
Registered: February 2011
Member
I have schema validation enabled for the underlying XML structure that Sapphire is sitting on top of and sometimes sapphire will not save the structure in the order as defined by the order of the properties in the Element.

Is it supposed to be able to save the xml according the order of the fields in the classes
Re: XML serialization not always maintaining order of fields in sapphire pojos [message #1754901 is a reply to message #1750011] Thu, 23 February 2017 18:39 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Sapphire XML serialization follows the order dictated by the attached XML Schema or DTD. If neither is attached, it uses the order the properties are written. The order of properties within an Element is not used for XML serialization.
Previous Topic:How do I display a text box as password?
Next Topic:Using platform: URLs for image tags in sdef files
Goto Forum:
  


Current Time: Sun Oct 13 23:32:40 GMT 2024

Powered by FUDForum. Page generated in 0.02962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top