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

467 check-ins using file tests/i18n.test version 3e754eb159

2022-02-04
20:02
Correct [0f17fa49306ca]. check-in: 12909b2975 user: rolf tags: trunk
19:58
Made feature check test constraints work with 9.0. check-in: 5543e699e6 user: rolf tags: trunk
17:20
Prepare for TIP 595 fallout. check-in: 0f17fa4930 user: rolf tags: trunk
2022-01-27
13:37
Fixed memory leak in case of dom parsing w/ a -validateCmd which is in use. check-in: 436f9b8957 user: rolf tags: trunk
2022-01-15
16:39
Start integrate new BillionLaughsAttackProtection featurs. Closed-Leaf check-in: f540486a07 user: rolf tags: expat-update
16:29
Expat 2.4.2 check-in: 3c331ee575 user: rolf tags: expat-update
2022-01-10
01:35
Fixed argument check of a few schema commands. check-in: 6fcae124ae user: rolf tags: trunk
01:07
Fixed possible bufffer overrun because of too small buffer for a sprintf. check-in: c18371f74a user: rolf tags: trunk
2021-12-02
11:49
don't need copy a command of bulk handler, because no arguments will be supplied check-in: 6dfe577aaf user: sebres tags: experimental/bulk-xml-parse
2021-12-01
17:27
parsing of binary channel uses XML_ParseBuffer now (similar to parse file), so able to consider encoding specified in xml declaration check-in: e5d2c48bf5 user: sebres tags: experimental/bulk-xml-parse
2021-11-18
14:27
merge libexpat v.2.4.1 check-in: 281016f9cf user: sebres tags: experimental/bulk-xml-parse
14:24
version bump Closed-Leaf check-in: fe5b11eae2 user: sebres tags: libexpat-2.4.1
14:12
update expat to v.2.4.1 check-in: e3d7bd99ae user: sebres tags: libexpat-2.4.1
2021-11-12
09:59
more tests (covering properly stop on error/return in bulk XML-end handler) check-in: 9ba9808c25 user: sebres tags: experimental/bulk-xml-parse
2021-11-11
21:03
avoid to invoke bulk xml-end handler for empty block (e. g. repeated call of XML_ParseBuffer with final=1 invoked at end of file) check-in: 09bb4833ca user: sebres tags: experimental/bulk-xml-parse
18:16
xml-parser extended with bulk parsing facilities, if -bulkxmlendcommand handler specified multiple XML chunks in single stream/data can be parsed in one go check-in: 1f0952c224 user: sebres tags: experimental/bulk-xml-parse
2021-10-20
00:59
Integrated new element type system. check-in: 001a39426b user: rolf tags: trunk
2021-10-19
23:34
Documented the new element type mechanism. Closed-Leaf check-in: eb00a03da2 user: rolf tags: newtypes
2021-10-18
22:24
Integrated "Enhanced schema definition cleanup in case of script error withing a definition script". check-in: 3c5db29a40 user: rolf tags: newtypes
22:22
Enhanced schema definition cleanup in case of script error withing a definition script. Closed-Leaf check-in: 584c009ce7 user: rolf tags: wip
2021-10-16
15:59
Debuging. check-in: 1cc3580646 user: rolf tags: wip
2021-10-14
23:46
More work. check-in: 54db4d064f user: rolf tags: newtypes
2021-10-13
23:50
Still deeply in development. check-in: 2386218bdc user: rolf tags: newtypes
2021-10-10
23:14
More starting work. check-in: d1e2746cfa user: rolf tags: newtypes
2021-10-09
13:07
Started named types that can be assigned to elements. check-in: c2de60ce67 user: rolf tags: newtypes
2021-08-14
00:11
Added a test- check-in: 4377788fa8 user: rolf tags: trunk
2021-06-02
23:34
Noted the expat update in CHANGES. check-in: aa40b2a504 user: rolf tags: trunk
23:32
Update to expat-2.3.0. check-in: 07baccdcdc user: rolf tags: trunk
23:30
Reviewed integration of expat-2.3.0. Closed-Leaf check-in: 6e3bbe74a2 user: rolf tags: expat-update
2021-06-01
22:33
Added LDFLAGS to the various Makefile.in, as fix for [33972ca1bba1e689]. check-in: f67c0295c6 user: rolf tags: trunk
2021-05-07
00:37
Workaround for some fallout of TIP 542. check-in: 70a9b6c858 user: rolf tags: towardsTcl9
2021-05-05
13:51
Adapted code to deal with Tip 543. check-in: f1dbc9d96c user: rolf tags: towardsTcl9
2021-05-01
01:29
Added data files used by xsd2schema.tcl. check-in: 776e9d39f9 user: rolf tags: toschema
01:23
Save work. check-in: 2751afbf8d user: rolf tags: toschema
2021-04-30
19:35
Merged from trunk. check-in: 8ee35f88cd user: rolf tags: toschema
19:35
Allow the the usual regexp syntax (case-sensitive) for the text constraint command regexp - not only no reason to do not but that also matches better the xsd regexp dialect. check-in: fdf4cbc1b8 user: rolf tags: trunk
19:31
More improvements including handling of attributeGroups referencing itself (allowed in xsd 1.1) and avoid of possible name conflicts of complexType/group (which both are translated into defpattern). check-in: 79dbb7ba49 user: rolf tags: toschema
11:04
Various minor and not so minor fixes and enhancements. check-in: be358b1ccf user: rolf tags: toschema
2021-04-28
23:36
Merge from trunk. check-in: fd8662a1e6 user: rolf tags: toschema
23:35
Allow forward references to text types. check-in: e4fcea86e8 user: rolf tags: trunk
21:58
Save work. check-in: 1ab5eb5e7e user: rolf tags: toschema
2021-04-24
14:15
Fixed typo in output message. check-in: 6fa4c2c77d user: rolf tags: toschema
01:52
Save work. check-in: c024978d71 user: rolf tags: toschema
2021-04-23
10:36
Merged from trunk. check-in: c51fa29e2a user: rolf tags: toschema
10:36
Corrected documentation. check-in: c82d05a321 user: rolf tags: trunk
10:31
Merged changes in. check-in: 6608833ba3 user: rolf tags: toschema
10:29
Save work. Closed-Leaf check-in: 9e95ecf5d3 user: rolf tags: wip
2021-04-22
21:56
Revived. check-in: acd89152b3 user: rolf tags: wip
2021-04-01
00:12
Expat 2.3.0 check-in: 0a93cb62bb user: rolf tags: expat-update
2021-03-20
03:23
Moved the Tcl flavour of double (Tcl_GetDouble()) from number to the new double command. Renamed the number command to decimal (which it is, the xsd style of decimal). Leaf check-in: 3fa6fdc5e0 user: rolf tags: decimal
2021-03-19
02:13
Implementend text constaint command double (according to xsd rules). check-in: 8a666f99cd user: rolf tags: decimal
2021-03-18
02:12
Backouted [36e470e5a63b3a]. Turned out what should have been clear right from the start that cheating around in the background with the string value of a Tcl_Obj is not a good idea. check-in: cc4953c8a2 user: rolf tags: trunk
2021-03-13
15:56
wip check-in: e64df8b89b user: rolf tags: wip
2021-03-05
23:30
wip check-in: be3e5312c0 user: rolf tags: wip
2021-02-19
02:50
Simplified validateDOM(), yet enabled dom validation for successive text nodes, as with JSON data. By default tDOM parses XML into "normalized" DOM trees and if there are nevertheless successive text nodes then there is already the normalize method. check-in: 02d5084745 user: rolf tags: trunk
2021-02-13
17:41
wip check-in: 842c58c019 user: rolf tags: wip
2021-02-06
03:40
Minor improvements. check-in: 6d4a76a369 user: rolf tags: toschema
2021-02-05
12:28
Improved xsd quantifier translation. check-in: f58460e048 user: rolf tags: toschema
00:21
Cleaned up the apparently mess in the repository by hand. Picked, what's new in branches toschema and wip, closed both branches and build this new toschema from trunk. Which was all, what I wanted to do: to bring up my feature branch to what happend on trunk in the meantime. See https://fossil-scm.org/forum/forumpost/5c1a100b2d for the problems I struggled while trying to do this. check-in: 9ce70367f7 user: rolf tags: toschema
2021-02-03
22:56
Save work. Closed-Leaf check-in: acdc0ea656 user: rolf tags: wip
22:53
Added a way to express "at least n times and then unbound" in tdom schemas. check-in: 049f31fab5 user: rolf tags: trunk
2021-02-01
23:58
Fixed segmentation fault in the error handling code of the schema text constraint command "type". check-in: afd73d0e7f user: rolf tags: trunk
01:20
wip check-in: f16e1812c8 user: rolf tags: wip
2021-01-30
15:58
wip check-in: 0deaff3fbe user: rolf tags: wip
2021-01-29
20:12
Prepared xsd2schema.tcl to be usable as standalone converter script as well as sourced lib file. Closed-Leaf check-in: de524342e3 user: rolf tags: toschema
2021-01-28
00:30
Some minor editorial work in documentation and code comments. check-in: 014e6256e7 user: rolf tags: trunk
2021-01-22
17:31
Merged from trunk. Leaf check-in: 4c17ed9964 user: rolf tags: find-multiple-elements-hashed
17:31
Fixed pullparser reset, which did not work correct in case the last method call on the pullparser command to reset throwed error because of not well-formed XML input. check-in: 7f9ca994ec user: rolf tags: trunk
13:13
Added -not flag to find-element, expecting a list of names, with optional -hash flag, searching for the next element name not in the list. check-in: a7e0d35311 user: rolf tags: find-multiple-elements-hashed
01:07
Better wording. check-in: 575f0e9e63 user: rolf tags: trunk
01:05
Enhance the pull-parser command find-element - skip forward not only to a specific element but to the first out of a list of elements. Thanks go to Mark Janssen for idea and contribution. check-in: 77f3b8498b user: rolf tags: trunk
00:53
Editorial changes. Closed-Leaf check-in: 46e1a5f6f7 user: rolf tags: find-multiple-elements
2021-01-21
13:58
How about hashing the elements to find. check-in: 5d2ee3aaa3 user: rolf tags: find-multiple-elements-hashed
2021-01-18
17:14
Move list of tags to -name option check-in: e0c5c9ae41 user: mjanssen tags: find-multiple-elements
15:59
Don't do too much work check-in: 15137a5d17 user: mjanssen tags: find-multiple-elements
15:52
Add support for multiple names in find-element check-in: 9a2bc3a9f7 user: mjanssen tags: find-multiple-elements
2021-01-06
22:34
If asXML -indent tab is used now comments and processing instructions are also indented with tabs. Leaf check-in: 3c35cc9b09 user: rolf tags: stackless_asXML
18:16
Better implementation of indentation with tabs or white space. check-in: a4dcb11f16 user: rolf tags: stackless_asXML
02:34
Merged from trunk. check-in: 226d987aaa user: rolf tags: stackless_asXML
2021-01-03
01:37
Merged from trunk. check-in: 57df626882 user: rolf tags: toschema
2020-12-31
01:18
Correct cleanup in case of failing conversion of a dom tree into an xslt command. check-in: 2b327d36f3 user: rolf tags: trunk
2020-12-28
01:38
Add compatibility to older gcc compiler. check-in: 4373add689 user: rolf tags: trunk
01:06
Merged from trunk. Closed-Leaf check-in: cf804730f9 user: rolf tags: legacygcc
01:01
Merged from trunk. check-in: e8552af0a4 user: rolf tags: legacygcc
01:00
Fixed change to version 0.9.3. check-in: 9774cfa6a1 user: rolf tags: trunk
00:32
Updated to expat 2.2.10. check-in: 74f983b55a user: rolf tags: trunk
00:07
Fixed segmentation fault if toXSLTcmd is called on a DOCUMENT_NODE without any ELEMENT_NODE in the tree. More tests for DOCUMENT_NODEs without any ELEMENT_NODE in the tree. check-in: 66f8af7086 user: rolf tags: trunk
2020-12-27
00:55
Changed version to 0.9.3 check-in: 8ba0acd94e user: rolf tags: trunk
2020-12-09
01:25
Fixed [7b020e5cc6] and installation into location with space in the path to it. Synced with tea / sampleextension, while there. check-in: d8639ad4e4 user: rolf tags: trunk
01:10
More fixes. Closed-Leaf check-in: f2b4cc4d5c user: rolf tags: ticket-7b020e
2020-12-08
23:59
Work on [7b020e]. check-in: 9880f056ae user: rolf tags: ticket-7b020e
2020-11-28
15:35
wip check-in: 2ff62d36ac user: rolf tags: toschema
2020-11-27
02:33
Save work. check-in: 73eb8c072b user: rolf tags: toschema
2020-11-24
01:12
Some more files to sync. check-in: 62bc9c5ef3 user: rolf tags: toschema
01:08
Try to clean up the repository mess, that somehow happened. The files generic/schema.c and generich/schema.h should not differ between toschema and branch. check-in: 6426cb479c user: rolf tags: toschema
01:04
Merged from trunk. check-in: e8af2a1eb7 user: rolf tags: toschema
2020-11-22
20:11
Merged from trunk. check-in: a50db4168b user: rolf tags: toschema
19:56
Fixed error msg of method getAttributeNS in case of wrong number of arguments. Fixed error msg of method getAttributeNS in case of attribute not found and no default value given. check-in: 2d247742ab user: rolf tags: trunk
19:43
Save work. check-in: 115a9dda66 user: rolf tags: toschema
2020-11-21
14:15
Save work. check-in: fac8fd80bc user: rolf tags: toschema
2020-11-18
20:45
Added support for typical mixed context; docbook 5.0.1 converts fine now. check-in: 6d24915a57 user: rolf tags: toschema
03:30
More work. check-in: b9973e2e44 user: rolf tags: toschema
2020-11-14
02:38
Added text constaint command type. check-in: e3086ac247 user: rolf tags: trunk
01:22
Minor tweaks. check-in: 1253c02fe6 user: rolf tags: toschema
2020-11-13
18:48
Continued work. In current state the script converts the first xsd primer example (po.xsl) correctly to tdom schema. check-in: 9e71e575aa user: rolf tags: toschema
01:05
Added simple work in progress xsd to tdom schema converter in it's early steps. It almost converts simple xsd schemas as the starting xsd primer example. check-in: 8a31ad8fc5 user: rolf tags: toschema
00:27
Merged from trunk. check-in: c3bbc18ae9 user: rolf tags: toschema
2020-09-26
13:45
Applied spell fixes provided by Gustaf Neumann (slightly modified and enhanced). check-in: a8fac2ca99 user: rolf tags: trunk
2020-09-24
16:42
Merged from trunk. check-in: 1be8c0f9cb user: rolf tags: toschema
2020-09-18
23:50
Fix for [011b8f3578fa]. check-in: 64c98c63ac user: rolf tags: trunk
2020-09-09
00:33
Included patch from Simos (ticket [ebe8b1937e]). check-in: 9439a712b2 user: rolf tags: legacygcc
2020-09-03
00:03
Added dummy function for the tdom stubs table in case of build without the validation engine. Fix for [3114185884]. check-in: 2f379d66ee user: rolf tags: trunk
2020-08-28
15:31
Merged nmake build fixes for 0.9.2 check-in: 42740a7c75 user: apnadkarni tags: trunk
15:15
nmake/VC++ support for schemadtx Closed-Leaf check-in: 2224952b55 user: apnadkarni tags: nmake-fixes-0.9.2
15:14
Fix tdom version lookup in nmake build. configure.in has changed to configure.ac. check-in: 012ab480db user: apnadkarni tags: nmake-fixes-0.9.2
2020-08-27
23:39
Build with vc++ 6. Leaf check-in: c2eeda5064 user: rolf tags: vc6
16:32
Doh. Missed to add the new source file to visual studio nmake makefile.vc. check-in: d099d66e3c user: rolf tags: trunk, release, tdom-0-9-2
2020-08-26
21:24
More last tweaks on documentation and example scripts. check-in: ce17b26681 user: rolf tags: trunk
12:18
Header tweak to restore build with visual studio. check-in: 1a40df7869 user: rolf tags: trunk
2020-08-25
23:23
Last editorial work. check-in: 94fc418afb user: rolf tags: trunk
22:24
Still doc work. check-in: 8989726ac7 user: rolf tags: trunk
19:36
More doc work. check-in: 7e92058c27 user: rolf tags: trunk
2020-08-24
23:56
Regenerated doc files. check-in: 7e45e966d1 user: rolf tags: trunk
21:08
Doc work. check-in: 24687dfcdb user: rolf tags: trunk
2020-08-21
01:35
Fixed test. check-in: d5631d3f19 user: rolf tags: trunk
01:30
Noted that in CHANGES. check-in: 2b95bb6ceb user: rolf tags: trunk
01:27
Added the tdom::schema command. check-in: e4f2396201 user: rolf tags: trunk
01:22
Merged from trunk. Closed-Leaf check-in: 0b386f3852 user: rolf tags: schema
00:53
Merged proofreding work into. check-in: ee5267cf88 user: rolf tags: schema
2020-08-20
21:56
Tweaks on source and test suite to build and run even with 8.4(.19). check-in: b892c69b2c user: rolf tags: schema
21:54
More tweaks for 8.4 build. Closed-Leaf check-in: 615b2efb88 user: rolf tags: 8.4
16:18
Merged from schema. check-in: 89c94160da user: rolf tags: 8.4
00:25
Save work. check-in: 876b0756ee user: rolf tags: 8.4
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
2019-11-06
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