b8b487e621
XSD/WSDL parser, "group" construct : On "ref" site multiple occurrence handling + tests.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-20 19:41:11 +00:00
6e209c21fa
<choice> construct parsing : Fix for unbounded embedded cases.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-04 12:32:49 +00:00
fb72045f86
Provide an option not to create fields from XSD's "choice" construct.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 16:35:43 +00:00
870591f5a1
Attributes cannot be array properties, Fix + test case.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 15:02:11 +00:00
20a4f70c7f
(XSD's) ElementFormDefault and AttributeFormDefault, group and attributeGroup, parsing and runtime handling.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:02:12 +00:00
b5cd38509b
Remove redundant casts, PtrInt -> Integer, IInterface in classes definitions (Thanks Juha) 1
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:34:01 +00:00
041a6b2a36
License change : All the code in WST is now using the FPC' RTL license (modified LGPL see COPYING.modifiedLGPL)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 16:34:30 +00:00
402f527cbb
Remove not used variables, fix uninitialized variables.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-25 19:05:55 +00:00
0a2294b0d7
* Remove duplicated class' properties(Complex type restriction case)
...
* Add the "_" prefix or the "_Type" suffix only when necessary
* Search module by namespace if a namespace is provided (FindModule)
* Parse schema's imported documents
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 11:04:25 +00:00
58f603bdbe
Correct base type searching : if not found then create a unresolved item.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-08-27 16:39:08 +00:00
ab893594d7
Handle top level(global) declared attribute and references
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-05 15:48:26 +00:00
467d62d6d7
"HAS_EXP_TREE" define to handle fcl-passrc expressions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-29 19:31:17 +00:00
80b84e6c7d
Handle untyped properties
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-09-06 12:31:10 +00:00
6bbca25247
fcl-passrc now uses TFPList instead of TList.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-26 17:54:55 +00:00
fc1c449cd2
xsd's "choice" construct parsing + tests
...
parser is case sensitive b default now, + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-14 02:31:02 +00:00
3524335cab
Transform inline error text to ResourceString
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1354 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-16 18:22:28 +00:00
2e7fa04712
Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_') (fix)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1350 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-15 13:43:44 +00:00
ed37484810
Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_')
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-11 12:22:23 +00:00
fbaef11db8
composed name handling (such as "one-prop")
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1331 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-01 20:44:10 +00:00
73653e4c9b
easy access interface should be handle only in the unit containing the original interface.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1318 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 14:02:52 +00:00
421ccf5a75
SetAsEmbeddedType
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1029 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 15:53:14 +00:00
85e796e962
ws_helper code generation option -gEP : enum type''s items are prefixed with the enum name
...
Add more Object Pascal keywords to the parser
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1020 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-26 10:39:50 +00:00
e49d2da336
Make sure to always use a valid identifier for a type name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-16 09:28:25 +00:00
73d227205a
suppress warning
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-10 10:52:11 +00:00
420a28dc1d
Preparing Type name and Element disambiguation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 12:24:19 +00:00
eda0eb7910
Unify resource strings in wst_consts.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-09 14:10:58 +00:00
527c0c98b8
Code generation : Array item external name setting in the interface file.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-28 19:43:15 +00:00
e2e80eac2d
Suppress warnings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-24 15:42:58 +00:00
83f0425897
XSD <any> and <anyAttribute> handling
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-23 19:21:59 +00:00
8c09b81cfd
parsing wsdl with schema, but xsd namespace not declared in top node
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-17 20:31:55 +00:00
122d94f289
XSD parsing : metadata extraction bug fix and tests
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 12:37:11 +00:00
f44dad52d7
WideString and UnicodeString support by the Type Library Editor/ws_helper
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-17 01:45:04 +00:00
5918607ca5
Fix memory leak in xsd parser ( TPropInfoReferenceList should free its items )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 17:53:43 +00:00
5276962d02
Fix empty complexType parsing
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 02:12:27 +00:00
bc4dd0ba39
Part 2
...
* simple content header block implementation : TSimpleContentHeaderBlock
* XSD/WSDL generator tests : header, simple content header, collection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:42:54 +00:00
7240986847
part 1
...
wsdl function "result" part is determined now as ( in order and stops when ok ) :
* "result" part
* "return" part
* "_result" part
* "result_" part
* "_return" part
* "return_" part
* the last part
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:46:45 +00:00
7a5a5c150b
Documentation handling in wsdl/xsd editing and parsing :
...
+ main windows of the Type Library Editor now has, for the select item, a document view, xsd view and a dependencies view
+ each type edit dialog now has, for the select item, a document view, xsd view and a dependencies view
+ the interface file generator is able to generate the xsd documentation as comments in the Object Pascal source code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 18:19:00 +00:00
639bde5376
+Object Collection support
...
All WST custom attributes are now namespace qualified
Correct XDS generator for complex type extending simple type
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-01 21:38:55 +00:00
a2c31b16a1
Handling of an enumeration with an empty item ( reported by Michael Van Canneyt )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:06:00 +00:00
aa9c003b61
Allow customization of namespace alias
...
Properties's extended metadata
Add Option to not generate embedded arrays
code cleaning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:59:24 +00:00
4ac8b874cf
json serialization : client & server
...
base64 encoded support + tests
new tests for schema parsers : complex type extending simple type
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-12-29 00:58:19 +00:00
dc2b1b55c0
xsd generator
...
wsdl generator
xsd & wsdl parser test : embedded record
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-16 00:31:45 +00:00
e7786c75b4
xsd parser tests suite :
...
- array test
- record test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-10 22:19:20 +00:00
1c633e091d
wsdl2pas_imp.pas has been reorganized :
...
- xsd_parser.pas XML schema parser
- wsdl_parser.pas WSDL parser ( uses xsd_parser to parse type definitions )
ws_helper now supports XML Schema ( .XSD files ) parsing.
test cases for XSD and WSDL parsers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-09 22:30:50 +00:00