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

History of tests/schema.test

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 structure to schema. file: [8b45f72d4c] check-in: [084cbc63a1] user: rolf branch: schema, size: 19711 Renamed from tests/structure.test