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

50 descendants and 48 ancestors of aa6a2926065e80ec5d057d5398a928122b143f2cb2b224eb1cbd41ab0638d449

2019-12-14
01:53
Checked all uses of sdata->stack for if it in fact is given that this isn't NULL. check-in: 8b67a5eb7e user: rolf tags: schema
2019-12-11
23:06
Fixed seg fault in case of UNKNOWN_ROOT_ELEMENT and reportCmd is set. check-in: 3a3f58154d user: rolf tags: schema
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. check-in: 366ed3d250 user: rolf tags: schema
2019-12-06
01:52
Merged from schema. check-in: 022d8ade42 user: rolf tags: mixedoptimization
2019-12-05
14:47
Played around with a validatefile method which takes a file name and does parsing/validation in chunks. check-in: efc9bce1b9 user: rolf tags: validatefile
13:31
Removed unused argument to pushToStack. check-in: 5fe79f9b36 user: rolf tags: schema
13:27
Try an O(n) approach for simple choice cases. check-in: 4b65eabd78 user: rolf tags: mixedoptimization
10:11
Exposed text constraint command isodate to be usable outside schema validation context. check-in: 8b2322acee user: rolf tags: schema
00:23
Simplified text constraint commands sekeleton. check-in: 5430bf6f10 user: rolf tags: schema
2019-12-04
10:46
Minor doc addition. check-in: 5055811366 user: rolf tags: schema
2019-11-30
00:50
Merged from trunk. check-in: 8c0cc53beb user: rolf tags: schema
00:22
wip check-in: 55d2228ae4 user: rolf tags: toschema
00:07
Implemented the text constraint commands unsignedByte, unsignedShort, unsignedInt and unsignedLong, along the xsd counterparts. check-in: 051ae451a2 user: rolf tags: schema
2019-11-29
16:42
Added text constraint command hexBinary (similar to the xsd type hexBinary). check-in: ea199fedb7 user: rolf tags: schema
00:29
Added the xsd data types negativeInteger, nonNegativeInteger, nonPositiveInteger and positiveInteger. check-in: d3fc207059 user: rolf tags: schema
2019-11-24
01:07
Added the xsd data types Name, NCName and QName as text constraint commands name, ncname and qname. check-in: 3201b746cc user: rolf tags: schema
2019-11-22
23:54
Added validation of the included tmml xml documentation against the included tmml.schema as test. check-in: 2bee8a3462 user: rolf tags: schema
23:51
Minor editorial change. check-in: 16866bc56d user: rolf tags: schema
2019-11-21
00:57
Fixed -DTDOM_NO_SCHEMA=1 build. check-in: 95b30715cd user: rolf tags: schema
2019-11-18
22:42
Removed slipped throu debuging instrumentalization. check-in: 22b17ef648 user: rolf tags: schema
22:37
The attribute und nsattribute commands are only supported toplevel in the definition scripts of the defelement method and the element command. check-in: b3b2ce77f0 user: rolf tags: schema
2019-11-16
13:09
A few spell fixes. check-in: 7726a079e1 user: rolf tags: schema
2019-11-15
23:46
Started check for ambiguity. check-in: a2f83dea7e user: rolf tags: wip
15:17
Updated documentation example section. check-in: c0721894cc user: rolf tags: schema
13:45
Work on the info method and the documentation for that method. check-in: e3fd3c93a9 user: rolf tags: schema
10:22
Moved schema command method nrForwardDefinitions as subcommand to info; it belongs more there. check-in: 05086c2182 user: rolf tags: schema
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. check-in: 1ceabd63a5 user: rolf tags: schema
2019-11-14
14:09
Added optional time zone check to text constraint isodate, making it fully xsd:date compliant. check-in: 7cf1968eb3 user: rolf tags: schema
12:58
Added more documentation. check-in: 78462d5d87 user: rolf tags: schema
2019-11-13
17:19
Regenerated man and HTML documentation. check-in: c4d76b0670 user: rolf tags: schema
17:06
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. check-in: e5d39024c8 user: rolf tags: schema
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. Closed-Leaf check-in: d3e7475b85 user: rolf tags: wip
2019-11-09
16:56
wip check-in: d10c95ec06 user: rolf tags: wip
00:54
Plugged obscure mem leak. check-in: 8b0f0e9ecc user: rolf tags: schema
2019-11-06
20:55
Merged from trunk. check-in: 34fdc85dfb user: rolf tags: schema
20:48
Minor additions. check-in: f5f54ce49b user: rolf tags: schema
2019-11-05
22:16
Another attempt to get info expected right. check-in: 03f4151498 user: rolf tags: schema
2019-11-04
18:08
Added simple recovery, with infrastructure to add more fancy recovery features without too much fall out. Added info expected, which returns the expected (possible) events, even in a validation error report handler. check-in: a16fad774f user: rolf tags: schema
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. Closed-Leaf check-in: 65eff1573f user: rolf tags: wip
00:24
Save work. check-in: d2f12cc8d4 user: rolf tags: wip
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). check-in: e795f2b9f0 user: rolf tags: wip
2019-11-01
15:42
Added more fine print towards being able to calculate the set of possible (expected) events in case of validation error. check-in: 6a02d5bab5 user: rolf tags: wip
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. check-in: 70f5d362f7 user: rolf tags: wip
2019-10-28
00:33
Added a test. check-in: fd510a13be user: rolf tags: wip
2019-10-26
01:20
Fixed not always poping up of tcl errors in called script during validation. check-in: a43c523416 user: rolf tags: wip
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. check-in: a77a3f3b23 user: rolf tags: wip
2019-10-24
22:05
Merged from trunk. check-in: c416325b0b user: rolf tags: wip
2019-10-23
09:25
Merged from schema. check-in: 3c16fd1ab1 user: rolf tags: wip
2019-10-17
00:41
Recovery is hard. For several reasons. check-in: bd90f4a8d4 user: rolf tags: wip
2019-10-12
13:29
Save work. check-in: 8d9da46798 user: rolf tags: wip
01:27
Save work. check-in: aa6a292606 user: rolf tags: wip
2019-10-11
11:54
Merged from schema. check-in: 6165f6c203 user: rolf tags: wip
00:29
Added a few tests to document the behaviour in case of validation against forward defined elements or refs. check-in: bb898f3778 user: rolf tags: schema
2019-10-10
01:50
Started info subcommand pastexpected. check-in: 78b0aac051 user: rolf tags: wip
2019-10-09
16:40
Added subcommand nextexpected to the info method of schema commands. check-in: c9fd675e9f user: rolf tags: schema
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. Closed-Leaf check-in: 35c7ad95de user: rolf tags: wip
2019-10-08
06:22
Fixed content constrain command "any": respect prefix/ns mapping. More work on info nextexpected. check-in: 223307a111 user: rolf tags: wip
2019-10-07
09:33
Renamed the info method subcommand frontexpected of the validation commands to the hopefully better name nextexpected. check-in: d889feb189 user: rolf tags: wip
2019-10-06
23:40
Save work. check-in: b26625af9b user: rolf tags: wip
2019-10-05
00:16
More minor doc tweaking. check-in: 43e20be75b user: rolf tags: wip
00:06
Minor work on the documentation. check-in: a5c850a58e user: rolf tags: wip
2019-10-04
16:13
More correct handling of interleave content particle in validation state introspection. check-in: 4c3f653e15 user: rolf tags: wip
12:15
Again, more work on introspection of validation state. check-in: 5dd7e9928d user: rolf tags: wip
2019-10-03
22:39
More work on introspection of validation state. check-in: 4328236591 user: rolf tags: wip
11:29
Added #text to the possible next events in case of mixed. check-in: f1a7ec26da user: rolf tags: wip
02:23
Added another test. check-in: 05cfa07ebf user: rolf tags: wip
02:18
This returns even something to script level. check-in: c8b0062672 user: rolf tags: wip
2019-10-01
23:10
wip check-in: 1f46cc97c2 user: rolf tags: wip
2019-09-27
00:37
Renamed info defelements into definedElements and factored the implementation out for use in info expected. check-in: ec0ddc4465 user: rolf tags: wip
2019-08-25
00:22
wip check-in: b6f3e3b2b4 user: rolf tags: wip
2019-08-24
13:27
wip check-in: eed7c07609 user: rolf tags: wip
2019-08-23
22:56
Added documentation to few commands, implemented earlier. check-in: 8fce09e002 user: rolf tags: schema
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). check-in: 37403bd128 user: rolf tags: schema
2019-08-22
21:23
Made more info about the validation state available for recover scripts. Closed-Leaf check-in: 2c03ac9cd6 user: rolf tags: wip
2019-08-17
13:54
wip check-in: 0625bcaa4c user: rolf tags: wip
01:40
wip check-in: f8161e258e user: rolf tags: wip
2019-08-16
15:20
Merged from trunk. check-in: 5cf43bf74a user: rolf tags: schema
13:57
Even a bit better wording, probably (at least the native speaker say so). check-in: a3edd2a308 user: rolf tags: trunk
13:04
Corrected speeling and better wording. check-in: 7ec866b33f user: rolf tags: trunk
2019-08-12
21:12
Fix for [011e259c69]. check-in: 090cdefdab user: rolf tags: trunk
21:11
Fix for [011e259c69]. check-in: cafa5160c0 user: rolf tags: schema
2019-08-11
01:35
Added xsd like boolean text constraint. check-in: c24f4e9aeb user: rolf tags: schema
2019-08-06
23:35
Removed cruft for versions not supported anymore. check-in: 0117b3be8d user: rolf tags: trunk
23:31
Removed cruft for versions not supported anymore. check-in: 13fe3aff35 user: rolf tags: schema
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. check-in: 40671ee8c3 user: rolf tags: schema
2019-08-02
23:52
The comment is correct, adjusted the code to do what it say. check-in: 4d478f979b user: rolf tags: schema
2019-07-31
22:17
Hardened isodate. check-in: 4fed50bd75 user: rolf tags: schema
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. check-in: e5493b6b50 user: rolf tags: schema
2019-07-20
01:25
Added more. check-in: dce94477ff user: rolf tags: trunk
2019-07-19
23:49
Added test cases. check-in: afbf750fd4 user: rolf tags: trunk
2019-07-16
20:47
Modified test to work as intended on 32-bit also. Fixes [156ce3b130e8]. check-in: 4aa07a679d user: rolf tags: trunk
2019-07-12
22:26
Merged from trunk. check-in: df3a907a20 user: rolf tags: schema
2019-07-11
14:07
Fixed possible floating point exception with arithmetic operator 'mod'. check-in: 7cf8bdeb6c user: rolf tags: trunk
02:02
Fixed possible seg fault with malicious input. check-in: d22f55f9a3 user: rolf tags: trunk
2019-07-10
23:27
Fixed seg fault in reporting certain invalid xpath exprs with a number with nr of digits in a certain range. check-in: ad8242fa18 user: rolf tags: trunk
21:56
Replaced the last two atof(). check-in: 52d6965abb user: rolf tags: trunk
2019-07-06
22:07
Ups ... I obviously forgot to update the VERSION file at the latest expat update (to 2.2.6). check-in: 35e1b761e1 user: rolf tags: trunk
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. check-in: 9a589897fb user: rolf tags: schema
2019-06-17
09:43
Made the lately added new Schema_CP_Type types known to the debuging machinery. check-in: 8e9437ea75 user: rolf tags: schema