Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of generic/schema.h
2019-12-05
| ||
13:27 | Try an O(n) approach for simple choice cases. file: [577ec42a9a] check-in: [4b65eabd78] user: rolf branch: mixedoptimization, size: 5653 | |
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: [68817ccd51] check-in: [d3e7475b85] user: rolf branch: wip, size: 5623 | |
2019-11-09
| ||
16:56 | wip file: [07f729b2d1] check-in: [d10c95ec06] user: rolf branch: wip, size: 5574 | |
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: [94c37f5478] check-in: [e795f2b9f0] user: rolf branch: wip, size: 5532 | |
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: [c9c33581c1] check-in: [70f5d362f7] user: rolf branch: wip, size: 5566 | |
2019-10-23
| ||
09:25 | Merged from schema. file: [4bd661db2d] check-in: [3c16fd1ab1] user: rolf branch: wip, size: 5589 | |
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: [0ee7f6e63a] check-in: [39d74a1df4] user: rolf branch: schema, size: 5515 | |
2019-10-17
| ||
00:41 | Recovery is hard. For several reasons. file: [f96f126f50] check-in: [bd90f4a8d4] user: rolf branch: wip, size: 5646 | |
2019-10-10
| ||
01:50 | Started info subcommand pastexpected. file: [e2c28275fd] check-in: [78b0aac051] user: rolf branch: wip, size: 5612 | |
2019-08-25
| ||
00:22 | wip file: [c05f65a4cc] check-in: [b6f3e3b2b4] user: rolf branch: wip, size: 5572 | |
2019-05-29
| ||
12:57 | Starts to actually do something. Still some way to go. file: [f207b35a46] check-in: [6eb6891a1e] user: rolf branch: keyspaces, size: 5539 | |
2019-05-28
| ||
00:29 | Save work. file: [b5b935d9d1] check-in: [48be317469] user: rolf branch: keyspaces, size: 5538 | |
2019-05-25
| ||
00:46 | Started work. (Wenn es anders nicht geht, so geht es doch viel besser.) file: [e6e0272d56] check-in: [11c1cd9dad] user: rolf branch: keyspaces, size: 5353 | |
2019-05-24
| ||
12:54 | Save work. file: [8905db86c8] check-in: [66e05a9e1a] user: rolf branch: localkey, size: 6359 | |
2019-05-21
| ||
22:37 | Merged from schema. file: [30dbc088fd] check-in: [72ce7820c1] user: rolf branch: localkey, size: 6309 | |
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: [2e19865939] check-in: [6a51d9897b] user: rolf branch: domlocalkey, size: 5328 | |
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: [3126cc692f] check-in: [f645e5dfe1] user: rolf branch: domlocalkey, size: 5310 | |
2019-05-18
| ||
00:41 | Save work. file: [1ffa747488] check-in: [4592100a23] user: rolf branch: localkey, size: 6068 | |
2019-05-17
| ||
00:02 | Now start to actually use the local key constraint info. file: [49127e1860] check-in: [120c8294a0] user: rolf branch: localkey, size: 5885 | |
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: [1fcfe8c259] check-in: [69c262ef77] user: rolf branch: localkey, size: 5669 | |
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: [077e7323f2] check-in: [abc0715900] user: rolf branch: localkey, size: 5643 | |
2019-05-14
| ||
20:04 | Merge from schema. file: [abaffab43c] check-in: [dc36b35000] user: rolf branch: localkey, size: 5625 | |
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: [adfe384d26] check-in: [6b550b98f8] user: rolf branch: schema, size: 5057 | |
2019-05-10
| ||
16:05 | Save work. file: [25755f6a9c] check-in: [2596c19c35] user: rolf branch: localkey, size: 5512 | |
00:40 | Merge from schema. file: [bbfb985ef0] check-in: [508a776b44] user: rolf branch: localkey, size: 5141 | |
00:36 | Added method prefixns to schema cmds. This allows to point to namespace URIs by shortcuts or prefixes. file: [eff2eb63fa] check-in: [74a399d84f] user: rolf branch: schema, size: 4944 | |
2019-05-09
| ||
19:16 | Merged from schema. file: [99fad37382] check-in: [4879bb492b] user: rolf branch: localkey, size: 5094 | |
2019-05-07
| ||
22:52 | Implementend restricted XPath expressions for local key selectors and fields. file: [83d7de1805] check-in: [918781e945] user: rolf branch: localkey, size: 5123 | |
2019-05-02
| ||
16:53 | Added text constraint commands id and idref. file: [fa0d8bc469] check-in: [a886296dc3] user: rolf branch: schema, size: 4897 | |
2019-03-07
| ||
23:12 | Removed an ancient CONST, that somehow sliped in. file: [c41461cf0d] check-in: [afef231e60] user: rolf branch: schema, size: 4851 | |
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: [566b008335] check-in: [71d80fea6e] user: rolf branch: virtualConstraints, size: 4851 | |
00:05 | Merged from schema. file: [a2b3132bd8] check-in: [f189f4695e] user: rolf branch: virtualConstraints, size: 4826 | |
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: [58222da840] check-in: [2774ed6a5a] user: rolf branch: schema, size: 4802 | |
2019-03-02
| ||
15:21 | Work in progress on reportcmd/recovering and schemacmd info. file: [662d43c706] check-in: [811794c107] user: rolf branch: schema, size: 4741 | |
2019-02-21
| ||
00:49 | Added stubs for new schemacmds methods "query" and "reportcmd". file: [842af19d85] check-in: [c39b98ff18] user: rolf branch: schema, size: 4722 | |
2019-02-19
| ||
01:36 | Merged from schema. file: [f2f8a49e07] check-in: [7718b1e0ff] user: rolf branch: virtualConstraints, size: 4722 | |
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: [0ad57ffcaf] check-in: [bd8b0eecee] user: rolf branch: schema, size: 4698 | |
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. file: [ad53093e3a] check-in: [ee18aed126] user: rolf branch: schema, size: 4650 | |
2019-02-09
| ||
01:45 | Merged from schema. file: [c6ed9883c3] check-in: [48f9a019fa] user: rolf branch: virtualConstraints, size: 4647 | |
2019-02-08
| ||
02:02 | Simple interleave implementation. Wip. file: [74e50c58ba] check-in: [73774a8105] user: rolf branch: schema, size: 4623 | |
2019-02-07
| ||
11:48 | Merged from schema. file: [ef709ae86a] check-in: [cb3f5356f1] user: rolf branch: virtualConstraints, size: 4608 | |
11:23 | Simplified internal machinery needed/used to evaluate definition scripts of content particles. file: [59743b4b08] check-in: [0548486743] user: rolf branch: schema, size: 4584 | |
2019-01-29
| ||
08:38 | New constraint command "tcl" basically implemented: A "virtual" element content constraint that call out to any tcl code, but doesn't match. file: [9f604e4f5b] check-in: [38c1bf89b0] user: rolf branch: wip, size: 4717 | |
2019-01-26
| ||
02:13 | Got rid with the validation stack element struct member deep - it isn't really needed for something, so far. file: [3fc96d8e1a] check-in: [e99a1cbf97] user: rolf branch: schema, size: 4693 | |
2019-01-24
| ||
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"). file: [a27455674b] check-in: [144b99b476] user: rolf branch: schema, size: 4721 | |
2019-01-21
| ||
00:46 | wip file: [b3eddd5a64] check-in: [3851efb4ac] user: rolf branch: wip, size: 4742 | |
2019-01-17
| ||
23:36 | Removed distinction between SCHEMA_CTYPE_GROUP and SCHEMA_CTYPE_PATTERN. file: [e428802dbf] check-in: [fdccdbf344] user: rolf branch: schema, size: 4708 | |
22:41 | Now, the overhauled validation engine does the same as the old state and even a bit more, and better. file: [51a9753b82] check-in: [6ed41c0c75] user: rolf branch: wip, size: 4730 | |
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: [1f568e20ad] check-in: [da6f9ed382] user: rolf branch: wip, size: 4499 | |
2019-01-11
| ||
02:34 | Separating text validation code from structure validation code? On the long run probably sure, but maybe not now. file: [b0cc73816d] check-in: [b356c78a42] user: rolf branch: digression, size: 5077 | |
01:02 | Enabled validate constraints on attribute values. file: [b466a637e2] check-in: [0e11568b4c] user: rolf branch: schema, size: 4657 | |
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: [3ecafebff3] check-in: [1c5ebc685d] user: rolf branch: schema, size: 4705 | |
02:08 | Steps towards data typing. file: [a768a387ae] check-in: [5407acfd0f] user: rolf branch: schema, size: 4600 | |
2019-01-08
| ||
23:25 | Added domvalidate. file: [5d2b845a38] check-in: [e2a53e2d60] user: rolf branch: schema, size: 4492 | |
00:38 | Working towards dom doc/tree validation. file: [0587f341ee] check-in: [65778581a3] user: rolf branch: schema, size: 4452 | |
2019-01-06
| ||
02:55 | wip file: [4408cd17fd] check-in: [6b331d4861] user: rolf branch: schema, size: 4380 | |
2018-12-29
| ||
01:12 | Added basic attribute validation (atm not namespaced attributes only) to the schemacmd validate method. file: [d3e2813c72] check-in: [5b8de8b8d6] user: rolf branch: schema, size: 4134 | |
2018-12-26
| ||
01:51 | At least simple attribute handling; wip. file: [640fc97479] check-in: [ffc7a9db6d] user: rolf branch: schema, size: 4071 | |
2018-12-24
| ||
01:18 | wip file: [85fc80c60f] check-in: [f2ac18ad75] user: rolf branch: schema, size: 4076 | |
2018-12-18
| ||
01:26 | Minor tweaks, while musing whats next. file: [1275733ae9] check-in: [abf70d4748] user: rolf branch: schema, size: 3555 | |
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: [b2f4262cd5] check-in: [a2d614e328] user: rolf branch: schema, size: 3530 | |
2018-12-14
| ||
00:39 | Pondering around. file: [1cdc37e585] check-in: [cd9d6983e0] user: rolf branch: wip, size: 3552 | |
2018-12-12
| ||
01:28 | wip file: [db561c1465] check-in: [8942834c46] user: rolf branch: wip, size: 3530 | |
2018-12-07
| ||
14:12 | wip. Lot's of open tasks; the picture of the next rewrite of the back end gets clearer. file: [f6e796ef52] check-in: [0fe2d35d5c] user: rolf branch: schema, size: 3782 | |
2018-12-06
| ||
22:13 | Renamed structure to schema. file: [b93c53b834] check-in: [084cbc63a1] user: rolf branch: schema, size: 3755 Renamed from generic/structure.h | |