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
Eclipse UserFriend
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
Eclipse UserFriend
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: Mon Feb 10 10:57:44 GMT 2025

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

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

Back to the top