Web

XML Records

Available in OutSystems versions:
            
OutSystems 9.1

Version 1.6.1

Latest Stable
Published on 19 April 2017 by Ricardo Silva

- added support for long integers

Requirements
Platform:
9.1.401.0
Database:
All
Stack:
All

Version 1.6.0

Published on 15 June 2016 by Ricardo Silva
- support for new style structure types. Kudos to João Rosado.
Requirements
Platform:
9.1.300.0
Database:
All
Stack:
All
OutSystems 9

Version 1.5.11

Published on 26 May 2016 by Ricardo Silva
[.NET] fixed ExcludeIfNull removing elements with only attributes. Kudos to Bruno Gonçalves.
Requirements
Platform:
9.0.1.60
Database:
All
Stack:
All

Version 1.5.10

Published on 25 May 2016 by Ricardo Silva
[J2EE] parameter IgnoreXMLDeclarationAndNS implemented
Requirements
Platform:
9.0.1.60
Database:
All
Stack:
All

Version 1.5.9

Published on 16 November 2015 by Paulo Garrudo
Added an application to create a wrap of the extension. No changes made to the logic.
Requirements
Platform:
9.0.1.19
Database:
All
Stack:
All
OutSystems 7

Version 1.5.8

Published on 01 November 2014 by Ricardo Silva
[J2EE] minor element comparison fix using isSameNode instead of ==, which might be more accurate.
Requirements
Platform:
7.0.1.18
Database:
All
Stack:
All

Version 1.5.7

Published on 01 November 2014 by Ricardo Silva
- fixed issue with conflict between child nodes in Java
Requirements
Platform:
7.0.1.18
Database:
All
Stack:
All

Version 1.5.6

Published on 26 September 2014 by Ricardo Silva
upgrade to allow version 9 serialization and deserialization of old style types.

Does not yet support Lists.
Requirements
Platform:
7.0.1.18
Database:
All
Stack:
All

Version 1.5.5

Published on 31 May 2014 by Ricardo Silva
BugFixes
- fixed bug where adding an attr config would cause infinite loop in Java.
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.5.4

Under Development
Published on 24 April 2014 by Ricardo Silva
BugFixes
- AddDeclaration configuration now works in Java.
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.5.3

Under Development
Published on 02 April 2014 by Ricardo Silva
BugFixes
- previous bugfix now actually works
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.5.2

Under Development
Published on 22 March 2014 by Ricardo Silva
BugFixes
- didn't work with entity records. Should work now.
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.5.1

Under Development
Published on 20 October 2013 by Ricardo Silva
BugFixes
- Fixed a bug in the processing of attributes after a Record List attribute [J2EE only].
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.5.0

Under Development
Published on 12 July 2013 by Ricardo Silva
Added Features
- Java Implementation

Not thoroughly tested.

Should support most modes of operation.

Unimplemented features:

- automatic adding of XML declaration
- decimal culture
- possibly others. 

Untested features:

- mostly all that have to do with specific Records configuration. Should work(tm), but has not been tested.
Requirements
Platform:
7.0+
Database:
All
Stack:
All

Version 1.3.1

Published on 27 April 2013 by Gonçalo Borrêga
BugFixes
- RecordListToXml, RecordToXml: When DefaultXmlConfig.ExcludeIfNull is set to true, removes all empty tags, including deep nested tags. 
Requirements
Platform:
7.0+
Database:
All
Stack:
.NET

Version 1.3

Published on 27 April 2013 by Gonçalo Borrêga
 - Improved error handling when converting data in XML to the structure types so that we can better understand when there are parsing errors
 - Made it compatible with latest version of the RecordList object definition
 - Added example for Sharepoint lists (rowsets)
Requirements
Platform:
7.0+
Database:
All
Stack:
.NET
OutSystems 6

Version 1.2.3.1

Published on 27 April 2013 by Gonçalo Borrêga
BugFixes
- removed ipp
Requirements
Platform:
6.0.1+
Database:
All
Stack:
.NET

Version 1.2.3

Published on 27 April 2013 by Gonçalo Borrêga
BugFixes
- Fixed defect where "Object reference not set to an instance of an object" exception was thrown when a child record was missing from the imported XML
Requirements
Platform:
6.0.1+
Database:
All
Stack:
.NET
OutSystems 5.1

Version 1.2.2

Published on 27 April 2013 by Gonçalo Borrêga
BugFixes
- Records&Recordlists in XML nodes with attributes but no inner content were being ignored
Requirements
Platform:
5.1+
Database:
All
Stack:
.NET

Version 1.2.1

Published on 27 April 2013 by Gonçalo Borrêga
Added Features
- Support for 1/0 as valid boolean values

BugFixes
- xmlns attributes were causing subsequent attributes to be ignored
Requirements
Platform:
5.1+
Database:
All
Stack:
.NET

Version 1.2

Published on 27 April 2013 by Gonçalo Borrêga
Added Features
- ContentPrefix attribute on the DefaultXmlConfig that allows having an attribute that has its value serialized to the inner text of a record/xml tag

BugFixes
- attributes in records in Sequence mode could not be rendered. Now they will be rendered to the parent node
Requirements
Platform:
5.1+
Database:
All
Stack:
.NET

Version 1.1.1

Published on 27 April 2013 by Gonçalo Borrêga
Added Features
- RecordListToXml has a new parameter to control whether a root node

Requirements
Platform:
5.1+
Database:
All
Stack:
.NET

Version 1.1.0

Published on 27 April 2013 by Gonçalo Borrêga
Added Features
- RecordXmlConfig: new attribute EffectiveName that allows changing a Record/Entity name when exporting or importing (Ex: Entitiy is called "USER_MASTER" but is exported as "user")
- DefaultXmlConfig as a new attribute XmlDeclaration which is a record of type XmlDeclaration. This allows you to add a declaration on top of the exported xml, allowing you to set the xml version and encoding parameters (by default it is not included for backwards compatibility)
- Adds support for setting a culture to serialize/deserialize decimals. Default is en-US as defined in http://www.w3.org/TR/xmlschema-2/#decimal
- Adds support for setting a format for date, time and datetime attributes. Defaults are yyyy-MM-dd, HH:mm:ss and yyyy-MM-ddTHH:mm:ss respectively as defined in http://www.w3.org/TR/xmlschema-2
- On deserialization, if an attribute is not found as a child element, we try to read it from the current node's attributes
- Attributes are serialized with " instead of '
- The example espace shows usage of the several configuration attributes
- Packed in a solution

BugFixes
- Fixed defect that was causing attributes of type Record, in Child mode, not to be deserialized from xml to record
- Fixed defect that was causing attributes of type RecordList, in Sequence mode, not to be deserialized from xml to Recordlist
- Fixed defect that was causing attributes of type Record, when configured to Child mode, to have a parent empty tag
Requirements
Platform:
5.1+
Database:
All
Stack:
.NET
OutSystems 5

Version 1.0.3

Published on 24 August 2010 by Nuno Guedes
Added Features
This version aims to Serialize/Deserialize real world XML documents into OutSystems Structure Model. Main features are:
-The XML declaration "<?xml" can now be ignored to prevent conflicts with the root directory of the XML document (default behaviour).
-Deserialization of attributes is now supported.
-Serializarion of attributes is now supported.
-If the xml contains a namespace it can be ignored to prevent unsuccessefull imports (default behaviour).
-if the elements are rendered in Sequence mode, they can now be imported successefully.
-The decimal separator is now always considered the "." instead of the one defined in Language an Localization settings of the machine, this has been done to keep decimal numbers compatible with outsystems 5.0 since from 5.0 the decimal separator is the "." independent of the current locale.
-The Example OML was updated to show these features working.

Requirements
Platform:
5.0.2.12
Database:
All
Stack:
All