tDOM

Timeline
Login

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

50 most recent check-ins

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). Leaf 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 Leaf 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. Leaf 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