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

509 check-ins using file doc/expat.html version e7b5071878

2020-07-10
00:28
Fixed the test data to be valid (and in sync with the source). check-in: 6ff953f765 user: rolf tags: domvalidation
2020-07-02
01:42
The expat command option -namespace now may appear anywhere in the options list. Improved expat command option checking. Fixed the one test, that without need in the context used the -noexpand option and that syntactically wrong. Added a few basic texts for -noexpand. Fixed <parser> cget -useForeignDTD. check-in: 3779fdc2c3 user: rolf tags: trunk
2020-06-11
00:48
Reverted my fix for [c6cc9e097be16bd3] from the previous commit and applied the better one proposed by mr_calvin. check-in: 5a424c365f user: rolf tags: trunk
2020-06-09
22:51
Reverted part of [d41caf001d9d4d2a], as attempt to fix [c6cc9e097be16bd3]. check-in: 2d46161b9f user: rolf tags: trunk
2020-05-13
23:49
Added method clearString to the dom command. check-in: 5300f428a6 user: rolf tags: trunk
2020-04-08
23:54
There is no need that the dom parse -jsonroot option argument has to be an XML name. Documented the existence of the option, check-in: 67a97e3f0d user: rolf tags: trunk
2020-02-19
12:38
Preserve node flags (most notable disableOutputEscaping) while cloning nodes or subtrees. Fixes ticket [f52380997e5]. check-in: 8fcf318110 user: rolf tags: trunk
2020-01-11
00:40
Minor gardening. check-in: 1564f442a9 user: rolf tags: trunk
00:32
Removed more unused historical relicts. check-in: 346bcf0b87 user: rolf tags: trunk
00:00
Removed unused historical relict. check-in: a97966286a user: rolf tags: trunk
2019-12-31
00:46
Updated to expat 2.2.9. check-in: d619d316b8 user: rolf tags: trunk
00:37
Merged from trunk. Closed-Leaf check-in: f3e9bae528 user: rolf tags: expat-update
2019-11-30
00:47
Editorial clean up: Removed cvs keywords in source code headers; the are obsolete. check-in: 14a8728e63 user: rolf tags: trunk
2019-11-13
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:54
Small test suite adaption for the upcoming tcl versions > 8.6. check-in: 6a684d733e user: rolf tags: trunk
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
14:12
Added xsd as new format (and default) to the text constraint command "number". check-in: c2b6dd2267 user: rolf tags: schema
11:13
Further work on the schema command "event" method. check-in: 644a84f1b9 user: rolf tags: schema
2019-10-23
09:25
Merged from schema. check-in: 3c16fd1ab1 user: rolf tags: wip
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. check-in: 5f6af15f8d user: rolf tags: schema
2019-10-19
12:01
Removed more no longer used defines. check-in: 0605e10005 user: rolf tags: schema
01:46
Removed old cruft, simplified (a bit) the central data structure; we have a finit, known in advance set of of quents. check-in: 39d74a1df4 user: rolf tags: schema
00:08
Ensure that the script error of a script evaluated by a schema command pops up to global level. check-in: a15e6f3d24 user: rolf tags: schema
2019-10-18
23:43
Don't call event on a schem command in any script evaluated from the same schema command. check-in: d1707acfbf user: rolf tags: schema
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
23:17
Expat 2.2.9 check-in: c89f418e75 user: rolf tags: expat-update
12:32
wip Closed-Leaf check-in: 5aac7f85df user: rolf tags: deviation
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-19
16:43
Fixed typos. check-in: 8e8341da68 user: rolf tags: trunk
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-18
10:23
Merged from trunk. Leaf check-in: ea4377f290 user: rolf tags: fuzzer-instrumentation
10:23
Merged from trunk. check-in: a505e6bc02 user: rolf tags: fuzzer-instrumentation
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
17:49
Merged from trunk. check-in: 3b910d27ce user: rolf tags: fuzzer-instrumentation
2019-07-08
21:45
Musing over error reporting. Closed-Leaf check-in: 900e627f9a user: rolf tags: wip
21:01
Expat 2.2.7 Closed-Leaf check-in: b597113430 user: rolf tags: expat-update
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
2019-06-15
01:04
Enhanced the any content command to optionally match only any element in a given namespace. check-in: 728f51431a user: rolf tags: schema
2019-06-08
14:36
Work on validation error reporting. check-in: 634d7e6d48 user: rolf tags: schema
2019-06-06
23:23
Merged from trunk. check-in: 672fc9ca28 user: rolf tags: domvalidation
2019-06-05
17:29
Bug fix in case of domuniqe with elements as fields. check-in: 34e75df5dd user: rolf tags: schema
2019-05-31
17:00
Small editorial corrections. check-in: 09863d4ab7 user: rolf tags: schema
00:05
Added sub tree local uniqueness and foreign key contents. check-in: 43cf45b772 user: rolf tags: schema
2019-05-30
23:54
Adapt the example section to what is actually implemented. Closed-Leaf check-in: ebb73c9257 user: rolf tags: keyspaces
23:40
Added some sparse word of documentation. check-in: 36d3888cac user: rolf tags: keyspaces
22:38
Added simple keyref feature to keyspaces. check-in: 1f7b8a81c1 user: rolf tags: keyspaces
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. check-in: 39651ce911 user: rolf tags: keyspaces
2019-05-29
12:57
Starts to actually do something. Still some way to go. check-in: 6eb6891a1e user: rolf tags: keyspaces
2019-05-28
00:29
Save work. check-in: 48be317469 user: rolf tags: keyspaces
2019-05-27
12:01
More work. check-in: 8f37424ac1 user: rolf tags: keyspaces
2019-05-25
12:32
Added the new CTYPE also to the debug functions. check-in: 9049114cc3 user: rolf tags: keyspaces
00:46
Started work. (Wenn es anders nicht geht, so geht es doch viel besser.) check-in: 11c1cd9dad user: rolf tags: keyspaces
2019-05-24
12:54
Save work. Closed-Leaf check-in: 66e05a9e1a user: rolf tags: localkey
2019-05-22
22:22
Added the XPath step "." as allowed step in restricted schema XPath Expressions. check-in: ab18265ee0 user: rolf tags: localkey
2019-05-21
23:56
Save work. check-in: ddad141351 user: rolf tags: localkey
22:37
Merged from schema. check-in: 72ce7820c1 user: rolf tags: localkey
22:30
Added dom tree validation specific unique key contraints 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). check-in: ba6bd2bb7c user: rolf tags: schema
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). Closed-Leaf check-in: 6a51d9897b user: rolf tags: domlocalkey
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). check-in: f645e5dfe1 user: rolf tags: domlocalkey
2019-05-18
00:41
Save work. check-in: 4592100a23 user: rolf tags: localkey
2019-05-17
00:02
Now start to actually use the local key constraint info. check-in: 120c8294a0 user: rolf tags: localkey
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. check-in: 69c262ef77 user: rolf tags: localkey
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. check-in: abc0715900 user: rolf tags: localkey
2019-05-14
20:04
Merge from schema. check-in: dc36b35000 user: rolf tags: localkey
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. check-in: 6b550b98f8 user: rolf tags: schema
2019-05-11
01:41
Save work. check-in: 3ce85f17a5 user: rolf tags: localkey
2019-05-10
16:05
Save work. check-in: 2596c19c35 user: rolf tags: localkey
13:41
Merge from schema. check-in: 4bf39f2571 user: rolf tags: localkey
13:40
Fixed bug (invalid mem access) if a virtual constraint will be called under certain circumstances while looking if pcdata matches. check-in: 4cc96fcd33 user: rolf tags: schema
13:05
Merged from schema. check-in: db1bcdb342 user: rolf tags: localkey
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. check-in: a70c1d6c6e user: rolf tags: schema
00:49
Use the new schema feature prefixns for namespace prefix resolution in local key constraint XPath expressions. check-in: e407c9fd00 user: rolf tags: localkey
00:40
Merge from schema. check-in: 508a776b44 user: rolf tags: localkey
00:36
Added method prefixns to schema cmds. This allows to point to namespace URIs by shortcuts or prefixes. check-in: 74a399d84f user: rolf tags: schema
2019-05-09
19:16
Merged from schema. check-in: 4879bb492b user: rolf tags: localkey
19:13
Fixed merge error. check-in: 89fbb30347 user: rolf tags: schema
18:34
Test added. check-in: 968b411fd1 user: rolf tags: schema
18:33
Merged from trunk. check-in: 05a6175f48 user: rolf tags: schema
18:31
Reworked (and renamed) selectNodesNamespaces to make it usable from elsewhere and made it public. check-in: 4ca5de8963 user: rolf tags: trunk
14:27
wip check-in: b0e429ebf8 user: rolf tags: localkey
2019-05-07
22:52
Implementend restricted XPath expressions for local key selectors and fields. check-in: 918781e945 user: rolf tags: localkey
2019-05-06
23:18
Added text constrain cmd base64. check-in: 68cd47d57c user: rolf tags: schema
2019-05-04
12:35
Started work on subtree local unique/key/keyref. check-in: 97b292828f user: rolf tags: localkey
2019-05-02
16:53
Added text constraint commands id and idref. check-in: a886296dc3 user: rolf tags: schema
12:14
Added new text constraint command split, which splits the text to check into a list and cecks the elements of that list against the given constraints. check-in: 77cf4c7090 user: rolf tags: schema
12:11
Done. Closed-Leaf check-in: 9a631db368 user: rolf tags: wip
2019-05-01
23:55
wip check-in: a155f2862c user: rolf tags: wip
14:56
wip check-in: a858a6ac77 user: rolf tags: wip
2019-04-27
00:50
Added documentation for the strip text constraint command. check-in: d441a1e8b1 user: rolf tags: schema
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. check-in: b6738cb9c3 user: rolf tags: schema
00:33
Prepare for more converters to come. check-in: fd2f1e3238 user: rolf tags: schema
2019-04-21
23:06
Added (so far simplistic) validation error recovering with error reporting via tcl callback. check-in: cd6dce16a1 user: rolf tags: schema
2019-04-19
15:57
Still work on validation error recovering. Closed-Leaf check-in: a00292f6a2 user: rolf tags: wip
2019-04-16
23:28
Still work on validation error recovering. check-in: e1eaa5909b user: rolf tags: wip
2019-04-15
23:20
More work on validation error recovering. check-in: a5c155ee31 user: rolf tags: wip
2019-03-30
01:31
More gardening towards reportcmd. check-in: 7319d6926f user: rolf tags: wip
2019-03-29
00:35
wip check-in: 1f800e1c4b user: rolf tags: wip
2019-03-26
01:43
Clean up the mess, a bit. check-in: 7154504138 user: rolf tags: wip
2019-03-23
15:20
Wip (not well working inbetween state). check-in: 0da31f4fcb user: rolf tags: wip
2019-03-20
16:00
Still wip. check-in: 3bf5b1e10d user: rolf tags: wip
2019-03-15
15:17
avoid usage of fallback to __tdomGC at global/NS level, this way it could prevent a leakage of tree in the global var __tdomGC (only affected if current level is global/NS) Leaf check-in: 7fca63fe3f user: sebres tags: fix-traced-gc-regression-of-091-cr1
2019-03-14
22:01
Test suite respects tcl-test options -load|-loadfile. check-in: 7a0bfb53ad user: rolf tags: trunk
16:16
accept tcl-test options like -load "load libtdom...; source ../lib/tdom.tcl" (allow to run test-suite from development environment, other tdom-version or uninstalled) Leaf check-in: 881efc6915 user: sebres tags: fix-traced-gc-regression-of-091
15:38
small amend, removing the previous trace in case to wrap to __tdomGC check-in: ff7642f303 user: sebres tags: fix-traced-gc-regression-of-091
15:24
try to explain and fix regression of traced GC, introduced in tdom 0.9.1 check-in: c466f47988 user: sebres tags: fix-traced-gc-regression-of-091
11:38
More tests to check/document behaviour in case of using traced doc vars (pattern [dom parse $xml docvar]). check-in: 30c2ebb89f user: rolf tags: trunk
2019-03-13
01:47
Fix overeager cleanup of virtual constraints. check-in: abd9fe81b1 user: rolf tags: wip
2019-03-11
00:47
wip check-in: e2187f0363 user: rolf tags: wip
2019-03-09
15:09
wip check-in: bfa5b4bab7 user: rolf tags: wip
2019-03-07
23:12
Removed an ancient CONST, that somehow sliped in. check-in: afef231e60 user: rolf tags: schema
22:46
Merged from trunk. check-in: 60af362516 user: rolf tags: schema
22:45
Made novem compatible. check-in: d41caf001d user: rolf tags: trunk
22:44
Changed from original in DTD system identifier, so that it points to the included external dtd. check-in: d4bb0eb147 user: rolf tags: trunk
13:44
Merged feature virtual constraints into the main schema dev branch. check-in: c24d55afe8 user: rolf tags: schema
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. Closed-Leaf check-in: 71d80fea6e user: rolf tags: virtualConstraints
01:48
Save work. check-in: ba4f23dbc4 user: rolf tags: virtualConstraints
00:05
Merged from schema. check-in: f189f4695e user: rolf tags: virtualConstraints
2019-03-06
22:47
Further work on calling schema commands in schema definition / text constraint scripts. check-in: 2d5a4f85c8 user: rolf tags: schema
13:34
More hardening and clarification of using a schema cmd inside one of the script arguments evaluated by itself. check-in: 4cefb1db19 user: rolf tags: schema
2019-03-04
12:56
Removed ignored flag in Tcl_EvalObjv() calls. check-in: 7e974a5889 user: rolf tags: schema
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. check-in: 2774ed6a5a user: rolf tags: schema
2019-03-02
15:21
Work in progress on reportcmd/recovering and schemacmd info. check-in: 811794c107 user: rolf tags: schema
02:28
Removed #define and code for a tcl version (8.0) that isn't support for a long time. check-in: 0efaef90de user: rolf tags: schema
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. check-in: fa18fb363f user: rolf tags: schema
2019-02-28
01:31
Added attribute value constraining with text types. check-in: 44ebaf2b3f user: rolf tags: schema
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. check-in: 79df08c5d7 user: rolf tags: schema
2019-02-21
00:49
Added stubs for new schemacmds methods "query" and "reportcmd". check-in: c39b98ff18 user: rolf tags: schema
2019-02-19
23:06
Allow schema definition command "tcl" only inside of sequential content particles. Still uncertain about the interface. check-in: 23f4f6f626 user: rolf tags: virtualConstraints
01:36
Merged from schema. check-in: 7718b1e0ff user: rolf tags: virtualConstraints
01:33
Merged from trunk. check-in: 15ba66e204 user: rolf tags: schema
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. check-in: bd8b0eecee user: rolf tags: schema
00:46
Added schema command method deftext - defining named text constraints. Enhanced the schema definition command text to allow to refer to named text constraints. check-in: ee18aed126 user: rolf tags: schema
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. check-in: 258c031b81 user: rolf tags: schema
2019-02-14
02:39
Added text constraint commands oneOf and allOf. check-in: 046b4f9866 user: rolf tags: schema
2019-02-11
23:49
Kind of eat you own ... use your own tool. check-in: 268a9acf91 user: rolf tags: schema
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. check-in: d518456e98 user: rolf tags: schema
2019-02-09
17:02
More interleave tests. check-in: ac9a46bd21 user: rolf tags: schema
02:21
Updated text constraint command list. check-in: 3929914696 user: rolf tags: schema
01:59
Even more work on interleave. check-in: e01081aa22 user: rolf tags: schema
01:45
Merged from schema. check-in: 48f9a019fa user: rolf tags: virtualConstraints
01:21
More work on interleave. check-in: 4f56efe773 user: rolf tags: schema
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. check-in: cf3b5c917b user: rolf tags: schema
16:44
Fixed text validation in case of domvalidate. check-in: b97f9f31a6 user: rolf tags: schema
16:24
Fixed attribute probing of the domvalidate method. check-in: e381867bf2 user: rolf tags: schema
02:02
Simple interleave implementation. Wip. check-in: 73774a8105 user: rolf tags: schema
2019-02-07
22:17
Improved the text constraint isodate. It now expects (-?)yyyy-mm-dd and checks (all) dates by gregorian rules. check-in: d57cf5a680 user: rolf tags: schema
11:48
Merged from schema. check-in: cb3f5356f1 user: rolf tags: virtualConstraints
11:23
Simplified internal machinery needed/used to evaluate definition scripts of content particles. check-in: 0548486743 user: rolf tags: schema
01:31
Tests for more than one text constraint and text matching one of several constraints. check-in: a5d267e065 user: rolf tags: schema
2019-02-04
22:11
Fix for [13133c46dc75ed]. While at it made all proc names in tdom.lib absolute. check-in: 1e16413f0c user: rolf tags: trunk
2019-02-02
23:25
Implemented text constraint commands maxLength and minLength. check-in: d75968f01b user: rolf tags: schema
02:37
merged from schema check-in: 8e3407e478 user: rolf tags: virtualConstraints
02:32
Renamed text constraint isint to integer. Added text constrains number and boolean and a provisorial isodate. check-in: 5c4f01dc2a user: rolf tags: schema
00:35
Mudding around for better namespace handling in DTD to tDOM schema. All too ugly and heuristic but sane DTDs specifying namespaced XML vocabularies will work. check-in: 30a5d3936c user: rolf tags: schema
00:25
Fixed argument check of [<schemacmd> start]. check-in: 247e679fa9 user: rolf tags: schema
2019-02-01
12:25
Call out to tcl scripted virtual constraints even in case of looking for text match. More musing about the semantic of scripted constraints needed. check-in: 206e0dafcb user: rolf tags: virtualConstraints
2019-01-30
21:46
wip Closed-Leaf check-in: 9c4cbac6d5 user: rolf tags: wip
2019-01-29
09:01
Fixed implementation of constraint cmd tcl; added minimal tests. check-in: cd88943e2d user: rolf tags: wip
08:38
New constraint command "tcl" basically implemented: A "virtual" element content constraint that call out to any tcl code, but doesn't match. check-in: 38c1bf89b0 user: rolf tags: wip
03:11
wip check-in: eaab73e4d1 user: rolf tags: wip
2019-01-26
02:28
Use the new text constraint commands nmtoken and nmtokens in the DTD to tDOM schema translation. check-in: 5963b94079 user: rolf tags: schema
02:13
Got rid with the validation stack element struct member deep - it isn't really needed for something, so far. check-in: e99a1cbf97 user: rolf tags: schema
01:33
A few documentation updates and additions. Startet a list of text constraint commands. check-in: 1b28fd0c1e user: rolf tags: schema
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). check-in: a79cc50455 user: rolf tags: schema
02:31
Reworked check for element end into 3-way logic. check-in: c30fa32733 user: rolf tags: schema
2019-01-24
22:46
Handle mixed/choice cp amongst the children (choices) of a mixed/choice cp. check-in: c69a4c0ab4 user: rolf tags: schema
13:28
Added a few tests more. check-in: c98407553d user: rolf tags: schema
12:26
Merged from trunk. check-in: 876f8ceb08 user: rolf tags: schema
12:24
Fixed serialization option -escapeNonASCII on big endian systems. check-in: d2b2e90908 user: rolf tags: trunk
12:18
Removed cp type SCHEMA_CTYPE_MIXED and instead handling definition command 'mixed' as special case of SCHEMA_CTYPE_CHOICE (and hence inheriting the handling of complex cp choices from "choice" for "mixed"). check-in: 144b99b476 user: rolf tags: schema
01:08
Integrated: More work to get quantified choices right. Finally reverted to 3-way logic for probing a match. check-in: 4f73433691 user: rolf tags: schema
01:06
More work to get quantified choices right. Finally reverted to 3-way logic for probing a match. Closed-Leaf check-in: 5188c49af6 user: rolf tags: wip
2019-01-23
15:17
According to [d3ccaf4252f27f] the serializing option -escapeNonASCII doesn't work (correct) on big-endian machines. Probably fixed by this; waiting for reporter feedback. Closed-Leaf check-in: 6722cfb2c4 user: rolf tags: escapeNonASCII
2019-01-22
22:52
The configure flag --enable-html5 now should also work, if cross building (given, pkg-config and gumbo are available, of course). check-in: 4fca08944c user: rolf tags: trunk
22:23
While cross build --enable-html5 doesn't work (at least not easily) but should. Closed-Leaf check-in: 11ea1cfb7e user: rolf tags: crosscompile
2019-01-21
23:53
Digression Closed-Leaf check-in: f24eb22dc8 user: rolf tags: digression
15:57
wip check-in: d85da14d6e user: rolf tags: wip
00:46
wip check-in: 3851efb4ac user: rolf tags: wip
2019-01-19
13:24
wip check-in: c79509ea95 user: rolf tags: wip
2019-01-18
11:19
If a choice with quantifier ! or + has a cp with quantifier * or ? belong its choices then this renders the choices effectively to be an optional one. check-in: 6c83fcdd2e user: rolf tags: schema
2019-01-17
23:36
Removed distinction between SCHEMA_CTYPE_GROUP and SCHEMA_CTYPE_PATTERN. check-in: fdccdbf344 user: rolf tags: schema
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. check-in: 98ba54b83e user: rolf tags: schema
22:41
Now, the overhauled validation engine does the same as the old state and even a bit more, and better. Closed-Leaf check-in: 6ed41c0c75 user: rolf tags: wip
03:44
Still a lot to do but looks good, nifty, better to maintain. check-in: cb623d6ce9 user: rolf tags: wip
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. check-in: da6f9ed382 user: rolf tags: wip
2019-01-14
23:19
Editorial fix. check-in: 0e887ba0b9 user: rolf tags: schema
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 ^$)). check-in: 786dd36028 user: rolf tags: schema
2019-01-12
16:14
Better namespace handling in case of dtd to tdom schema conversion. check-in: 24a354a13f user: rolf tags: schema
03:28
Implementend the text constraint script command "pattern" (a glob style matcher). check-in: d7ce604f85 user: rolf tags: schema
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. check-in: dc78a9ca7d user: rolf tags: schema
2019-01-11
15:20
Use the new text constraint command enumeration in toSchema.tcl. check-in: 1bdbdfd97a user: rolf tags: schema
14:56
Fixed horrible mistake in patternList handling. check-in: 7e1c8cf210 user: rolf tags: schema
12:14
Implementend the text constraint script command "enumeration". check-in: 8e073699eb user: rolf tags: schema
11:26
Implementend the text constraint script command "fixed". check-in: e2dbca3baa user: rolf tags: schema
02:34
Separating text validation code from structure validation code? On the long run probably sure, but maybe not now. Closed-Leaf check-in: b356c78a42 user: rolf tags: digression
01:02
Enabled validate constraints on attribute values. check-in: 0e11568b4c user: rolf tags: schema
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. check-in: 1c5ebc685d user: rolf tags: schema
02:08
Steps towards data typing. check-in: 5407acfd0f user: rolf tags: schema
2019-01-09
15:43
Fixed the schema definition script command "namespace". check-in: beba040b25 user: rolf tags: schema
14:09
Fixed the configure switch added with the previous check-in. And a few editorial changes. check-in: fef7ebf150 user: rolf tags: schema
00:47
Enable validation features by default (with easy configure disable switch). check-in: 589a5b2a86 user: rolf tags: schema
2019-01-08
23:25
Added domvalidate. check-in: e2a53e2d60 user: rolf tags: schema
07:33
Fixed tdom::schema argument handling. check-in: 31241ee4e7 user: rolf tags: schema
01:28
wip on domvalidate and elsewhere. check-in: d35774d0cf user: rolf tags: schema
00:38
Working towards dom doc/tree validation. check-in: 65778581a3 user: rolf tags: schema
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. check-in: 80f15f0bb6 user: rolf tags: schema
01:51
wip check-in: e1b3b45798 user: rolf tags: schema
2019-01-06
02:55
wip check-in: 6b331d4861 user: rolf tags: schema
2019-01-02
01:39
Name missing required attributes in the error msg. Code gardening. Ensure propagation of error msg. check-in: ac087841b0 user: rolf tags: schema
2018-12-29
01:12
Added basic attribute validation (atm not namespaced attributes only) to the schemacmd validate method. check-in: 5b8de8b8d6 user: rolf tags: schema
2018-12-28
01:06
Added new definition command nsattribute, to define namespaced attributes. check-in: 8af2eabd25 user: rolf tags: schema
2018-12-27
00:44
Fixed attribute definition and memory clean up. check-in: fe8943dffa user: rolf tags: schema
2018-12-26
01:51
At least simple attribute handling; wip. check-in: ffc7a9db6d user: rolf tags: schema
2018-12-24
01:18
wip check-in: f2ac18ad75 user: rolf tags: schema
2018-12-22
16:39
wip check-in: 46e08fefe5 user: rolf tags: schema
2018-12-21
16:12
Added [dom featureinfo schema]. Added minimal stub of a to tDOM schema script converter. A few minimal steps onto attribute checking. check-in: 2b419f7d20 user: rolf tags: schema
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. check-in: a15a26eaec user: rolf tags: schema
2018-12-19
22:03
Still plumbing the validation core. check-in: 74f30b7671 user: rolf tags: schema
00:34
Some rounding of what is there. check-in: 3399294efa user: rolf tags: schema
2018-12-18
01:26
Minor tweaks, while musing whats next. check-in: abf70d4748 user: rolf tags: schema
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. check-in: a2d614e328 user: rolf tags: schema
01:25
Back on track, maybe. check-in: d536793a88 user: rolf tags: schema
01:25
wip Closed-Leaf check-in: d3210a0bb2 user: rolf tags: wip
2018-12-15
14:29
Still pondering around. check-in: 09657a1435 user: rolf tags: wip
2018-12-14
09:54
Merged from trunk. check-in: 6a48682b06 user: rolf tags: domvalidation
00:39
Pondering around. check-in: cd9d6983e0 user: rolf tags: wip
2018-12-12
13:41
More tweaks towards another stack handling. check-in: bb995d2972 user: rolf tags: wip
01:28
wip check-in: 8942834c46 user: rolf tags: wip
2018-12-11
22:00
Better error checking to avoid seg fault. Corrected well-formedness error reporting of the validate method. check-in: a74eacae4d user: rolf tags: schema
2018-12-07
14:12
wip. Lot's of open tasks; the picture of the next rewrite of the back end gets clearer. check-in: 0fe2d35d5c user: rolf tags: schema
2018-12-06
22:13
Renamed structure to schema. check-in: 084cbc63a1 user: rolf tags: schema
12:45
wip Closed-Leaf check-in: 1be47b3755 user: rolf tags: structure
2018-12-03
21:55
No need for the (deprecated) Tcl_VarEval(), just use Tcl_EvalObjv(). check-in: ef60fd49f4 user: rolf tags: structure
2018-11-30
14:09
More documentation. Fixed the "start" method. check-in: 80906f7834 user: rolf tags: structure
13:13
More explanation how a grammar or structure definition is to be defined. check-in: 04b7db8701 user: rolf tags: structure
11:50
Removed quant type STRUCTURE_CQUANT_N because it can be handled easily as a special case of STRUCTURE_CQUANT_NM. check-in: 46fc4186e4 user: rolf tags: structure
11:43
Removed no longe used define. check-in: bb1c6e1996 user: rolf tags: structure
01:02
Better behaviour of the validation command method "validate": it returns true if the arg is valid or false, with optional error var. check-in: f61cdc1e54 user: rolf tags: structure
00:11
Fixed choice. check-in: 25c9f6ffb7 user: rolf tags: structure
2018-11-29
17:05
More work on the validating machinery. check-in: 2b9a427fcc user: rolf tags: structure
00:40
Added documentation stub for the new method validate. check-in: 16a8547125 user: rolf tags: structure
2018-11-28
23:49
Made the new structure validation command method "validate" XML namespace aware. (The current expat push parser command switch -validateCmd isn't XML namespace aware, so far.) check-in: e9f59e858a user: rolf tags: structure
21:53
Fixed the memory management in case of TCL_ERROR in structure definition scripts. check-in: b5f168a794 user: rolf tags: structure
21:31
Added (an elementary) method validate to structure validation commands. Meant as simplest (and fastest) way to validate the string representation of an XML (sub-)tree. check-in: 007037bdfd user: rolf tags: structure
13:56
More editorial corrections. check-in: 3d439c78c0 user: rolf tags: structure
13:42
Fixed editorial errors. check-in: 9c0ae974dd user: rolf tags: structure
02:00
wip check-in: bd982e01d4 user: rolf tags: structure
01:42
Fixed the example pseudo code. check-in: d53d1bc9ca user: rolf tags: structure
01:17
Added some skeleton text about what this is all about. check-in: b615cd1699 user: rolf tags: structure
00:26
wip check-in: bdde880865 user: rolf tags: structure
2018-11-27
01:23
Added validation of local defined Elements. check-in: 7557920388 user: rolf tags: structure
2018-11-26
18:47
Renamed validation command method element to defelement and pattern to defpattern, to clearly distinct them even in the name from the grammer definition commands element and pattern. New validation command method define, which allows to define a grammar in one go. Thus with defelement and defpattern two new grammar definition commands added, with the same syntax as the related validation command methods. check-in: 07494b9cdf user: rolf tags: structure
12:47
Towards working validation. check-in: 65b0bdca56 user: rolf tags: structure
01:22
wip check-in: a9b0c91436 user: rolf tags: structure
2018-11-24
02:39
Beside of attributes, ambiguous pattern, interleave pattern and text constrains missing it's near to be able to check structure. check-in: c3ae509472 user: rolf tags: structure
2018-11-22
01:16
Completed the new -validateCmd of the dom command with text probing. Added a -validateCmd option to expat parsers (with weakness on the namespace side). check-in: 51f75c38db user: rolf tags: structure
00:16
Merged from trunk. check-in: e309c8106a user: rolf tags: structure
00:13
Removed unnecessary code. The handler pair for start and end tag is enough for bookkeeping about nesting. check-in: 22bb3a056f user: rolf tags: trunk
2018-11-21
23:44
Lesser #ifdef. check-in: e4c7f3f52f user: rolf tags: structure
2018-11-20
23:41
Added test- check-in: a4d672ee5c user: rolf tags: structure
00:55
It's surprisingly hard and ugly to give tdom::pullparser a -validateCmd. And it will kill skip and find. Closed-Leaf check-in: 95ab2d3b74 user: rolf tags: digression
2018-11-19
01:14
wip check-in: 9d4517dd7e user: rolf tags: structure
2018-11-18
02:21
Added [dom parse] option -validateCmd, which expects a structure validation command as argument and validates (as far as implemented atm) the document while building the DOM tree. check-in: 75cec95b45 user: rolf tags: structure
2018-11-17
19:39
Added methods "state" and "reset" to grammar commands. check-in: 58cee39a59 user: rolf tags: structure
16:32
wip check-in: 9ab72ffba5 user: rolf tags: structure
03:24
wip check-in: c32caeca62 user: rolf tags: structure
2018-11-16
17:19
Work on the actual validation code started. check-in: 08a733189d user: rolf tags: structure
10:45
Handle the empty string gives as namespace as no namespace. check-in: 1050aa13e5 user: rolf tags: structure
00:07
Added even local definition of elements in definition scripts, overwriting the element type definition. With the major omissions of the attribute command and text constrains the grammar definition part is very basically done. check-in: d329b40cc5 user: rolf tags: structure
2018-11-15
22:20
Implemented group, interleave, mixed and (not constrained, so far) text definition script commands. check-in: 98ffa0efee user: rolf tags: structure
20:09
As with element definitions allow named pattern to be in a namespace. As a consequence, named pattern ref is namespace aware now. Even better handling in case of error in definition script. check-in: 42f69f299d user: rolf tags: structure
16:16
wip check-in: 6ee1cd2b95 user: rolf tags: structure
14:41
Added grammar definition command choice. Better handling in case of error in definition scripts. check-in: 97cfddf47e user: rolf tags: structure
12:33
wip check-in: 9dd15ff7bb user: rolf tags: structure
10:33
wip check-in: c3ebca4265 user: rolf tags: structure
03:30
wip check-in: c96290a189 user: rolf tags: structure
02:00
wip check-in: 6f3b2043e1 user: rolf tags: structure
2018-11-14
17:19
wip check-in: 5e1cde0f5a user: rolf tags: structure
14:09
wip check-in: 07a2d20746 user: rolf tags: structure
2018-11-13
23:38
wip check-in: d08f5e9d51 user: rolf tags: structure
23:29
Merged from trunk. check-in: a2fe7d385e user: rolf tags: structure
2018-11-07
10:03
The value of the name attribute of the xsl:element after attribute value template evaluation has to be a QName (and was up to now only checked if it is an XML Name). check-in: c86a3ff6bb user: rolf tags: trunk
2018-11-06
22:55
Made xsl:number work if the context node is the document node of the source document and no value attriubte is given. check-in: f1af439dfe user: rolf tags: trunk
22:45
Minor tweak check-in: bce9b847dd user: rolf tags: trunk
12:17
Minor: Now every xsl:comment call in an XSLT stylesheet will create a comment node in the result tree, even if it is empty. Up to now this happend only for not empty comment nodes. check-in: 66794b03cd user: rolf tags: trunk
2018-10-25
14:01
Bug fix: if the argument to the id() function evaluates to a node set then the result of the function call is the union of using the string value of every of the nodes in the node set and every of that string values split by whitespace into looked up items. This (splitting up the string value by whitespace into a list of looked up items) was up to now only done, if the argument evaluated to a string result. check-in: a4b0959de1 user: rolf tags: trunk
11:11
Ignore attempt to write an attribute with xsl:copy-of to the result tree if the target node already has child nodes (as xsl:attribute). check-in: 1e9bb38107 user: rolf tags: trunk
01:06
Bug fix: Corrected the default value of a templates priority in case the match pattern has the form of processing-instruction(Literal); the default value (in case of no priority attribute on the template) was -0.5 and is now 0.0. check-in: f5cb4572d8 user: rolf tags: trunk
2018-10-24
12:56
Added a few tests more regarding to processing instruction nodes handling in XPath expressions. check-in: 9b7ef1556b user: rolf tags: trunk
09:21
Fix for [9eba7475e7f6f9]. check-in: 8943afe645 user: rolf tags: trunk
2018-10-18
23:16
Simplified the master file of the included test suite, mostly by removing not longer needed cruft. And other minor test suite gardening. check-in: fa94139e03 user: rolf tags: trunk
2018-10-15
22:03
Support for p/bmake and FreeBSD make. check-in: 8155ecddbd user: rolf tags: trunk
2018-10-12
14:55
Fixed documentation error. check-in: dc9d2b8fc4 user: rolf tags: trunk
11:42
Updated to expat 2.2.6. check-in: f203e13dcf user: rolf tags: trunk
10:56
Changed version to 0.9.2. check-in: 9cb9a81c72 user: rolf tags: trunk
2018-10-06
00:38
Defined the return value of some featureinfo methods more precisely. For background see [38409e31938f]. check-in: 18be91e27b user: rolf tags: trunk
2018-10-05
23:36
Require the current needed minimal version in Tcl_InitStubs. check-in: a5c8f9b468 user: rolf tags: trunk
2018-08-27
11:57
Integrated bug fixes / improvements of the included simple HTML reader into trunk. check-in: 0c53fb967a user: rolf tags: trunk
2018-08-26
00:42
Fix for [6abd3a24fbadf]. Closed-Leaf check-in: 8dfd0cb03d user: rolf tags: htmlreader
2018-08-16
23:34
Applied modified patch from [3807a4ac722c] (and removed unnecessary initializations seen while working on the code). check-in: 18d8d9f083 user: rolf tags: htmlreader
2018-08-09
23:21
Merged from trunk. check-in: a04a1069fe user: rolf tags: structure
23:16
Removed cruft. check-in: f48a402792 user: rolf tags: trunk
2018-08-08
22:39
Changed the license to MPL 2.0. check-in: 39f9d6bbbf user: rolf tags: trunk
2018-07-29
23:00
Made the make target tcldomsh work without a prior make all. check-in: cc537df20f user: rolf tags: trunk
2018-07-27
10:06
Merged from trunk. check-in: d50d0f374e user: rolf tags: stackless_asXML
2018-07-25
23:12
Merged from trunk. check-in: d554f9574e user: rolf tags: domvalidation
23:07
Fixed a typo. check-in: 7476c3ea9d user: rolf tags: trunk
23:06
Made the build system closer to recent TEA. Most of the valuable work was done by Stuart Cassoff. check-in: 59c3d27071 user: rolf tags: trunk
23:03
Merged from trunk. Closed-Leaf check-in: 5d4b4c3d25 user: rolf tags: nearerTEAtoThee
2018-07-24
21:30
Release 0.9.1 check-in: 86c70df47c user: rolf tags: trunk, release, tdom-0-9-1-rc, tdom-0-9-1
2018-07-23
21:53
Updated README. Closed-Leaf check-in: b82decbc00 user: rolf tags: tdom-0-9-1-rc
10:42
Applied a last round of spell fixes provided by the debian tDOM maintainers. check-in: 02bf3a9823 user: rolf tags: trunk
10:28
Merged the fixes for the scripted helper procs baseURL and extRefHandler for Windows paths containing drive letters provided by Ashok P. Nadkarni. check-in: 905eec2720 user: rolf tags: trunk
2018-07-22
08:50
Fix baseURL and extRefHandler for Windows paths containing drive letters. Note that the tcllib uri package used by extRefHandler was broken until V1.2.7. This version only tested with that version.

There is still an unrelated bug pending in that URI's are supposed to be url-encoded but the code does not currently handle that and will fail for special characters in the path. Closed-Leaf check-in: fadeed7802 user: apnadkarni tags: win-uri-fix

2018-07-20
23:51
Merged the other part of Stuart Cassoffs work towards keeping the tDOM build system in sync with TEA development. check-in: 6bcddd7f77 user: rolf tags: nearerTEAtoThee
22:59
Integrated a first part of Stuart Cassoffs work towards keeping the tDOM build system in sync with TEA development. check-in: dc90a44cf6 user: rolf tags: nearerTEAtoThee
09:58
Merged from trunk. check-in: 401652dca9 user: rolf tags: nearerTEAtoThee
2018-07-19
12:53
Create new branch named "win-uri-fix" check-in: 7e818a10f8 user: apnadkarni tags: win-uri-fix
00:42
Fixed the test suite so that it should run without failure even if the build dir is outside the source tree. check-in: 96b8d81fe9 user: rolf tags: trunk
2018-07-18
23:59
Makefile.in could be more in sync with TEA. check-in: 15fc3242db user: rolf tags: nearerTEAtoThee
14:41
Attempt to make tdom::baseURI return "the right thing" for absolute paths on windows. check-in: b4d45b8409 user: rolf tags: trunk
05:20
Fix HAVE_MEMMOVE conflict with expat check-in: 0ef0ce1813 user: apnadkarni tags: trunk
2018-07-17
00:23
Some --pedantic compiler pacifying. check-in: 491081c44c user: rolf tags: trunk
00:09
Trumpet the pull interface a bit in the overview. check-in: a08a033618 user: rolf tags: trunk
00:06
Chanced tDOM to tdom. check-in: 35998b8a0d user: rolf tags: structure
2018-07-16
21:48
Merged from trunk. check-in: 384f1e40d8 user: rolf tags: structure
21:36
The package name is tDOM, but it always has been requested by [package require tdom] and now the scripted helper commands in tdom.tcl are also in the namespace tdom (not anymore in tDOM). The new pullparser command is now also in this namespace. There are aliases from the old command names to the new one, so there must be nothing done; old scripts will run as they did. It's just, that you in new code don't have to write serveral upcase letters in a row because of tDOM. check-in: afde497780 user: rolf tags: trunk
2018-07-14
14:15
Added more infomation about what changed with the new expat version to CHANGES. check-in: 19cf312be6 user: rolf tags: trunk
01:43
Updated to expat 2.2.5. Expat now want to use a "good" entropy source to salt internal hash tables (to reduce the possibility of DoS attacts with malicious XML input). Configure tries to figure out automatically the most appropriate entropy source on your platform. The new configure switch --with-entropy gives control over that. The configure switch --without-entropy disables all this; with that expat (and in turn tDOM) will use what was used in earlier expat versions. check-in: 6fffa3e7af user: rolf tags: trunk
01:37
Work-around an expat 2.2.5 XML_ResumeParser() bug. Closed-Leaf check-in: 1c8b9934b9 user: rolf tags: expat-update
2018-07-13
01:18
Working on the failing pullparser tests. check-in: 2ad72e5616 user: rolf tags: expat-update
2018-07-12
23:14
Made it a bit easier to disable all the new expat entropy source limbo dance by just --without-entropy. check-in: 3a4f79562b user: rolf tags: expat-update
22:48
Merged from trunk. check-in: 24bc5ef530 user: rolf tags: expat-update
22:27
Updated TEA. check-in: 740e401adc user: rolf tags: trunk
22:05
The pullparser command (and implementation) can be disabled with a define. check-in: 66f5a1c0cd user: rolf tags: trunk
21:47
Editorial change to pacify a compiler warning. check-in: c6ed107738 user: rolf tags: trunk
21:44
Fixed the last commit. check-in: 5fda7dd7cb user: rolf tags: trunk
21:40
More editorial changes to pacify compiler warnings. check-in: 0b3ae53e6c user: rolf tags: trunk
21:13
Fixed typo. check-in: d751df84d9 user: rolf tags: trunk
21:04
Fix configure in case of --enable-html5 and gumbo installed in non-standard places. Plus other small corrections and improvements related to configure --enable-html5. check-in: 2b88599435 user: rolf tags: trunk
21:01
Only one AC_MSG_ERROR line makes sense for obvious reason. Closed-Leaf check-in: 952341c0d9 user: rolf tags: configurefix
19:57
Fix configure in case gumbo is installed in non-standard places. Plus other small corrections and improvents related to --enable-html5. check-in: a230fd334b user: rolf tags: configurefix
2018-07-11
14:01
Fixed a spelling. check-in: 4052b73937 user: rolf tags: structure
00:47
wip check-in: 991c38bfe7 user: rolf tags: structure
00:26
Merge trunk. check-in: 132adf28aa user: rolf tags: expat-update
00:25
Merge trunk. check-in: e40efd38e1 user: rolf tags: structure
2018-07-10
22:25
More typo fixes. Thanks goes to Gustaf Neumann. check-in: 26cf441c85 user: rolf tags: trunk
21:45
Removed code duplication. check-in: 94bf2ac99f user: rolf tags: trunk
21:18
Fixed bug (demonstrated by [590b76f97d4]) in namespace handling if the simple parser is used and the XML data has an empty element node with an XML namespace declaration that is given with same prefix/URI also on a following sibling of that element and which uses the empty element syntax. check-in: f6de2da35d user: rolf tags: trunk
00:12
Document seg fault with simple xml parser. check-in: 590b76f97d user: rolf tags: trunk
2018-07-09
23:08
wip check-in: 4e26ac4dc7 user: rolf tags: structure
18:44
wip check-in: 7ca279c63d user: rolf tags: structure
2018-07-05
00:01
More work. check-in: 43b5229cc5 user: rolf tags: structure
2018-07-01
14:37
Merged from trunk. check-in: 2c904ce939 user: rolf tags: expat-update
2018-06-13
00:33
More layout. check-in: 9d267dbc02 user: rolf tags: structure
2018-06-09
00:22
Editorial changes to pacify a few compiler warnings. check-in: f56cc2fc46 user: rolf tags: trunk
2018-06-07
01:59
Continued work. check-in: 00e1cc4e29 user: rolf tags: structure
2018-06-06
00:16
Musing about generic structure validation. check-in: a71edddc7e user: rolf tags: structure
2018-06-04
18:08
Refer the node cmd/token that isn't a domNode in error msg. check-in: d404fd67a8 user: rolf tags: trunk
13:03
Refer the node cmd/token that isn't a domNode in error msg. Closed-Leaf check-in: cde666b194 user: rolf tags: notANodeMsg
2018-05-28
03:41
Reorder RANLIB clause to avoid "permission denied" error. check-in: c54834be20 user: yorick tags: trunk
2018-05-27
00:22
Removed unused variable. check-in: 0e29ef329c user: rolf tags: trunk
2018-05-24
13:47
Added a tnc test. check-in: 6cc90fd8ef user: rolf tags: trunk
2018-05-23
22:26
Merged from trunk. check-in: 7505ede59d user: rolf tags: domvalidation
2018-05-17
23:46
Small improvement (and optimization) of the domNode attributes method. check-in: 054337d785 user: rolf tags: trunk
23:30
Merged from trunk. check-in: 8573f8d755 user: rolf tags: expat-update
23:19
Maybe eventually fixed the configure machinery for searching for a entropy source for expat. Thanks goes to stu. check-in: 1255e71973 user: rolf tags: expat-update
20:49
See file. check-in: 2f5cf2b710 user: rolf tags: trunk
20:48
Added new method attributeNames to domNode (cmds). check-in: 6cdb7b929b user: rolf tags: trunk
02:07
Explained better what the domNode attributes method does and added a few words of documentation about the new simple attributeNames method. Closed-Leaf check-in: e212f6deff user: rolf tags: attributeNames
01:45
Added a few tests. check-in: fef3d03e08 user: rolf tags: attributeNames
2018-05-15
00:10
Added attributeNames method to domNode (cmds), simply returning the literal attriubte names. check-in: acce545518 user: rolf tags: attributeNames
2018-05-10
23:34
Added note about the new pull parser methods to CHANGES. check-in: 82c3e1a6bf user: rolf tags: trunk
23:29
Added new methods line and column to most pull parser states. check-in: b35e690afe user: rolf tags: trunk
23:27
Added a few words documentation about the new methods line/column. Closed-Leaf check-in: 7f26faa75b user: rolf tags: pplc
23:06
Done what could be done without runtime costs. check-in: 12b2139d1e user: rolf tags: pplc
01:46
Started implementation of methods line and column for most states, reporting the line and column nr in the input XML which rased the state. check-in: da47d218b2 user: rolf tags: pplc
00:27
Improved documentation. check-in: 39ca22d729 user: rolf tags: trunk
00:08
C style modernization of the integrated dtd validation. check-in: bd57fb495e user: rolf tags: domvalidation
2018-05-09
23:59
Merged from trunk. check-in: dc7f7734d0 user: rolf tags: domvalidation
23:58
Modernizing the C style, deCONSTifing. check-in: c1bddcddb3 user: rolf tags: trunk
23:14
Finer details of the memory management: While the tdom expat api cares for tnc about cleaning up the content models that expat hands out to the user, an integration into dom has to care by itself. check-in: c0393aab8d user: rolf tags: domvalidation
19:47
Merged from trunk. check-in: 05b7cbc62a user: rolf tags: domvalidation
19:46
Some renames to make it easier to keep tnc and branch domvalidation in sync. check-in: 0546eec94f user: rolf tags: trunk
2018-05-05
00:51
Work in progress. Closed-Leaf check-in: b9f7043440 user: rolf tags: wip
00:06
Plugged memory leak: Not all collected DTD data got freed. check-in: 3e77c15091 user: rolf tags: domvalidation
2018-05-04
22:24
Merged from trunk. check-in: b8bdad56db user: rolf tags: domvalidation
17:51
Fixed attribute serialization (an omit of the last merge conflict resolve). check-in: 6cad169b8f user: rolf tags: stackless_asXML
17:40
Merged from trunk. check-in: 218dbbf795 user: rolf tags: stackless_asXML
17:39
Added serialization test. check-in: 3fd564bb2e user: rolf tags: trunk
17:09
Merged from trunk. check-in: 2233d2d25a user: rolf tags: stackless_asXML
12:02
Added note about the new asXML options to CHANGES. check-in: 67f94983f5 user: rolf tags: trunk
11:57
Integrated the new asXML options. check-in: 0906a7a6f5 user: rolf tags: trunk
11:55
Added documentation for the new asXML options. Closed-Leaf check-in: 190601fb92 user: rolf tags: serializeOptions
2018-05-03
23:56
Merged from trunk. check-in: ecabd202f2 user: rolf tags: expat-update
23:49
Added flags -nogtescape and -noEmptyElementTag to the asXML method. check-in: a9786e0525 user: rolf tags: serializeOptions
20:56
Merged from trunk. check-in: 43e858d8cf user: rolf tags: serializeOptions
19:41
Added note about [1069b49d243e0b]. check-in: 0bf32f09fe user: rolf tags: trunk
14:31
Musing about nodeToken Obj type test. Closed-Leaf check-in: c09a9b5b89 user: rolf tags: nodeTokeTest
00:19
Simplified code. check-in: ef832dfa80 user: rolf tags: trunk
2018-05-02
20:34
Don't ignore error while setting nodeObjVars. check-in: a231fcafa2 user: rolf tags: trunk
19:29
Added the pull parser source file to the windows build system for VC. check-in: c5074f1780 user: rolf tags: trunk
19:25
Eventually removed "support" for tcl 8.0.5 - it was a false assertion since a while. check-in: 064a48e572 user: rolf tags: trunk
19:11
Again, more pruning. Closed-Leaf check-in: f14a12cfdc user: rolf tags: abandon80
15:27
More pruning. check-in: 731b463a74 user: rolf tags: abandon80
15:12
Removed "support" for Tcl 8.0 - it probably doesn't even build any more. Eventually it's time prune out this #ifdefery. check-in: d729de4c39 user: rolf tags: abandon80
10:07
Merged from trunk. check-in: b8f934943a user: rolf tags: serializeOptions
10:03
Fixed editing error. check-in: cb72ce2fdf user: rolf tags: trunk
2018-04-30
23:55
Merged from serializeOptions check-in: 2f998e59f5 user: rolf tags: stackless_asXML
23:32
More work on serialization flags. check-in: 617801ee8e user: rolf tags: serializeOptions
14:51
Merged from trunk. check-in: 0774fa6898 user: rolf tags: serializeOptions
14:50
Added script, that helps measuring (micro-)optimizations. check-in: 834c959f81 user: rolf tags: trunk
14:41
Minor speed optimization. check-in: 19edb1e323 user: rolf tags: serializeOptions
09:55
Start small rework: use bit-fields for options. check-in: a833b3edf3 user: rolf tags: serializeOptions
2018-04-27
15:56
Described better what pull parsers do with CDATA sections. check-in: 82da650bd7 user: rolf tags: trunk
2018-04-26
23:12
Added the documentation for pull parsers to the documentation indexes. check-in: 2174b4b773 user: rolf tags: trunk
21:57
Hardened token mode a little bit. check-in: 36e470e5a6 user: rolf tags: trunk
2018-04-25
11:04
merge trunk Leaf check-in: d48f501330 user: yorick tags: pyk-parsexpath
10:23
Back out the documentation for renameNode. This method isn't "public" atm and may change its interface before it will be. check-in: 8cad55ff91 user: rolf tags: trunk
05:21
Add documentation for "renameNode". check-in: bb27c56d41 user: yorick tags: trunk
2018-04-24
22:19
This change is probably important if you change larger DOM trees and do XPath queries with large result sets afterwards. If build with -DTCL_THREADS=1, which do people routinely these days even without noting (the windows binaries on tdom.org are build this way, f.e.), some things must to be done in a thread safe way and a feature is added: the ability to share a DOM tree between threads. If a DOM tree is in fact shared a certain important (for big result sets) XPath query optimization can't be done automatically. Now this optimization is done for all not between threads shared docs (no matter how tdom was build). check-in: 1069b49d24 user: rolf tags: trunk
2018-04-23
23:59
Added test related to [696962e4d]. Closed-Leaf check-in: 51b58f0a65 user: rolf tags: tokenMode
21:40
Pacify [696962e4dd42505]. check-in: f1a4004602 user: rolf tags: tokenMode
2018-04-19
23:52
Made test suite 9.0 compatible. Builds from 8.4 - 9.0 and runs test suite without error (one test error with 8.4 because of int wide). check-in: 3c5422fea4 user: rolf tags: trunk
2018-04-10
22:23
Plugged a few memory leaks. check-in: 46dd7587a5 user: rolf tags: domvalidation
20:12
Made this work still together with tnc. check-in: 1d3da57d29 user: rolf tags: domvalidation
2018-04-07
01:01
Merged from trunk. check-in: 85c3c7cf1e user: rolf tags: domvalidation
00:59
Still builds (and works) back to 8.4 (and maybe even to 8.3) and now new also with (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. check-in: c20f5260c7 user: rolf tags: trunk
00:51
Builds now with 8.4 (and maybe even with 8.3) until (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. Closed-Leaf check-in: 9eb5979f33 user: rolf tags: deCONST
2018-04-06
16:18
Merged from trunk. check-in: 920496e776 user: rolf tags: deCONST
16:18
Pruned out more old ANSI_ARGS usage. check-in: a54f9b058d user: rolf tags: trunk
16:06
Removed a CONST comming from trunk and a few others that dangled around. check-in: 640861fcf5 user: rolf tags: deCONST
15:57
Merged from trunk. check-in: 7b9d2c1ea6 user: rolf tags: deCONST
09:44
Test to document problem fixed with [0fb34974584ae2]. check-in: d573bb0b47 user: rolf tags: trunk
2018-04-05
22:52
Ensure to reset the interp result after calls to the callback after script to make the logic of https://tdom.org/index.html/artifact?ln=6578-6639&name=5ec78e1acb36f517 work (again). check-in: 0fb3497458 user: rolf tags: trunk
2018-03-27
08:55
merge trunk check-in: 74a41afcca user: yorick tags: pyk-parsexpath
2018-03-25
01:00
Added reporting. Basically works. check-in: c3fc6b8de5 user: rolf tags: domvalidation
2018-03-24
16:09
Added code to the last missing handlers. Some smaller things (reporting, foreign DTD) but otherwise should be almost there. check-in: 007826727c user: rolf tags: domvalidation
02:04
Started musing about what it means to integrate XML DTD validation into the dom command (on various scales). check-in: 5bd1293e53 user: rolf tags: domvalidation
2018-03-21
23:50
Added benchmark test for expat with tdom and tnc. check-in: 6ade23ef3e user: rolf tags: trunk
20:46
Refined the benchmark tests to expose the DOM building time more. check-in: fb2e8f3cbc user: rolf tags: trunk
20:14
Added the external DTD for REC-xslt-19991116.xml to the test data. Used that for a more complex DTD validation test. check-in: 2f34951b42 user: rolf tags: trunk
01:54
Started test suite to measure overhead of using stacked handler compared with [dom]. check-in: 334c4fa6cf user: rolf tags: trunk
2018-03-09
00:58
Indentation. check-in: 7c46ddb63f user: rolf tags: trunk
00:38
Noted user visible changes. check-in: 4cb486509a user: rolf tags: trunk
00:16
Make pull parser a real thing. check-in: e96d74234d user: rolf tags: trunk
2018-03-08
23:19
Merged from trunk. Closed-Leaf check-in: 4c3629f439 user: rolf tags: pullAPI
2018-03-07
00:45
Added method delete to [expat] push parsers, made the up to now method free an alias of that. To have at least for deletion some consistence about the obj cmds that tDOM creates. check-in: c5d89835b8 user: rolf tags: trunk