Commit Graph

36 Commits

Author SHA1 Message Date
Ronny Heidenreich 22f39467b8 add SimpleTypeMapping rules for all built-in datatypes according to https://www.w3.org/TR/xmlschema-2/ (no additional conversions)
Use Int64/UInt64 for infinite range
2023-11-09 14:52:07 +01:00
Philipp Winkel 96eeb95d17 XML Validation: CreateRequiredElements with correct namespaces 2020-11-03 17:11:34 +01:00
Mark van Renswoude 17043551f9 Fixed bug in Def properties using the original element name instead of the generated property name 2020-04-09 10:55:19 +02:00
Bert Herngreen 5451a52cd2 Support of 'Def' getter method for optional elements 2017-09-01 11:48:05 +02:00
Mark van Renswoude e8ef5ff1bc Added option to check for empty elements in Has properties, as a workaround for people who don't understand the concept of optional elements or XSD's in general 2017-07-21 09:38:17 +02:00
Mark van Renswoude c16eb103da Added support for strict(er) validation
Fixed setter being generated for repeating simple types (and in some cases, causing syntax errors)
2017-07-19 13:58:31 +02:00
Mark van Renswoude fe7f2eb952 Fixed: Access Violation in LoadFromString methods when not passing an Encoding explicitly 2016-07-21 13:23:20 +00:00
Mark van Renswoude 8feb95edb4 TEncoding parameter for Load...FromString helper function 2014-12-09 14:26:11 +00:00
Mark van Renswoude 66dbd1738a Fixed: safe NodeValue to String conversion
Fixed: NodeValue getter would treat it as a ChildNode instead (as did attributes)
Changed: use of generic collections instead of typecasts
2014-10-28 14:22:41 +00:00
Mark van Renswoude f3d8ef6968 Added: FS#14 - LoadFromFile/Stream methods missing for Base64Binary properties
Changed: moved to Delphi XE2, changed StreamHelper to StreamWriter descendant
Added: 64-bits build, for fun
2014-08-25 18:26:12 +00:00
Mark van Renswoude dc29a0ae51 Fixed: SortChildNodes could cause "Line too long" error on large documents 2014-08-05 12:03:22 +00:00
Mark van Renswoude aa29f0463e Added: GetValidXMLText wrapper for string elements 2014-06-27 07:53:21 +00:00
Mark van Renswoude ce60932a21 LoadFromString function added to the databinding functions
added bin folder
use bin and lib folder in project settings
2013-10-14 15:12:39 +00:00
Mark van Renswoude d1b7577ff2 Removed one "IXML" too many 2013-07-03 14:59:26 +00:00
Mark van Renswoude 9acb394d30 Fixed enumerator data type name 2013-07-03 14:53:48 +00:00
Mark van Renswoude 1e12269490 Enumerator support for node collections 2013-06-21 11:05:00 +00:00
Mark van Renswoude cc62e18e4e Support for namespaces in child nodes 2013-06-21 10:25:49 +00:00
Mark van Renswoude fcfa4dda85 Fixed: map xs:anyType to IXMLNode 2012-05-22 13:23:21 +00:00
Mark van Renswoude ea12a5124e Added: support for xs:decimal 2012-04-20 08:33:26 +00:00
Mark van Renswoude ca8492e5bd Added: SaveToFile methods for Base64 encoded elements 2012-04-18 14:13:41 +00:00
Mark van Renswoude 25bdcc74c5 Added: support for SaveToStream for Base64 encoded types
Fixed: global simple type mappings referenced by non-global elements
2012-04-13 13:33:23 +00:00
Mark van Renswoude 8a5fa4af6d Added: support for multiple namespaces in the generated binding 2012-04-10 08:47:48 +00:00
Mark van Renswoude 595ae4ea7d Added: XSDValidate methods to ensure:
- required elements are created (with limitations; no data content validation or default value checking is performed)
- the order of Sequences is maintained
2010-07-15 10:57:03 +00:00
Mark van Renswoude c892e495b7 Fixed: '-' is not a Delphi safe character
Fixed: 'file' is not a Delphi safe keyword
2010-07-14 08:50:33 +00:00
Mark van Renswoude cb781049c7 Added: support for a typed NodeValue property on typed elements with attributes 2010-06-22 08:27:28 +00:00
Mark van Renswoude 56013f783a Better collection support
Support for optional attributes
2009-09-18 07:49:04 +00:00
Mark van Renswoude 65d792471d Fixed: incorrect type for certain collection items
Fixed: use XMLIntf.IXMLDocument in case of a conflicting 'Document' element (Google KML)
2008-07-31 14:56:36 +00:00
Mark van Renswoude 7ed849490c Added: xsd:base64binary supports 2008-07-20 12:07:18 +00:00
Mark van Renswoude 6764684c9e Added: namespace to hints and settings XML files
Added: "Generate blank Hints file" option
Added: proper support for xs:dateTime/xs:time types
Changed: moved conversion and utility functions out of the generated source code to the external XMLDataBindingHelpers unit
2008-04-24 14:37:05 +00:00
Mark van Renswoude 80acc3c04d Fixed: using IXMLNode.Text instead of NodeValue for the enumeration Text getter 2008-04-22 14:49:32 +00:00
Mark van Renswoude e4903fdb7b Added: date / time of generation in Delphi unit header
Added: settings file
Added: support for renaming enumeration members using a hints file
Fixed: case-insensitive check for reserved Delphi words
Fixed: setter for IsNil
2008-04-22 13:36:55 +00:00
Mark van Renswoude 727a5dca46 Fixed: support for nillable elements 2008-04-21 15:24:33 +00:00
Mark van Renswoude 0d63424104 Fixed: elements which are part of a choice compositor are treated as being optional
Fixed: xs:string properties use IXMLNode.Text property instead of NodeValue
Changed: GUI uses DevEx components
2008-04-21 13:04:19 +00:00
Mark van Renswoude 0c38a497f9 Merged last changes into trunk 2008-04-18 14:36:17 +00:00
Mark van Renswoude f453aea455 Merged collections branch into trunk 2008-04-14 19:28:57 +00:00
Mark van Renswoude 107589b839 Added: better support for datatype conversions
Changed: extracted most strings to the Resources unit
2008-03-21 15:23:14 +00:00