It should be nice to modify the "Unflatten from XML" in order to be more tolerant with data evolutions.
For example :
I used the flatten/unflatten to/from XML to store my applications configuration. It's rapid ... and it works fine ...
But during the software life, you often have to modify the data structures ... and then you'll get problems !
The old XML string is no more compatible with the new data structure ! ... and old config files are no more usable !
( And sometimes only for a single new field !!! )
This could generates problem when you deploy a new version of your program ... and the old config files can no more be reused !
So it would be nice to have a more 'Tolerant' XML parser :
For the moment the Xml unflatten generates an error when the type definition is not compatible ... and nothing is done.
The new behaviour could be to load "Compatible datas" (by name and dataType), initialize new fields, ignore deleted fields,
and a warning error cluster could be generated to inform that the XML parsing could be done ... but XML schema is not completly compatible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.