1
0
mirror of synced 2024-11-21 21:43:49 +00:00
Commit Graph

69 Commits

Author SHA1 Message Date
Philipp Winkel
4e5eb693cb fix irregurlar schema names like "my-schema.xsd" or "./my_import-schema.xsd" and replace it with underscore, so Delphi can handle this files 2021-03-19 11:39:22 +01:00
Philipp Winkel
023c5197fe XML Kommentare für Delphi Documentation Insight 2020-11-10 17:54:59 +01:00
Philipp Winkel
96eeb95d17 XML Validation: CreateRequiredElements with correct namespaces 2020-11-03 17:11:34 +01:00
Philipp Winkel
6d0265862d Fix TargetNamespace bei Collection Items
(behebt Fehler "Interface nicht unterstützt")
2020-10-30 08:47:54 +01:00
f6b4267a5e Fixed: no enum type was generated for replaced enumerations 2020-04-22 12:34:21 +02:00
3d5c2943fc Added support for changing string properties to enumerations 2020-04-22 12:26:47 +02:00
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
a30ef97eb3 Make generation of 'Def' getter method configurable.\nSkip generation of 'Def' getter method for Variants 2017-09-06 17:12:15 +02:00
Bert Herngreen
5451a52cd2 Support of 'Def' getter method for optional elements 2017-09-01 11:48:05 +02:00
3c9f47f80e Empty check only simple types 2017-07-21 09:47:14 +02:00
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
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
79d87acb61 Fixed relative schemas references in relative schema references (yo dawg...)
Fixed ItemNS for collection items where the parent node is in another namespace
2017-02-17 15:27:30 +01:00
fe7f2eb952 Fixed: Access Violation in LoadFromString methods when not passing an Encoding explicitly 2016-07-21 13:23:20 +00:00
8feb95edb4 TEncoding parameter for Load...FromString helper function 2014-12-09 14:26:11 +00:00
bebb08153e Due to testing on the e-Exact schema:
Fixed: global attributes and references
Fixed: List references
Fixed: naming conflicts due to case sensitivity
Still bugged: repeating enumerations
2014-11-15 11:29:35 +00:00
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
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
dc29a0ae51 Fixed: SortChildNodes could cause "Line too long" error on large documents 2014-08-05 12:03:22 +00:00
aa29f0463e Added: GetValidXMLText wrapper for string elements 2014-06-27 07:53:21 +00:00
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
d1b7577ff2 Removed one "IXML" too many 2013-07-03 14:59:26 +00:00
9acb394d30 Fixed enumerator data type name 2013-07-03 14:53:48 +00:00
1e12269490 Enumerator support for node collections 2013-06-21 11:05:00 +00:00
cc62e18e4e Support for namespaces in child nodes 2013-06-21 10:25:49 +00:00
be56cf001a Fixed: simple type collections failed to call AddItem in the output, resulting in an Access Violation
Added: apparently I started a ModelMaker diagram some time ago
2012-11-14 09:22:49 +00:00
cb4e3a1148 Fixed: xs:anyType properties should be read-only 2012-05-22 13:31:56 +00:00
fcfa4dda85 Fixed: map xs:anyType to IXMLNode 2012-05-22 13:23:21 +00:00
8fa98da4fb Fixed: improved support for simple type references
Fixed: resolve property name conflicts
2012-05-22 13:16:16 +00:00
ea12a5124e Added: support for xs:decimal 2012-04-20 08:33:26 +00:00
ca8492e5bd Added: SaveToFile methods for Base64 encoded elements 2012-04-18 14:13:41 +00:00
d429226755 Fixed: TargetNamespace support for SimpleTypeAlias items 2012-04-17 07:36:23 +00:00
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
8a5fa4af6d Added: support for multiple namespaces in the generated binding 2012-04-10 08:47:48 +00:00
23d6e7e18e Fixed: reference to an enumeration is resolved as a simple type and turns into a Variant instead of a properly typed enumeration 2011-10-12 10:47:37 +00:00
66ce9ae1c9 Fixed: absolute paths in includes couldn't get resolved (irony.) 2010-09-10 10:38:31 +00:00
bb5bf6aabf Fixed: Attributes are optional by default 2010-07-15 13:53:52 +00:00
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
c892e495b7 Fixed: '-' is not a Delphi safe character
Fixed: 'file' is not a Delphi safe keyword
2010-07-14 08:50:33 +00:00
cb781049c7 Added: support for a typed NodeValue property on typed elements with attributes 2010-06-22 08:27:28 +00:00
9680a2a8c3 Removed assembly breakpoint which caused an External Exception 2009-10-09 10:19:34 +00:00
5e75e3435f Support for renaming properties using the Hints file
Fixed support for simple type collections
2009-09-29 15:12:47 +00:00
56013f783a Better collection support
Support for optional attributes
2009-09-18 07:49:04 +00:00
de277ebcfc Generate attribute properties for complex types 2009-04-14 13:20:41 +00:00
f705ac121e Added: start of DataBindingHints manual (Dutch)
Fixed: elements which reference a complex type are no longer resolved away, which means they can now be used as document elements
2008-08-27 10:10:04 +00:00
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
7ed849490c Added: xsd:base64binary supports 2008-07-20 12:07:18 +00:00
fd9c309309 Changed: hints file now uses XPath expressions 2008-05-14 13:30:54 +00:00
e1d3f533ab Added: support for specifying the document elements in the hints file 2008-04-25 10:34:16 +00:00
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