Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for tests/schema.test

2023-01-28
01:39
Adapting to Tcl 9: Reduce the fall-out of TIP 595. file: [bc98d97f92] check-in: [258cbe5a24] user: rolf branch: trunk, size: 281995
2023-01-12
23:38
wip file: [b93be3383c] check-in: [2b475b45e1] user: rolf branch: startpattern, size: 287437
2022-09-15
10:48
Starts to work. file: [a81c53d1b3] check-in: [b580c20330] user: rolf branch: startpattern, size: 282707
2022-08-02
22:10
Added error reporting for and recovering from jsontype structure constraints. Improved the error reporting for dom postvalidation without reportcmd. file: [3d0a4160e0] check-in: [fd44f8cac2] user: rolf branch: jsonType, size: 281995
2022-08-01
16:56
wip file: [146b17dacb] check-in: [5515d71d3e] user: rolf branch: jsonType, size: 282066
2022-07-30
13:52
wip file: [9571a59d1d] check-in: [8323a8c0fb] user: rolf branch: jsonType, size: 282038
2022-07-29
23:51
More work on structure constraint jsontype. file: [1e0b184e35] check-in: [9c5ec7ed6e] user: rolf branch: jsonType, size: 281940
22:12
Added structure constraint command jsontype. Useful error reporting and recovering to be done. file: [466bd31510] check-in: [2402dbf858] user: rolf branch: jsonType, size: 280902
01:35
Save work. file: [591799b7e8] check-in: [ebd5f12335] user: rolf branch: jsonType, size: 279702
01:00
Another test. file: [314c2e18a1] check-in: [50d9de08be] user: rolf branch: jsonType, size: 279692
2022-07-28
23:57
Added text constraint command jsontype. file: [f3b182682e] check-in: [b53a83bd51] user: rolf branch: jsonType, size: 278990
2022-07-27
14:24
More tests wrt tdom used in child interpeter. file: [faabcf3dca] check-in: [2d6516b7be] user: rolf branch: trunk, size: 278036
00:27
Fixed test file and test. file: [e7ba905a88] check-in: [87afecf83d] user: rolf branch: trunk, size: 277165
00:21
Fix of the switch to assoc. Tests for the fix and the inital problem. file: [9c7b454af3] check-in: [3d638bb6d0] user: rolf branch: trunk, size: 277132
2022-06-21
00:45
Made test suite work with 8.4. file: [6a88819516] check-in: [4e8c1eb9ec] user: rolf branch: prepare-release, size: 276489
2022-05-10
23:52
Improve any option handling. file: [4f226062e8] check-in: [2b5a2c2551] user: rolf branch: any, size: 276421
2022-05-08
00:48
Added any -not. file: [807fdf7ad3] check-in: [9327bf3b09] user: rolf branch: any, size: 274386
2022-05-05
21:54
Now the empty namesapce (meaning elements without namespace) may be belong the namespaces list argument. file: [1debf3a80a] check-in: [4002ad13df] user: rolf branch: any, size: 272864
2022-03-18
23:49
For validate/validatefile/validatechannel: Leave the error variable alone, if there is no validation error. file: [f67e9dd121] check-in: [6c4c180008] user: rolf branch: validateExtRef, size: 270306
20:29
Removed debuging output. file: [7d6bcff3b8] check-in: [9e9ec62333] user: rolf branch: validateExtRef, size: 270300
02:06
Put it all together. file: [af4f0556fa] check-in: [3ba3600cb4] user: rolf branch: validateExtRef, size: 270319
2022-03-11
02:08
Enhance validate cmd validation methods (validate, validatefile, validatechannel) with parsing of external entities. file: [534583a331] check-in: [e88eea9cad] user: rolf branch: validateExtRef, size: 269490
2022-03-05
02:00
Implemented the text constraint commands byte, short, int and long, along the xsd counterparts. file: [bde30fb3d6] check-in: [50f8aea224] user: rolf branch: trunk, size: 269489
2022-02-04
19:58
Made feature check test constraints work with 9.0. file: [3e31278b6e] check-in: [5543e699e6] user: rolf branch: trunk, size: 268449
2022-01-27
13:37
Fixed memory leak in case of dom parsing w/ a -validateCmd which is in use. file: [c799c81257] check-in: [436f9b8957] user: rolf branch: trunk, size: 268447
2021-10-18
22:22
Enhanced schema definition cleanup in case of script error withing a definition script. file: [41fc1601c9] check-in: [584c009ce7] user: rolf branch: wip, size: 268202
2021-10-16
15:59
Debuging. file: [089ad8a26a] check-in: [1cc3580646] user: rolf branch: wip, size: 267654
2021-10-14
23:46
More work. file: [c626456feb] check-in: [54db4d064f] user: rolf branch: newtypes, size: 266854
2021-08-14
00:11
Added a test- file: [fdc9b35468] check-in: [4377788fa8] user: rolf branch: trunk, size: 265648
2021-04-28
23:35
Allow forward references to text types. file: [f3e2986925] check-in: [e4fcea86e8] user: rolf branch: trunk, size: 265151
2021-03-20
03:23
Moved the Tcl flavour of double (Tcl_GetDouble()) from number to the new double command. Renamed the number command to decimal (which it is, the xsd style of decimal). file: [7d78820593] check-in: [3fa6fdc5e0] user: rolf branch: decimal, size: 264850
2021-03-19
02:13
Implementend text constaint command double (according to xsd rules). file: [81693d2fda] check-in: [8a666f99cd] user: rolf branch: decimal, size: 264842
2021-02-19
02:50
Simplified validateDOM(), yet enabled dom validation for successive text nodes, as with JSON data. By default tDOM parses XML into "normalized" DOM trees and if there are nevertheless successive text nodes then there is already the normalize method. file: [9eb7ee33f8] check-in: [02d5084745] user: rolf branch: trunk, size: 264201
2021-02-03
22:53
Added a way to express "at least n times and then unbound" in tdom schemas. file: [34ffcd0d74] check-in: [049f31fab5] user: rolf branch: trunk, size: 262743
2021-02-01
23:58
Fixed segmentation fault in the error handling code of the schema text constraint command "type". file: [fecacee71d] check-in: [afd73d0e7f] user: rolf branch: trunk, size: 261500
2020-11-14
02:38
Added text constaint command type. file: [340424ee7f] check-in: [e3086ac247] user: rolf branch: trunk, size: 261147
2020-08-21
01:35
Fixed test. file: [63c4108515] check-in: [d5631d3f19] user: rolf branch: trunk, size: 260596
00:53
Merged proofreding work into. file: [810ef29b1f] check-in: [ee5267cf88] user: rolf branch: schema, size: 260596
2020-08-20
21:54
More tweaks for 8.4 build. file: [cc0fd7a183] check-in: [615b2efb88] user: rolf branch: 8.4, size: 260080
00:25
Save work. file: [913ff99b87] check-in: [876b0756ee] user: rolf branch: 8.4, size: 259841
2020-08-18
21:38
More doc work. file: [2f869b7138] check-in: [d61a2cc3e3] user: rolf branch: docwork, size: 259772
19:28
More tests. file: [8d98c4e6bd] check-in: [978a7a5497] user: rolf branch: schema, size: 259614
2020-08-16
00:49
Added some tests. file: [92008954b2] check-in: [c6759d807b] user: rolf branch: schema, size: 259256
2020-08-14
01:05
Mostly sorted it out. file: [7baf440e35] check-in: [3e242dbc28] user: rolf branch: wsrelevance, size: 257022
2020-08-12
21:24
Merged from schema. file: [9627cf6196] check-in: [48e9388c60] user: rolf branch: wsrelevance, size: 256797
21:22
Improved argument check of the schema constraint command text. file: [8d5ac6290c] check-in: [cb52548fdc] user: rolf branch: schema, size: 255984
2020-08-09
20:27
Save work. file: [432fb75304] check-in: [a7705adfd1] user: rolf branch: wsrelevance, size: 256530
2020-08-02
23:37
Added test. file: [891232599f] check-in: [fc793568d2] user: rolf branch: schema, size: 255717
2020-08-01
23:33
Added text constraint command length. file: [61094539cf] check-in: [cc382337fc] user: rolf branch: schema, size: 255179
2020-07-31
10:59
Minor documentation and test suite work. file: [04c9f4214a] check-in: [a14c1bb515] user: rolf branch: schema, size: 254111
2020-07-30
13:16
Respect "ignore" return value from recover script in case of END_EVENT, enabling to get further recover calls for other missing mandantory content particle of the current content model. file: [f323490acf] check-in: [42c54de7e7] user: rolf branch: wip, size: 252914
2020-07-11
14:18
Merged from schema. file: [cc439b2924] check-in: [3416d9f172] user: rolf branch: wip, size: 252433
2020-07-09
01:16
Added the text constraint command duration. file: [0476e61803] check-in: [45a05b0b4f] user: rolf branch: schema, size: 249400
2020-07-08
22:50
Improved exposing of type checks: Common usable tdom text checks are now in tdom::text (fixing the overload of ObjCmd implementation). file: [73bfe2b078] check-in: [f6e9fea0d0] user: rolf branch: schema, size: 248876
19:40
Added the text constraint command time. file: [4962f02ee4] check-in: [22e9577afc] user: rolf branch: schema, size: 247736
17:48
Renamed the text constraint command isodate to date. Added the text constraint command datetime. file: [1633e4d42f] check-in: [d9aebfa7ce] user: rolf branch: schema, size: 246010
2020-07-07
22:16
Fixed isodate text constraint implementation, extra leading zeros was not detected. file: [3e36c1933e] check-in: [99efb14010] user: rolf branch: schema, size: 243494
2020-07-06
12:45
Added text constraint command not. file: [03b1f603bc] check-in: [eb63441108] user: rolf branch: schema, size: 243439
2020-06-27
00:07
Fixed whitespaceImplReplace - correct mistakenly double test for \n and handle (the semi-hidden, because of the end-of-line handling by the parser) \r also. More tests. file: [78150223cc] check-in: [2e024420ae] user: rolf branch: xsdwhitespace, size: 242855
2020-06-22
00:38
Mostly implemented. file: [8a2dfdb031] check-in: [3b1eb55264] user: rolf branch: xsdwhitespace, size: 241178
2020-05-30
01:38
Scripted XPath functions now also work in domunique/domxpathboolean XPath expression arguments. file: [e87a4f09b2] check-in: [6c38650608] user: rolf branch: schema, size: 238990
01:04
Scripted XPath functions in domunique/domxpathboolean XPath expression crashes. file: [ea80a27f66] check-in: [ad809ed898] user: rolf branch: schema, size: 238810
2020-05-27
00:34
Integrated bug fix branch: Handling of not per quantifier but per all childs optional content particle. file: [c23b654451] check-in: [32945e114c] user: rolf branch: schema, size: 237895
00:20
For a domunique constraint now the key value of an empty fieldset node set result can be given. file: [d4e2776500] check-in: [426dea4ca8] user: rolf branch: schema, size: 236892
2020-05-17
01:09
Fixed element end event in case of a complex content one child of interleave which isn't optional by quant but is because all of its constituents are optional. file: [024266e5a1] check-in: [4369e1130b] user: rolf branch: tmp, size: 237308
2020-05-15
01:34
Fixed element start event in case of a complex content as child of interleave which isn't optional by quant but is because all of its constituents are optional. file: [229152dd27] check-in: [748fb8a432] user: rolf branch: schema, size: 236305
2020-05-14
23:12
There is still a bit work left to do in checkElementEnd. file: [3afc62d52e] check-in: [9f3926e748] user: rolf branch: schema, size: 234780
2020-05-11
00:27
There is still a bit work left to do in checkElementEnd. file: [199a711c24] check-in: [7f5d9b26db] user: rolf branch: wip, size: 237811
2020-05-02
00:51
Merged from schema. file: [353d536aed] check-in: [c3fc68e0e2] user: rolf branch: wip, size: 237090
2020-04-29
18:15
Merged from schema. file: [3f28e58711] check-in: [2da09eb05d] user: rolf branch: expected-onlymandatory, size: 234059
18:14
Renamed the command/method deftext to deftexttype. Made it actually work als top level command inside a define script. file: [cba11ec7f7] check-in: [bbe36354cb] user: rolf branch: schema, size: 230013
2020-04-25
14:21
Still wip. file: [34d4848684] check-in: [0f20b486ae] user: rolf branch: expected-onlymandatory, size: 230717
2020-04-23
10:26
wip file: [5995be5dcf] check-in: [56cdc2e142] user: rolf branch: expected-onlymandatory, size: 230139
2020-04-21
16:55
wip file: [8d4bb31a96] check-in: [5e6e76a283] user: rolf branch: expected-onlymandatory, size: 229579
2020-04-19
15:43
Save work. file: [9a233dbe3a] check-in: [9246e6fbb1] user: rolf branch: expected-onlymandatory, size: 229081
2020-04-02
16:15
wip file: [635a72630a] check-in: [90051235fd] user: rolf branch: wip, size: 229702
2020-03-30
00:44
wip file: [550f3d2828] check-in: [cc99b6f628] user: rolf branch: wip, size: 229283
2020-03-29
14:26
Save work before correction of commit mistake. file: [5b1978d23e] check-in: [a6ac66f068] user: rolf branch: wip, size: 227982
2020-03-28
02:13
Added a test. file: [1c3467814d] check-in: [6f1e34131e] user: rolf branch: wip, size: 227270
01:28
Fixed info definedElements and info definedElementtypes. Added info definedPatterns and info patterndefinition. file: [1b96d43d86] check-in: [1711ee96ee] user: rolf branch: wip, size: 226671
2020-03-27
00:42
Save work. file: [6bab87c4c6] check-in: [3b5fdf0979] user: rolf branch: wip, size: 223228
2020-03-25
20:17
Save work. file: [9b72e94ac4] check-in: [0e666eae10] user: rolf branch: wip, size: 220848
2020-03-22
02:04
wip file: [c5ea7c28b5] check-in: [16e44b5f70] user: rolf branch: wip, size: 220248
2020-03-20
02:31
Working on more control over recovering for certain events. file: [41af94388e] check-in: [a07b509a44] user: rolf branch: wip, size: 220019
2020-03-19
02:15
Made the default recover behaviour at element end the same as for element start: skip and continue at the sibling of the current subtree. file: [b7a58319b8] check-in: [0037ce9df3] user: rolf branch: wip, size: 218778
01:09
Added a recoverFlags element to the schema data structure and reworked the rewind flag int to be a recoverFlags flag. We will need more of them. file: [c12b558407] check-in: [02d5ffc9b5] user: rolf branch: wip, size: 217748
2020-03-16
00:38
Save work. file: [3f192f8cb8] check-in: [d70281b9c7] user: rolf branch: wip, size: 217636
2020-03-15
01:20
wip file: [9a4df69877] check-in: [899c21f84b] user: rolf branch: wip, size: 216546
2020-03-14
12:05
Merged from schema. file: [ce6d21941f] check-in: [ee3147fc64] user: rolf branch: wip, size: 215196
03:24
Fixed the damn thing. file: [8a426d667a] check-in: [8fb5a0b988] user: rolf branch: wip2, size: 214515
02:49
Merged from schema. file: [61c21eae72] check-in: [4582355609] user: rolf branch: wip2, size: 213791
02:45
Fixed bug in case of missing required attributes w/ reportCmd. file: [2d91e6c99f] check-in: [c24f9bedb3] user: rolf branch: schema, size: 206071
2020-03-13
01:55
wip file: [825942f4d6] check-in: [46d498e323] user: rolf branch: wip2, size: 213370
01:41
wip file: [1112e44efc] check-in: [ce15fc26c0] user: rolf branch: wip2, size: 211631
2020-03-10
22:42
Merged from schema. file: [d7e1f6272a] check-in: [4232e4ea69] user: rolf branch: wip, size: 206331
22:38
Fixed seg fault in error handling of invalid domunique usage. file: [29ca8cb042] check-in: [f552cf0e3e] user: rolf branch: schema, size: 205650
2020-03-09
00:44
wip file: [64fe2f11e1] check-in: [4e24c336db] user: rolf branch: wip, size: 206064
2020-03-06
13:31
More fine tuning of the info domNode method. file: [56a1eecb30] check-in: [63d2a7101f] user: rolf branch: schema, size: 205383
2020-03-05
15:16
Finalized attribute lookup preparation. Fixed a few attribute error reporting bugs. Code gardening (spell fixes in var/function names). Attribute validation could or should revisited for even better optimization, but what's there will do it for now. file: [ac3243520c] check-in: [d73064e901] user: rolf branch: attributeLookupPrepare, size: 202854
2020-03-03
22:00
Added a test. file: [a7a75fe6f8] check-in: [b9dfbb4aa1] user: rolf branch: schema, size: 195139
2020-02-27
16:53
Changed the "tcl" schema constraint command: it just evaluates the given arguments without appending the schema command to the argument list. Added new "self" schema constraint command, which returns the schema command. file: [0ae98d9716] check-in: [7ecc6a8e29] user: rolf branch: schema, size: 194665
2020-02-26
23:53
Save work. file: [01ff2a037a] check-in: [5b16be2c89] user: rolf branch: recover-doc-wip, size: 194572
01:31
Merged from schema. file: [0e15478527] check-in: [4895c780de] user: rolf branch: recover-doc-wip, size: 193516
2020-02-25
23:19
Check the postvalidation only contraints in definition order. Added the postvalidation only constraint command domxpathboolean. file: [d674496eea] check-in: [d331071bcf] user: rolf branch: schema, size: 192547
00:35
Provided more info in case of recovering from domunique validation failure. file: [3ee8ef11e4] check-in: [84b2ee3884] user: rolf branch: schema, size: 187181
2020-02-21
12:46
Fixed error recovering in case of UNEXPECTED_ELEMENT. file: [3e1a006a34] check-in: [537243ab49] user: rolf branch: schema, size: 186415
2020-02-13
01:19
Fixed internal clean up after error in a content definition script with local defined elements. file: [5c1ab0c873] check-in: [8d564a17c0] user: rolf branch: schema, size: 185124
2020-02-12
00:39
Code gardening. file: [f078315b4d] check-in: [e7f010f104] user: rolf branch: schema, size: 184691
2020-02-11
20:02
Enforce that only an element defined by defelement can be document element of the xml to validate. Added documentation for the content definition command "elementtype". file: [547e9f5ffd] check-in: [f84ee35226] user: rolf branch: schema, size: 184755
16:28
Better handling of validation command using SAX parser in partial parsing mode (-final 0). file: [3b7c3ecb96] check-in: [266d76531f] user: rolf branch: schema, size: 183330
2020-02-10
22:38
Added a few tests. file: [82d727a3b6] check-in: [d1c94a212f] user: rolf branch: schema, size: 181361
2020-02-06
23:41
Code fix. file: [89b38f47c8] check-in: [106ae257a7] user: rolf branch: schema, size: 180227
2020-02-04
01:11
Fasten work. file: [126c3e58ef] check-in: [121b7f42ad] user: rolf branch: schema, size: 179313
2020-01-25
14:43
Save work. file: [8668b7c3fa] check-in: [7a6bb5d975] user: rolf branch: recover-doc-wip, size: 179467
2020-01-21
00:54
Added method info stack associate to request data associated with the associate definition script command. file: [91d2b4a1e5] check-in: [b2ca5788d4] user: rolf branch: associate, size: 178616
2020-01-18
01:32
Save work. file: [927e1e6bdd] check-in: [8b206fdd93] user: rolf branch: linkvar, size: 178056
2020-01-05
01:14
Added subcommand definedElementtypes to the schema command method info, returning the list of all defined element types. file: [cb0045ccbe] check-in: [f3cb326ad5] user: rolf branch: schema, size: 177465
00:15
Added schema command subcommand method info typedefinition to query defelementtype definition details. file: [1ce03a39cf] check-in: [81cd49d4ec] user: rolf branch: schema, size: 177049
2020-01-02
02:19
Added schema command validatechannel, which reads the data stream to validate from a tcl channel. file: [538bb1db11] check-in: [c5bd39ed92] user: rolf branch: schema, size: 176710
2019-12-31
02:05
Added test for validatefile. file: [a58d7c8f3b] check-in: [747de9fb71] user: rolf branch: validatefile, size: 176340
2019-12-28
01:03
Fixed problems with cleanup after errors in definition scripts. file: [221ac70f0a] check-in: [f08e4b9cb1] user: rolf branch: elementtype, size: 175969
2019-12-26
01:53
Save work. file: [629e0af854] check-in: [3fe6e4e349] user: rolf branch: elementtype, size: 174570
2019-12-24
02:01
Fixed the test suite wrt to the last commit. Further work on elementtype. file: [62ef0a1121] check-in: [a17f75fc27] user: rolf branch: schema, size: 172544
01:40
The "define type of thing" schema definition commands can't be used nested and raise error now if used so. file: [ed4e7d0909] check-in: [14ae7cd431] user: rolf branch: schema, size: 172466
2019-12-23
23:59
Document current behaviour itr. file: [4adf74cad3] check-in: [4474960598] user: rolf branch: schema, size: 172319
2019-12-14
01:53
Checked all uses of sdata->stack for if it in fact is given that this isn't NULL. file: [c325a0d864] check-in: [8b67a5eb7e] user: rolf branch: schema, size: 171611
2019-12-11
23:06
Fixed seg fault in case of UNKNOWN_ROOT_ELEMENT and reportCmd is set. file: [dafe5fb562] check-in: [3a3f58154d] user: rolf branch: schema, size: 171295
2019-12-07
01:59
Added the text constraint command setvar, which expects the name of a tcl var as argument and set this variable to the text to validate. file: [c39881a024] check-in: [366ed3d250] user: rolf branch: schema, size: 170747
2019-12-05
10:11
Exposed text constraint command isodate to be usable outside schema validation context. file: [ab35049503] check-in: [8b2322acee] user: rolf branch: schema, size: 170042
00:23
Simplified text constraint commands sekeleton. file: [14307197ab] check-in: [5430bf6f10] user: rolf branch: schema, size: 168853
2019-11-30
00:07
Implemented the text constraint commands unsignedByte, unsignedShort, unsignedInt and unsignedLong, along the xsd counterparts. file: [a3f1bb0a9d] check-in: [051ae451a2] user: rolf branch: schema, size: 168022
2019-11-29
16:42
Added text constraint command hexBinary (similar to the xsd type hexBinary). file: [b855bd18fb] check-in: [ea199fedb7] user: rolf branch: schema, size: 164366
00:29
Added the xsd data types negativeInteger, nonNegativeInteger, nonPositiveInteger and positiveInteger. file: [504f59d957] check-in: [d3fc207059] user: rolf branch: schema, size: 163807
2019-11-22
23:54
Added validation of the included tmml xml documentation against the included tmml.schema as test. file: [431ed3491e] check-in: [2bee8a3462] user: rolf branch: schema, size: 158205
2019-11-18
22:42
Removed slipped throu debuging instrumentalization. file: [79013a42c1] check-in: [22b17ef648] user: rolf branch: schema, size: 157535
22:37
The attribute und nsattribute commands are only supported toplevel in the definition scripts of the defelement method and the element command. file: [2c8dbeda9f] check-in: [b3b2ce77f0] user: rolf branch: schema, size: 157563
2019-11-15
10:22
Moved schema command method nrForwardDefinitions as subcommand to info; it belongs more there. file: [0b2098a7ad] check-in: [05086c2182] user: rolf branch: schema, size: 157108
09:30
Prevent call of the recovery report command in case of probed optional not matching pattern. Added recovery in a so far not handled case. file: [4c5a3afade] check-in: [1ceabd63a5] user: rolf branch: schema, size: 157068
2019-11-14
14:09
Added optional time zone check to text constraint isodate, making it fully xsd:date compliant. file: [74d08e35c6] check-in: [7cf1968eb3] user: rolf branch: schema, size: 156150
12:58
Added more documentation. file: [61a9122d26] check-in: [78462d5d87] user: rolf branch: schema, size: 155522
2019-11-13
17:02
Added info line and info column to retrieve parsing position information. Made the interfaces for position information using a long for this. Tried to prevent concurrent use of a schema command - a schema command may be busy. Added book-keeping code to prevent seg fault, if a schema command is configured as validation command for a SAX parser or DOM building and the schema command is deleted on the way at script level. file: [b59630df58] check-in: [d3e7475b85] user: rolf branch: wip, size: 155274
2019-11-09
00:54
Plugged obscure mem leak. file: [8fd21e5d82] check-in: [8b0f0e9ecc] user: rolf branch: schema, size: 152919
2019-11-06
20:48
Minor additions. file: [5e6a5ffbb4] check-in: [f5f54ce49b] user: rolf branch: schema, size: 152319
2019-11-05
22:16
Another attempt to get info expected right. file: [8c24be64ea] check-in: [03f4151498] user: rolf branch: schema, size: 151979
2019-11-04
17:47
Fixes: Don't try to check attributes if in skip mode - it doesn't make sense to check attributes of an unknown element. Don't fumble with activeChild before calling out to virual matches. Report also element end as possible event (if that is possible, of course) for info expected. file: [1538ae62ce] check-in: [65eff1573f] user: rolf branch: wip, size: 148508
00:24
Save work. file: [846d66b28f] check-in: [d2f12cc8d4] user: rolf branch: wip, size: 147711
2019-11-02
01:29
The SchemaValidationStack struct element activeChild (which turned into a misnomer by the last moves) - together with the hasMatched element - now gives the position of the last matched content particle (was the child to start look at for the next event). file: [42ba3d4389] check-in: [e795f2b9f0] user: rolf branch: wip, size: 147807
2019-10-31
14:12
Work on validation error recovery continues. Since there seems to be no silver bullet, this throws code sprinkled all over the code to make some progress. file: [8a886a2754] check-in: [70f5d362f7] user: rolf branch: wip, size: 147829
2019-10-28
00:33
Added a test. file: [8276a2f373] check-in: [fd510a13be] user: rolf branch: wip, size: 147804
2019-10-26
01:20
Fixed not always poping up of tcl errors in called script during validation. file: [f398e26b5e] check-in: [a43c523416] user: rolf branch: wip, size: 147213
2019-10-25
00:30
INVALID_DOM_KEYCONSTRAINT is really not a validation error but a validation script error (as a TCL_ERROR from a called script. Though, the evalError flag isn't respected anywhere, obviously. file: [bea4215493] check-in: [a77a3f3b23] user: rolf branch: wip, size: 146802
2019-10-24
22:05
Merged from trunk. file: [14b9bf9a7c] check-in: [c416325b0b] user: rolf branch: wip, size: 146263
14:12
Added xsd as new format (and default) to the text constraint command "number". file: [3d526b68ed] check-in: [c2b6dd2267] user: rolf branch: schema, size: 144777
11:13
Further work on the schema command "event" method. file: [e744b0ec70] check-in: [644a84f1b9] user: rolf branch: schema, size: 144081
2019-10-23
09:25
Merged from schema. file: [777ccf597e] check-in: [3c16fd1ab1] user: rolf branch: wip, size: 144475
00:27
Sanitized namespoace handling for 'event start'. Startet attribute input to the 'event start' method. Therefor internal reorganisation, which also makes adding hash tables for larger sets of attribute a bit simpler. file: [3c3674aa9b] check-in: [5f6af15f8d] user: rolf branch: schema, size: 142989
2019-10-19
01:46
Removed old cruft, simplified (a bit) the central data structure; we have a finit, known in advance set of of quents. file: [003f01407e] check-in: [39d74a1df4] user: rolf branch: schema, size: 142679
00:08
Ensure that the script error of a script evaluated by a schema command pops up to global level. file: [cecb42e009] check-in: [a15e6f3d24] user: rolf branch: schema, size: 142157
2019-10-18
23:43
Don't call event on a schem command in any script evaluated from the same schema command. file: [0a4a1a556c] check-in: [d1707acfbf] user: rolf branch: schema, size: 141440
2019-10-17
00:41
Recovery is hard. For several reasons. file: [fc3c17c56b] check-in: [bd90f4a8d4] user: rolf branch: wip, size: 142298
2019-10-12
01:27
Save work. file: [9032e72e60] check-in: [aa6a292606] user: rolf branch: wip, size: 142278
2019-10-11
11:54
Merged from schema. file: [39b72be0b2] check-in: [6165f6c203] user: rolf branch: wip, size: 141403
00:29
Added a few tests to document the behaviour in case of validation against forward defined elements or refs. file: [f83c35683a] check-in: [bb898f3778] user: rolf branch: schema, size: 140812
2019-10-10
01:50
Started info subcommand pastexpected. file: [abbc851622] check-in: [78b0aac051] user: rolf branch: wip, size: 139881
2019-10-09
16:25
Settled for a list of unique possible next content (which special entries for any and text) in unspecific order as result of the nextexpected subcommand of the info method. file: [3b14e58119] check-in: [35c7ad95de] user: rolf branch: wip, size: 139290
2019-10-08
06:22
Fixed content constrain command "any": respect prefix/ns mapping. More work on info nextexpected. file: [a46a945fd8] check-in: [223307a111] user: rolf branch: wip, size: 139212
2019-10-07
09:33
Renamed the info method subcommand frontexpected of the validation commands to the hopefully better name nextexpected. file: [297877e743] check-in: [d889feb189] user: rolf branch: wip, size: 137560
2019-10-06
23:40
Save work. file: [fc273d5ab9] check-in: [b26625af9b] user: rolf branch: wip, size: 137575
2019-10-05
12:32
wip file: [d745d1148a] check-in: [5aac7f85df] user: rolf branch: deviation, size: 136932
2019-10-04
16:13
More correct handling of interleave content particle in validation state introspection. file: [e9d02d889e] check-in: [4c3f653e15] user: rolf branch: wip, size: 136933
2019-10-03
22:39
More work on introspection of validation state. file: [dbfca32664] check-in: [4328236591] user: rolf branch: wip, size: 136134
11:29
Added #text to the possible next events in case of mixed. file: [0d6749d2ed] check-in: [f1a7ec26da] user: rolf branch: wip, size: 134834
02:23
Added another test. file: [910f82db08] check-in: [05cfa07ebf] user: rolf branch: wip, size: 134293
02:18
This returns even something to script level. file: [dc420e493b] check-in: [c8b0062672] user: rolf branch: wip, size: 133757
2019-09-27
00:37
Renamed info defelements into definedElements and factored the implementation out for use in info expected. file: [0f232464bf] check-in: [ec0ddc4465] user: rolf branch: wip, size: 133320
2019-08-25
00:22
wip file: [fa60143465] check-in: [b6f3e3b2b4] user: rolf branch: wip, size: 133308
2019-08-23
17:36
Cleanly close open keyspace constraints even in case of error recovering by skiping the remaining content model of the enclosing element after validation error. Fixed interleave checking (which could miss to complained about missing childs in the interleave content). file: [5b9794163b] check-in: [37403bd128] user: rolf branch: schema, size: 132885
2019-08-22
21:23
Made more info about the validation state available for recover scripts. file: [3bff97ac50] check-in: [2c03ac9cd6] user: rolf branch: wip, size: 128748
2019-08-17
13:54
wip file: [a35f7f6eec] check-in: [0625bcaa4c] user: rolf branch: wip, size: 128685
01:40
wip file: [2e4163346d] check-in: [f8161e258e] user: rolf branch: wip, size: 128581
2019-08-11
01:35
Added xsd like boolean text constraint. file: [3caf840772] check-in: [c24f4e9aeb] user: rolf branch: schema, size: 127732
2019-08-06
23:11
Fixed bug introduced with prefixns: the shortcuts from prefixns are only used for schema definiton; they mean nothing for prefix/namespace in the xml input. file: [a05d50f5a9] check-in: [40671ee8c3] user: rolf branch: schema, size: 125808
2019-07-31
22:17
Hardened isodate. file: [d77efababd] check-in: [4fed50bd75] user: rolf branch: schema, size: 125198
2019-07-23
23:54
Gardening around. Moved generation of all schmea related Tcl commands to tDOM_SchemaInit(). Moved the method 'status' as 'validationstatus' (alias 'vstatus') under the 'info' method and used the opportunity to start to define the schema command method info. file: [e1fd700e7f] check-in: [e5493b6b50] user: rolf branch: schema, size: 125067
2019-06-18
22:18
An example of different 'styles' of a certain type: The 'interger' text constraint now has two interpretation of an integer - what Tcl_GetInt() accept and what a valid xsd:integer is, which is quite different. file: [fa8fb35f0f] check-in: [9a589897fb] user: rolf branch: schema, size: 124934
2019-06-15
01:04
Enhanced the any content command to optionally match only any element in a given namespace. file: [91cdbee98b] check-in: [728f51431a] user: rolf branch: schema, size: 123867
2019-06-05
17:29
Bug fix in case of domuniqe with elements as fields. file: [d5b3942866] check-in: [34e75df5dd] user: rolf branch: schema, size: 123003
2019-05-30
22:38
Added simple keyref feature to keyspaces. file: [ef81f3143b] check-in: [1f7b8a81c1] user: rolf branch: keyspaces, size: 122477
01:02
If recovering from the error "text doesn't match constraint" pretent the text has matched so the not matched required text cp isn't reported again as missing text. file: [707a6890ff] check-in: [39651ce911] user: rolf branch: keyspaces, size: 121581
2019-05-29
12:57
Starts to actually do something. Still some way to go. file: [59e93880d3] check-in: [6eb6891a1e] user: rolf branch: keyspaces, size: 119486
2019-05-22
22:22
Added the XPath step "." as allowed step in restricted schema XPath Expressions. file: [b49c64e441] check-in: [ab18265ee0] user: rolf branch: localkey, size: 121133
2019-05-21
22:37
Merged from schema. file: [4cda3b4ebb] check-in: [72ce7820c1] user: rolf branch: localkey, size: 121124
22:24
Added optional flag argument to domunique. Currently only flag controls, if empty field node sets are ignored (or seen as the empty string). file: [2ad46a0c78] check-in: [6a51d9897b] user: rolf branch: domlocalkey, size: 118383
16:21
Adding DOM tree postvalidation (only) local key constraints along the lines of xsd unqiue with selector and list of fields but with no restrictions on the XPath expressions (other then resulting a node set in case of selector and a result set with one node in case of field XPath expression). file: [9fa88f48a3] check-in: [f645e5dfe1] user: rolf branch: domlocalkey, size: 117692
2019-05-16
22:25
Still working on digest local key constraint specification: Now support union "Path ( '|' Path )*" for selector and fields. Distinct between element and attribute selecting steps because of the distict spaces of the names. file: [8359764f5c] check-in: [69c262ef77] user: rolf branch: localkey, size: 117566
2019-05-15
00:16
Enhanced the unique schema contraint: the fields argument is now expected to be a proper tcl list with their elements as the field XPath expressions. file: [a4f1dfc494] check-in: [abc0715900] user: rolf branch: localkey, size: 117173
2019-05-14
20:04
Merge from schema. file: [616acf183b] check-in: [dc36b35000] user: rolf branch: localkey, size: 116251
20:02
Enhanced the text constraint commands id/idref: Beside the one doc wide ID space there are now additional other named doc wide ID/IDREF spaces possible. Each of them work along the unnamed doc wide ID space. file: [e82a05469c] check-in: [6b550b98f8] user: rolf branch: schema, size: 114825
2019-05-11
01:41
Save work. file: [d3f24e979e] check-in: [3ce85f17a5] user: rolf branch: localkey, size: 114223
2019-05-10
13:41
Merge from schema. file: [d7ac7d5208] check-in: [4bf39f2571] user: rolf branch: localkey, size: 113946
13:40
Fixed bug (invalid mem access) if a virtual constraint will be called under certain circumstances while looking if pcdata matches. file: [96713fe8cd] check-in: [4cc96fcd33] user: rolf branch: schema, size: 112797
13:05
Merged from schema. file: [adfa72cfb1] check-in: [db1bcdb342] user: rolf branch: localkey, size: 113357
13:04
Futher work on prefixns: allow it als top level command in define script. Changed semantic to first prefix/namespace mapping in prefixUriList wins, if there are several prefixes mapping to different namespaces. file: [fa65aea894] check-in: [a70c1d6c6e] user: rolf branch: schema, size: 112208
00:40
Merge from schema. file: [0d25937230] check-in: [508a776b44] user: rolf branch: localkey, size: 106368
00:36
Added method prefixns to schema cmds. This allows to point to namespace URIs by shortcuts or prefixes. file: [6251b39e39] check-in: [74a399d84f] user: rolf branch: schema, size: 105219
2019-05-09
19:16
Merged from schema. file: [0af16873dc] check-in: [4879bb492b] user: rolf branch: localkey, size: 102384
18:34
Test added. file: [d3dc5d5e1f] check-in: [968b411fd1] user: rolf branch: schema, size: 101235
14:27
wip file: [3f67aa4001] check-in: [b0e429ebf8] user: rolf branch: localkey, size: 101514
2019-05-07
22:52
Implementend restricted XPath expressions for local key selectors and fields. file: [c421a6283f] check-in: [918781e945] user: rolf branch: localkey, size: 101498
2019-05-06
23:18
Added text constrain cmd base64. file: [86593a852c] check-in: [68cd47d57c] user: rolf branch: schema, size: 100901
2019-05-04
12:35
Started work on subtree local unique/key/keyref. file: [b08c421bf0] check-in: [97b292828f] user: rolf branch: localkey, size: 101410
2019-05-02
16:53
Added text constraint commands id and idref. file: [cf76f6126d] check-in: [a886296dc3] user: rolf branch: schema, size: 100365
12:11
Done. file: [265366af43] check-in: [9a631db368] user: rolf branch: wip, size: 98396
2019-05-01
23:55
wip file: [67562a139f] check-in: [a155f2862c] user: rolf branch: wip, size: 97475
14:56
wip file: [7bd58628c4] check-in: [a858a6ac77] user: rolf branch: wip, size: 96681
2019-04-27
00:38
Added text constraint command strip which tests all text constraints in the evaluated argument with the text to test striped of all white space at start and end. file: [e86ac1c2ec] check-in: [b6738cb9c3] user: rolf branch: schema, size: 94916
2019-04-19
15:57
Still work on validation error recovering. file: [33880ab8f5] check-in: [a00292f6a2] user: rolf branch: wip, size: 94288
2019-04-16
23:28
Still work on validation error recovering. file: [352543bc38] check-in: [e1eaa5909b] user: rolf branch: wip, size: 94312
2019-04-15
23:20
More work on validation error recovering. file: [0b02c9b0db] check-in: [a5c155ee31] user: rolf branch: wip, size: 93974
2019-03-30
01:31
More gardening towards reportcmd. file: [86346e4c68] check-in: [7319d6926f] user: rolf branch: wip, size: 93976
2019-03-29
00:35
wip file: [c138dba982] check-in: [1f800e1c4b] user: rolf branch: wip, size: 94235
2019-03-23
15:20
Wip (not well working inbetween state). file: [b680c92f3b] check-in: [0da31f4fcb] user: rolf branch: wip, size: 94188
2019-03-20
16:00
Still wip. file: [db3ed88fb7] check-in: [3bf5b1e10d] user: rolf branch: wip, size: 92757
2019-03-09
15:09
wip file: [e1bab88320] check-in: [bfa5b4bab7] user: rolf branch: wip, size: 92382
2019-03-07
13:42
(This and the previous commit on this branch:) Changed the calling convention of the virtual contraints: Append the schema command name to the args given and evaluate that. Whatever data the virtual contraint need has to be requested inside the called script (most probably by the new [<schemacmd> info ...] method, which has to be enhanced over time to provide the information that may needed in practice by this. Added code to ensure a Tcl error in evaluated virtual event does pop up in the result of the schema command call. file: [f97801fb17] check-in: [71d80fea6e] user: rolf branch: virtualConstraints, size: 91980
00:05
Merged from schema. file: [6d1162dcf6] check-in: [f189f4695e] user: rolf branch: virtualConstraints, size: 91366
2019-03-06
13:34
More hardening and clarification of using a schema cmd inside one of the script arguments evaluated by itself. file: [55911ad220] check-in: [4cefb1db19] user: rolf branch: schema, size: 90325
2019-03-04
12:37
Hardened schema cmds againts deleting the command in one of its call out to Tcl by postponing the clientData cleanup until the outmost Tcl_Eval*() call has finished. file: [6cfbe10265] check-in: [2774ed6a5a] user: rolf branch: schema, size: 88149
2019-03-01
11:58
Added a -nocase flag to the text constraint command match (because it was easy). Small modification to the text constraint command isodate. It now accept years longer that four digits (as the xsd date types do). Added some more documentation. file: [e0fd40ba61] check-in: [fa18fb363f] user: rolf branch: schema, size: 87896
2019-02-28
01:31
Added attribute value constraining with text types. file: [a1d6403d02] check-in: [44ebaf2b3f] user: rolf branch: schema, size: 87326
2019-02-22
01:35
Renamed schema obj cmd method query to info and worked at bit on that. Moved all code block defines to one place while adding one. file: [e2131e7015] check-in: [79df08c5d7] user: rolf branch: schema, size: 84034
2019-02-19
23:06
Allow schema definition command "tcl" only inside of sequential content particles. Still uncertain about the interface. file: [d79da8556e] check-in: [23f4f6f626] user: rolf branch: virtualConstraints, size: 84538
01:36
Merged from schema. file: [0d77496d3e] check-in: [7718b1e0ff] user: rolf branch: virtualConstraints, size: 84538
2019-02-17
23:18
More work on text types. Added automatic schema reset after using schema command during dom building or sax event parsing. file: [c51502086f] check-in: [bd8b0eecee] user: rolf branch: schema, size: 83497
2019-02-15
16:57
Make sure that calling another tDOM schema command inside a schema definition script (after all they are just a Tcl script) work. But ensure that calling a schema definition script evaluation inside a currently evaluated schema definition script by the same schema command raises error. file: [935c6a86fd] check-in: [258c031b81] user: rolf branch: schema, size: 83614
2019-02-14
02:39
Added text constraint commands oneOf and allOf. file: [b8ea40cfd2] check-in: [046b4f9866] user: rolf branch: schema, size: 81818
2019-02-11
20:17
Fixed domvalidate in case of namespaced nodes with prefixes in the tree. Improved DTD to schema translater: there isn't a need to wrap a SEQ with default quant into a schema group. file: [ac8f8f07fd] check-in: [d518456e98] user: rolf branch: schema, size: 79984
2019-02-09
17:02
More interleave tests. file: [84f3f56baa] check-in: [ac9a46bd21] user: rolf branch: schema, size: 78461
01:59
Even more work on interleave. file: [84ae91ff35] check-in: [e01081aa22] user: rolf branch: schema, size: 77583
01:45
Merged from schema. file: [29629f28a9] check-in: [48f9a019fa] user: rolf branch: virtualConstraints, size: 75503
01:21
More work on interleave. file: [1015868875] check-in: [4f56efe773] user: rolf branch: schema, size: 74462
2019-02-08
23:48
Fix for domvalidate attribute validation: Ensure error in case the node hasn't any attribute but the schema requires one. file: [7c47c80a62] check-in: [cf3b5c917b] user: rolf branch: schema, size: 68741
16:24
Fixed attribute probing of the domvalidate method. file: [9d7d1dbf9c] check-in: [e381867bf2] user: rolf branch: schema, size: 67688
02:02
Simple interleave implementation. Wip. file: [d07aa3a349] check-in: [73774a8105] user: rolf branch: schema, size: 67172
2019-02-07
22:17
Improved the text constraint isodate. It now expects (-?)yyyy-mm-dd and checks (all) dates by gregorian rules. file: [03029595da] check-in: [d57cf5a680] user: rolf branch: schema, size: 64926
11:48
Merged from schema. file: [a5c466fc68] check-in: [cb3f5356f1] user: rolf branch: virtualConstraints, size: 65806
01:31
Tests for more than one text constraint and text matching one of several constraints. file: [9d93a57037] check-in: [a5d267e065] user: rolf branch: schema, size: 64765
2019-02-02
23:25
Implemented text constraint commands maxLength and minLength. file: [41dd6f41eb] check-in: [d75968f01b] user: rolf branch: schema, size: 63295
02:37
merged from schema file: [c6d763fd3a] check-in: [8e3407e478] user: rolf branch: virtualConstraints, size: 63055
02:32
Renamed text constraint isint to integer. Added text constrains number and boolean and a provisorial isodate. file: [d6000a7043] check-in: [5c4f01dc2a] user: rolf branch: schema, size: 62014
00:25
Fixed argument check of [<schemacmd> start]. file: [72086fe785] check-in: [247e679fa9] user: rolf branch: schema, size: 60790
2019-01-30
21:46
wip file: [29925d9277] check-in: [9c4cbac6d5] user: rolf branch: wip, size: 61198
2019-01-29
09:01
Fixed implementation of constraint cmd tcl; added minimal tests. file: [37e57944c2] check-in: [cd88943e2d] user: rolf branch: wip, size: 61013
2019-01-25
16:50
Implemented text constraint commands nmtoken and nmtokens. Useful mostly for DTD to tDOM schema translation. The commands skip leading and following space characters and see sequences of space characters as one space. In other words: they apply the rules of what the XML rec calls attribute value normalization (which the XML parser would do, if he would knew the type of the value) on the value to check (although this normalization is done no matter if the text constraint command is used for an attribute value or pcdata between tags). file: [346e328698] check-in: [a79cc50455] user: rolf branch: schema, size: 60158
02:31
Reworked check for element end into 3-way logic. file: [f03f92ded4] check-in: [c30fa32733] user: rolf branch: schema, size: 59183
2019-01-24
22:46
Handle mixed/choice cp amongst the children (choices) of a mixed/choice cp. file: [1c5c23deb4] check-in: [c69a4c0ab4] user: rolf branch: schema, size: 58604
13:28
Added a few tests more. file: [c6c311d3fd] check-in: [c98407553d] user: rolf branch: schema, size: 55708
01:06
More work to get quantified choices right. Finally reverted to 3-way logic for probing a match. file: [caf50f542b] check-in: [5188c49af6] user: rolf branch: wip, size: 53806
2019-01-21
15:57
wip file: [2d3541461a] check-in: [d85da14d6e] user: rolf branch: wip, size: 53496
00:46
wip file: [b4941efab8] check-in: [3851efb4ac] user: rolf branch: wip, size: 50267
2019-01-19
13:24
wip file: [54f6b2da4c] check-in: [c79509ea95] user: rolf branch: wip, size: 50261
2019-01-17
22:52
Reduced the internal used quants to ! ? * +. Only name and pattern (and groups, which are only anonymous pattern) cps are pushed onto the stack. file: [d4ddd84229] check-in: [98ba54b83e] user: rolf branch: schema, size: 49578
03:44
Still a lot to do but looks good, nifty, better to maintain. file: [e7db073f7b] check-in: [cb623d6ce9] user: rolf branch: wip, size: 49652
2019-01-16
01:30
Digression: Reduce complexity of the validation core by eliminating STRUCTURE_CQUANT_NM for the process of validation. Ahem, what? {n m} quants are enrolled into n STRUCTURE_CQUANT_ONE child cp plus m-n STRUCTURE_CQUANT_OPT child cp. file: [9917756d67] check-in: [da6f9ed382] user: rolf branch: wip, size: 49698
2019-01-14
23:19
Editorial fix. file: [0b0f6e73e2] check-in: [0e887ba0b9] user: rolf branch: schema, size: 49588
2019-01-13
02:39
Renamed the lately introduced text constraint command pattern to match. The match command does shell style matching and the xsd facet pattern does regular expression matching and that could be confusing. Added new text constraint command regexp, for regular expression matching. Also not named pattern because the xsd pattern regexp rules differs in major points from the for the implementation used Tcl regexp (most important difference is maybe that xsd pattern automatically anchors at string start/end (without explict ^$)). file: [892a5c1884] check-in: [786dd36028] user: rolf branch: schema, size: 49601
2019-01-12
03:28
Implementend the text constraint script command "pattern" (a glob style matcher). file: [d361624bb0] check-in: [d7ce604f85] user: rolf branch: schema, size: 49062
02:55
Validation of namespaced attributes now works additional to dom pastvalidation also with [<schemacmd> validate $xml]. The same for SAX parsers (xml::parser) should be low hanging fruit on this work. More focus on mixed content. file: [7cccb60a82] check-in: [dc78a9ca7d] user: rolf branch: schema, size: 48502
2019-01-11
14:56
Fixed horrible mistake in patternList handling. file: [3100e2c609] check-in: [7e1c8cf210] user: rolf branch: schema, size: 46958
12:14
Implementend the text constraint script command "enumeration". file: [d42ba9af3c] check-in: [8e073699eb] user: rolf branch: schema, size: 46625
11:26
Implementend the text constraint script command "fixed". file: [0c0703c1ee] check-in: [e2dbca3baa] user: rolf branch: schema, size: 45900
01:02
Enabled validate constraints on attribute values. file: [1834d25cf3] check-in: [0e11568b4c] user: rolf branch: schema, size: 45201
2019-01-10
22:24
Implementend the text constraint script command "tcl", calling a Tcl script with the text to validate appended; the result of the script is used as boolean. Which basically solves any text validation problem. file: [432f6c2c72] check-in: [1c5ebc685d] user: rolf branch: schema, size: 44632
02:08
Steps towards data typing. file: [f0c1dd6d81] check-in: [5407acfd0f] user: rolf branch: schema, size: 43888
2019-01-09
15:43
Fixed the schema definition script command "namespace". file: [434bac2d2d] check-in: [beba040b25] user: rolf branch: schema, size: 43503
14:09
Fixed the configure switch added with the previous check-in. And a few editorial changes. file: [56c4b3c1bc] check-in: [fef7ebf150] user: rolf branch: schema, size: 41591
00:47
Enable validation features by default (with easy configure disable switch). file: [db9a36b306] check-in: [589a5b2a86] user: rolf branch: schema, size: 41557
2019-01-08
23:25
Added domvalidate. file: [9e83a83292] check-in: [e2a53e2d60] user: rolf branch: schema, size: 40803
07:33
Fixed tdom::schema argument handling. file: [c190d9ee63] check-in: [31241ee4e7] user: rolf branch: schema, size: 38912
01:28
wip on domvalidate and elsewhere. file: [a47844c0fc] check-in: [d35774d0cf] user: rolf branch: schema, size: 38912
00:38
Working towards dom doc/tree validation. file: [8e8a1d466d] check-in: [65778581a3] user: rolf branch: schema, size: 38207
2019-01-07
16:15
(This and the previous 2 wip commits:) Fixed mem-leak in schemaReset(). Attribute validation: More work and fixes. <schemacmd validate> and xml::parser SAX parser now check non-namespaced attributes and detect unknown attributes and missing required attributes (namespaced and non-namespaced). Verifying namespaced attributes for this parsers tbd. [dom parse -validateCmd] now fully checks schema attribute constrains (non-namespaced and namespaced). This is at the same time a major step towards post-validation of a DOM subtree or document. file: [1c97b56847] check-in: [80f15f0bb6] user: rolf branch: schema, size: 37941
01:51
wip file: [feb68f61c9] check-in: [e1b3b45798] user: rolf branch: schema, size: 35694
2019-01-06
02:55
wip file: [6d397000fb] check-in: [6b331d4861] user: rolf branch: schema, size: 33123
2019-01-02
01:39
Name missing required attributes in the error msg. Code gardening. Ensure propagation of error msg. file: [28d9497b51] check-in: [ac087841b0] user: rolf branch: schema, size: 32184
2018-12-29
01:12
Added basic attribute validation (atm not namespaced attributes only) to the schemacmd validate method. file: [227db489e7] check-in: [5b8de8b8d6] user: rolf branch: schema, size: 31777
2018-12-27
00:44
Fixed attribute definition and memory clean up. file: [4f12ebb9f4] check-in: [fe8943dffa] user: rolf branch: schema, size: 31056
2018-12-26
01:51
At least simple attribute handling; wip. file: [f4de534aa1] check-in: [ffc7a9db6d] user: rolf branch: schema, size: 30762
2018-12-22
16:39
wip file: [4bb69a2ea5] check-in: [46e08fefe5] user: rolf branch: schema, size: 30572
2018-12-21
00:40
Fix in the validation core. Better debugging infrastructure. The optional errMsg varname argument to the validate method will now set to the empty string in case the xml is valid. Editorial corrections. file: [ad155ea5fb] check-in: [a15a26eaec] user: rolf branch: schema, size: 30055
2018-12-19
22:03
Still plumbing the validation core. file: [79dfd0887d] check-in: [74f30b7671] user: rolf branch: schema, size: 28987
00:34
Some rounding of what is there. file: [6d953dc51d] check-in: [3399294efa] user: rolf branch: schema, size: 26934
2018-12-16
18:40
Removed the "empty" schema defintion command, for simplicity. It isn't needed (an empty or only "attrbiute" commands containing definition script expresses the same) and the semantic of an "empty" command inside the definition script of other commands isn't that clear in all cases. file: [e533d9a812] check-in: [a2d614e328] user: rolf branch: schema, size: 22584
01:25
wip file: [5e5fe7aac1] check-in: [d3210a0bb2] user: rolf branch: wip, size: 22599
2018-12-14
00:39
Pondering around. file: [1826372266] check-in: [cd9d6983e0] user: rolf branch: wip, size: 22676
2018-12-12
13:41
More tweaks towards another stack handling. file: [a362dbd9e8] check-in: [bb995d2972] user: rolf branch: wip, size: 22698
2018-12-11
22:00
Better error checking to avoid seg fault. Corrected well-formedness error reporting of the validate method. file: [011a883091] check-in: [a74eacae4d] user: rolf branch: schema, size: 22334
2018-12-07
14:12
wip. Lot's of open tasks; the picture of the next rewrite of the back end gets clearer. file: [b7ee588c9f] check-in: [0fe2d35d5c] user: rolf branch: schema, size: 21987
2018-12-06
22:13
Renamed tests/structure.test → tests/schema.test. Renamed structure to schema. file: [8b45f72d4c] check-in: [084cbc63a1] user: rolf branch: schema, size: 19711