1
0
mirror of synced 2024-11-24 06:13:51 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
Ronny Heidenreich
5f79c4a481 Fix: Documentation Element not recognized anymore since commit b4998a5d
SchemaItem.Documentation is a collection that never IsTextElement, but its items are
2023-11-09 15:07:24 +01:00
1d5af8a7b4
Merge pull request #5 from selectline-software/NestedCompositorsAndRequiredElements
Elements in choices with nested compositors (sequences or choices) are now recognized as optional
2022-06-16 10:07:08 +02:00
Dietmar Schölzel
eca77e1246 Choices with nested compositors (sequences or choices) are now recognized as choices 2022-06-14 13:15:56 +02:00
Dietmar Schölzel
e99acc1c7f fixed exception in TXMLDataBindingItem.GetDocumentation
see https://docwiki.embarcadero.com/Libraries/Sydney/en/Xml.XMLIntf.IXMLNode.Text
2022-06-02 11:05:12 +02:00
Philipp Winkel
ce9d185d1f remove x2log dependency 2021-03-19 18:22:25 +01:00
Philipp Winkel
5893767c38 remove x2utils dependency 2021-03-19 18:16:49 +01:00
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