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

2878 check-ins using file tests/data/dtd-5.2.dtd or tests/dtd-5.2.dtd version 6a2dbcda86

2025-06-25
11:10
Added release mark to CHANGES. Leaf check-in: 7de7413ea6 user: rolf tags: trunk
2025-06-24
23:13
Fixed typo in README.md. check-in: 521ed53264 user: rolf tags: trunk
2025-06-22
11:57
Silenced an unwarranted compiler warning. check-in: 7db06f6e96 user: rolf tags: trunk, release, tdom-0-9-6
2025-06-05
12:50
Updated CHANGES. check-in: 7bcde5ef58 user: rolf tags: trunk
12:46
Added documentation for the scripted additional XPath functions features. Thanks to Peter Piwowarski for his valuable input. check-in: 3d585f59bf user: rolf tags: trunk
01:13
Made some constans/limits more configurable by environment variables at build time. Added tests regarding the nodeList argument of scriptend XPath functions. check-in: 0479719628 user: rolf tags: trunk
2025-05-01
23:29
Documented the behaviour in case an element creating node command is called with only one argument. check-in: 1c6857702b user: rolf tags: trunk
23:09
Added a test. check-in: 38c34b979d user: rolf tags: trunk
2025-04-11
00:54
Re-generated docs. check-in: 38d5a746d7 user: rolf tags: trunk
2025-04-05
00:20
Added the dom command method fromScriptContext. check-in: b33f6d7b8f user: rolf tags: trunk
00:16
Added a test. Fixed markup error in documentation. Closed-Leaf check-in: 0d64b57338 user: rolf tags: fromScriptContext
2025-04-03
12:24
Fixed the dom command method specification. check-in: 152505895b user: rolf tags: fromScriptContext
00:47
Added some documentation and a first test. check-in: 7b845c75ee user: rolf tags: fromScriptContext
00:20
Added a simple way to get the current parent node in fromScript context. check-in: bbb70f8365 user: rolf tags: fromScriptContext
2025-03-28
23:43
Fixed typo. check-in: 82744078d0 user: rolf tags: trunk
23:15
Updated to expat 2.7.1. check-in: 656331114b user: rolf tags: trunk
2025-03-21
00:58
Changed the way to create XML namespaced attributes in *FromScript scripts. There are corner cases in really pathological scenarious but for a broad range of practical needs this should work pretty well and intuitively. check-in: ba30c5e1dc user: rolf tags: trunk
00:43
Documented the new behaviour. Closed-Leaf check-in: a1bc3ec176 user: rolf tags: otherfsatts
2025-03-20
23:30
Updated to expat 2.7.0. check-in: 1ab19b7742 user: rolf tags: trunk
23:24
Revised. check-in: a97bd99390 user: rolf tags: otherfsatts
13:34
Try the "natural" approach: if the attribute name has a prefix resolve that (with first looking at the selectNodesNamespaces mapping for full control) and error out if it doesn't resolve. Still to decide what to do with XML namspace declaration attributes. check-in: 429712d6c8 user: rolf tags: otherfsatts
2025-03-19
00:59
The first approach to add XML namespaced attributes to the *fromScript feature turned out to be cumbersome and with unwanted fall out so this first backs out this to perhaps find something better. check-in: e05a9d62a5 user: rolf tags: otherfsatts
2025-02-24
22:31
Some documentation improvements. check-in: 3f550753d8 user: rolf tags: trunk
17:14
Made code base C23 compliant. check-in: 2db2c39167 user: rolf tags: trunk
17:10
Again more variable renames because of clashes with new C23 keywords. Closed-Leaf check-in: 7c9109a481 user: rolf tags: c23
17:08
More variable renames because of clashes with new C23 keywords. check-in: 14eb61f9d4 user: rolf tags: c23
17:04
Resolved more variable name clashes with new C23 keywords. check-in: ee17fba931 user: rolf tags: c23
16:57
Merged from trunk (started branch not from trunk tip by mistake). check-in: cf04bc2b8d user: rolf tags: c23
16:54
Fixed clashes of variable names with new C23 keywords. check-in: 765ee3d90f user: rolf tags: c23
2025-02-16
01:37
Added the node creation command flag -notempty also to tdom::fsnewNode. check-in: c7c21fe726 user: rolf tags: trunk
2025-02-01
01:11
Datatype fix. check-in: 34a1770cf6 user: rolf tags: trunk
2025-01-31
13:17
Disable another test by default because it works with large data. check-in: f7c09e580b user: rolf tags: trunk
00:53
Disable tests by default which use huge amounts of memory. check-in: 30670b161a user: rolf tags: trunk
2025-01-30
22:50
Added a so far missing data file for a test. check-in: 1aa7a950c6 user: rolf tags: trunk
22:30
Pacify a (pointless) compiler warning. check-in: d7e845b5af user: rolf tags: trunk
2025-01-29
13:54
Modified the sample xslt.tcl script to use -channel in in- and output. This enables to transform xml and/or xslt files bigger than 2 GByte (or if the result XML is bigger than that) even with tcl 8.6 and reduces the memory need of the process by some percent because this doesn't need to keep the input and output data in memory beside the inevitable DOM trees. check-in: 05f935218b user: rolf tags: trunk
2025-01-22
23:34
Bumpt to the next release version (not to be released in short time). check-in: 9d51630953 user: rolf tags: trunk
22:31
Typo fix. check-in: 29b977cadc user: rolf tags: trunk
22:30
Added the "virtual" JSON type BOOLEAN for text nodes. check-in: 8a8dee52e5 user: rolf tags: trunk
22:25
Merged from trunk. Closed-Leaf check-in: 5768bc4e95 user: rolf tags: jsonbool
22:04
Added a few tests. check-in: 87ad52127a user: rolf tags: trunk
2025-01-21
00:29
Fixed the implementation, added documentation and a few tests. check-in: 92387c974a user: rolf tags: jsonbool
2025-01-20
00:06
Fixed the expat SAX interface (commands expat,xml:parser) method parsechannel: if the input channel is encoded utf-8 then the expat utf-8 decoder is used witch at least ensures parsing and pass-throu. check-in: 5ec5a96d8e user: rolf tags: trunk
2025-01-19
23:08
Maybe a virtual boolean json type for text nodes would be useful. check-in: f110413856 user: rolf tags: jsonbool
2025-01-17
01:08
Fix for the namespace axis: resolve the prefix with the context node, not with the XPath expression context node. With may make a difference in case of xslt. check-in: ddbcc3c8c8 user: rolf tags: trunk
2025-01-16
00:04
Plugged potentially memory leaks. Code clean-up. check-in: 1de4b995f6 user: rolf tags: trunk
2025-01-15
22:40
Added the flag -notempty to dom createNodeCmd. If this flag is used the element will only appear in the tree if it is not empty. check-in: 971050ce5a user: rolf tags: trunk
22:35
Added minimal documentation. Closed-Leaf check-in: 7ee053934d user: rolf tags: fsnotempty
21:38
Merged from trunk. check-in: 494203e855 user: rolf tags: fsnotempty
00:57
Documented the lately added dom featureinfo largedata option. check-in: a5fc26049b user: rolf tags: trunk
00:49
Fixed driver script for the OASIS xslt test suite. Fixed a potential seg fault. check-in: 0615b5c057 user: rolf tags: trunk
2025-01-12
01:43
Added dom featureinfo largedata, returning a boolean. If the result is true then tdom is able to parse pcdata content of an element greater 2 GByte with the expat parser (which requires Tcl 9 and a 64-bit platform and depends on the platform and the build flags of the used expat library). If the result is false then an attempt to parse pcdata content of an element larger than 2 GByte will result in an error. check-in: dcb1e6b10e user: rolf tags: trunk
2025-01-10
16:36
Plugged memory leak in case of XPath substring() call with invalid, special crafted third argument. check-in: 4b7845bf62 user: rolf tags: trunk
15:34
Fixed error handling of invalid return of scripted XPath functions in case of bool result with invalid boolean value and in case of number result with not-a-number value. check-in: 38cd600963 user: rolf tags: trunk
11:14
Merged from trunk. check-in: e61c54e17e user: rolf tags: fsnotempty
11:11
Pacify scan-build warning. check-in: a0993eab80 user: rolf tags: trunk
10:51
Plugged memory leak in case of selectNodes with -namespaces and -list and empty XPath expression list. Plugged memory leaks in error case of selectNodes with -namespaces and -list (XPath expression list argument is not a proper Tcl list or one of the XPath expressions in the list is invalid). check-in: c0d9083f94 user: rolf tags: trunk
09:59
Plugged memory leak in case of invalid value to the selectNodes -cache option if the -namespaces option was given before. check-in: c35d3e9b52 user: rolf tags: trunk
01:31
Pacified a few scan-build warnings while fixing a few bugs revealed by the tool. check-in: 9bbbe3a038 user: rolf tags: trunk
00:24
Plugged memory leak in case of invalid entity in attribute value. check-in: f067f0530b user: rolf tags: trunk
00:21
The entity translator of the simple XML parser was too forgiving; fixed. check-in: 19c94e2802 user: rolf tags: trunk
2025-01-09
12:53
Pacify a (by gcc 13.0) hallucinated compiler warning. check-in: 8411567b5f user: rolf tags: trunk
11:24
Added a few tests. check-in: 3a5260d929 user: rolf tags: fsnotempty
02:00
Started nodecmds which inserts a node only, if it has content. check-in: 5093812b77 user: rolf tags: fsnotempty
00:31
Added a way to create XML namespaced attributes in *FromScripts. check-in: 94aade4ec1 user: rolf tags: trunk
00:14
Merged from trunk. Closed-Leaf check-in: f8172d3ff9 user: rolf tags: fsatts
2025-01-05
23:56
Improved configure/build with system expat. check-in: e8c6063a7c user: rolf tags: trunk
01:19
Two documentation typo fixes. check-in: da014cc2f1 user: rolf tags: trunk
01:13
Even on windows someone may not use the included expat version. Closed-Leaf check-in: 4e5734fa27 user: rolf tags: systemexpat
2025-01-02
00:02
Check for entropy soures and other flags for the build of the bundled expat only if the bundled expat is used. In case an extenal expat library is requested, check the version of the library and other capabilities determining build options. check-in: 76c42127d1 user: rolf tags: systemexpat
2024-12-30
22:09
Moved the "check which expat to use" part nearer to end of configure so that it stands out more. We want to check for linking. Better return codes. check-in: 6572a3a633 user: rolf tags: systemexpat
00:50
Merged from test. check-in: 31e3014be6 user: rolf tags: systemexpat
2024-12-27
12:13
test Closed-Leaf check-in: 178cd5e28b user: rolf tags: test
00:11
Request the answer to a few dom featureinfo calls from the actually used library and not from defines at build time, which are only true, if build with the bundled expat. check-in: 618b4508fd user: rolf tags: trunk
2024-12-26
01:25
Started. check-in: c1aeac88e2 user: rolf tags: systemexpat
2024-12-25
01:23
Minor typo fix. check-in: 18a44e3ed4 user: rolf tags: trunk
01:15
Minor typo fixes. check-in: 3a60cc1143 user: rolf tags: trunk
2024-12-24
01:38
Obviously it is helpful to regenerate configure. Closed-Leaf check-in: 8f6b1639bc user: rolf tags: expatdefs
01:19
Do not tinker around the expat default -Ds on unix like platforms since this may clash if the user prefers to use the system expat. check-in: a38f4bbb45 user: rolf tags: expatdefs
2024-12-13
00:32
Additionally enforce in "check attribute name mode" that the attribute name has indeed a colon, which is mandatory because namespaced attributes has to have a prefix. Fixed documentation syntax." check-in: 78da3295f1 user: rolf tags: fsatts
2024-12-12
23:51
Merged from trunk. check-in: e4e883d10b user: rolf tags: fsatts
23:39
Added the dom command method jsonEscape which escapes the string argument for literally use in a JSON string. check-in: 223e8f6680 user: rolf tags: trunk
23:24
Review, testing and cleanup. Closed-Leaf check-in: 31b80440fe user: rolf tags: jsonEscape
22:31
Enhanced the attribute creation in *FromScript scripts. If an attribute name argument of the current syntax is a 2 elements Tcl list then the first element is seen as the XML namespace of the attribute and the second element will be the attribute name. check-in: 7ed74be7fc user: rolf tags: fsatts
2024-11-13
21:47
wip Leaf check-in: 5754feeb27 user: rolf tags: appendXML
2024-11-11
00:15
Bit more tests; added minimal documentation. check-in: 0e968cf354 user: rolf tags: jsonEscape
2024-11-10
19:14
Merged from trunk. check-in: f3ce0f50ee user: rolf tags: jsonEscape
19:11
Added a few tests for appendXML with XML namespaced nodes in document and the appendXML XML data. check-in: bc76f0eb71 user: rolf tags: trunk
00:28
Updated to expat 2.6.4. check-in: 0d5f6825de user: rolf tags: trunk
2024-11-09
15:22
Save. check-in: 13b7ee7357 user: rolf tags: jsonEscape
02:44
Save. Closed-Leaf check-in: c50341a406 user: rolf tags: wtf
2024-10-31
10:26
Corrected typos. check-in: 988eb33241 user: rolf tags: trunk
10:25
Corrected typos. Leaf check-in: 81a028b3e6 user: rolf tags: picky-wip
10:21
Fixed editing error. check-in: d467798836 user: rolf tags: picky-wip
2024-10-28
09:20
wip check-in: 007fb02a5c user: rolf tags: picky-wip
2024-10-27
19:06
Merged from trunk. Leaf check-in: cade607cba user: rolf tags: picky
19:04
Added a test. check-in: e4affdf3bd user: rolf tags: trunk
2024-10-24
23:27
Integrated the fix for tnc nmake for Tcl 9. Thanks. check-in: 165789b730 user: rolf tags: trunk
2024-10-21
09:19
Fix tnc nmake for Tcl 9 Closed-Leaf check-in: 61d4f56d62 user: apnadkarni tags: apn-tnc-nmake-fix
2024-10-17
23:50
Updated the VC build tool chain related files. check-in: 1ab5070709 user: rolf tags: trunk
00:02
Added another fossil setting to the repostiory. check-in: 3df582dd2d user: rolf tags: trunk
2024-10-15
18:18
Regenerated the domDoc documentation. Fix for [095e293157]. check-in: 9cab6ddf3b user: rolf tags: trunk, release, tdom-0-9-5
2024-10-13
01:21
Cut tdom 0.9.5 release. check-in: 38b704fd18 user: rolf tags: trunk
00:43
Updated README.md. Closed-Leaf check-in: b1f87920be user: rolf tags: prepare-release
00:28
Merged from trunk. check-in: 95366bc715 user: rolf tags: prepare-release
2024-10-12
15:07
Corrected the tnc pkgIndex.tcl.in. check-in: 7c52efe740 user: rolf tags: trunk
01:16
Use the configure created pkgIndex.tcl for tnc. Removed an not used variable. check-in: 9887c93bab user: rolf tags: trunk
2024-10-11
13:12
Fixed link. check-in: edee6b7695 user: rolf tags: prepare-release
2024-10-10
23:54
Merged from trunk. check-in: dcca22d3be user: rolf tags: prepare-release
23:08
Improved compatibility with older VC compiler. check-in: 8b95c3d54f user: rolf tags: trunk
12:21
Fixed indentation. check-in: 0749516c84 user: rolf tags: trunk
2024-10-09
22:56
Merged from trunk. check-in: ef01deb2dc user: rolf tags: prepare-release
22:54
First round of build tests on a couple of platforms and OS. check-in: d4df8c0072 user: rolf tags: trunk
22:47
Simplest (*)printf d modifier limbo I could find. Closed-Leaf check-in: b3b0b78e14 user: rolf tags: wip
00:40
More casts. check-in: cb3dba8a81 user: rolf tags: wip
00:38
Added a few more casts. check-in: 24e3b90743 user: rolf tags: wip
00:12
Cast away remaining compiler warnings (some, even most of them have enought ground that they probably should have been cared about while introducing but surely are no regressions to prior versions. check-in: 051cc7c60d user: rolf tags: wip
2024-10-08
18:56
More type corrections. check-in: 553af98482 user: rolf tags: wip
2024-10-07
13:49
Fixed typedef. check-in: 1d5577a6d1 user: rolf tags: wip
13:26
And again more tweaks to silence compiler warnings. check-in: a079697591 user: rolf tags: wip
13:23
More tweaks to silence compiler warnings. check-in: 69f821599b user: rolf tags: wip
10:06
Another approach: Use XML_LARGE_SIZE on all platforms and Tcl-Versions an handle platform limits in code. check-in: 29beb92f07 user: rolf tags: wip
2024-10-05
14:41
Do this detail as it should be although this probably means that now a C99 compiler is needed. check-in: f5edd401a7 user: rolf tags: wip
01:17
wip check-in: 59660aa095 user: rolf tags: wip
2024-10-04
23:36
wip check-in: 838a1568fa user: rolf tags: wip
23:28
wip check-in: 03aa411f9a user: rolf tags: wip
15:12
wip check-in: 39da7b8662 user: rolf tags: wip
2024-10-03
14:33
wip check-in: 5c33cee20e user: rolf tags: wip
2024-10-02
00:12
Merge trunk. check-in: e1154f061d user: rolf tags: prepare-release
2024-10-01
23:16
Adapted test to the changed error message. check-in: 4abf418fab user: rolf tags: trunk
22:58
Attempt to clean up the fall out of the recent type changes. check-in: 908f9bb47d user: rolf tags: trunk
2024-09-30
22:18
More type massage. check-in: a14d20c7c1 user: rolf tags: trunk
20:45
Merged from trunk. check-in: 946d048908 user: rolf tags: prepare-release
20:45
With Tcl 9 now even on windows (worded already on LP64 platforms) a single text node in an XML source may be longer than 2 GByte. check-in: c219a15f48 user: rolf tags: trunk
10:13
More places bump up the version number. check-in: c39f52282e user: rolf tags: prepare-release
2024-09-28
00:47
Started. check-in: 31dfe23093 user: rolf tags: prepare-release
00:20
Regenerate doc. check-in: b2e58e052f user: rolf tags: trunk
2024-09-27
23:50
Updated tclconfig. check-in: a5598e460d user: rolf tags: trunk
16:04
Added the asTypedList method to the domDoc and domNode commands. Added the createFromTypedList method to the dom command. check-in: 25ef75c805 user: rolf tags: trunk
16:01
Added a few more tests. Closed-Leaf check-in: 96986493f8 user: rolf tags: asTypedList
12:17
Merged from trunk. check-in: 78a7f45535 user: rolf tags: asTypedList
00:38
Noted the expat update in CHANGES. check-in: ebf8e476e5 user: rolf tags: trunk
00:15
Improved error handling and error messages. check-in: cf19b79d68 user: rolf tags: asTypedList
2024-09-23
20:56
Updated to expat 2.6.3. check-in: 67a58d8916 user: rolf tags: trunk
20:41
Renamed createDocumentFromTypedList createFromTypedList - it is still a mouthful. check-in: 6bc8b7435a user: rolf tags: asTypedList
18:49
Fixed syntax error. check-in: ba093cc945 user: rolf tags: asTypedList
18:45
A bit trickery to only run tests with valid json data if testing asTypedList / createDocumentFromTypedList. check-in: 2493c54646 user: rolf tags: asTypedList
2024-09-22
00:15
Used the valid json data of the various tests in domjson.test for tests for asTypedList and createDocumentFromTypedList. check-in: 43f6e49157 user: rolf tags: asTypedList
00:11
Done. Closed-Leaf check-in: b9a391f692 user: rolf tags: wip
2024-09-20
23:12
wip check-in: 9bc1064b71 user: rolf tags: wip
16:57
Fixes and an improvement to the error messages in case of invalid typed list. check-in: c54d4cb644 user: rolf tags: asTypedList
11:59
Improved detection of invalid typed lists. Fixed XML well-formed error in documentation. Improved asTypedList in case of value only json documents. check-in: 5d007b5c73 user: rolf tags: asTypedList
2024-09-18
23:57
Made the optioal newObjVar argument of createDocumentFromTypedList in fact work. Added some documentation. check-in: 24f228477d user: rolf tags: asTypedList
23:11
Added a first version (fully working for correct input but with some things left so do) of a way to create a (JSON) DOM document from a typed list in the format produced by asTypedList. check-in: 49831a455b user: rolf tags: asTypedList
2024-09-10
23:12
Removed the first approach, improved the second, added a few basic tests and some documentation. check-in: 28577906a9 user: rolf tags: asTypedList
13:17
Compare simple approach versus reuse symbol Tcl_Objs. check-in: 2aefc63826 user: rolf tags: asTypedList
00:09
Experimenting, hardening, optimisation, opening the door for customisation. check-in: 1c88ce0e89 user: rolf tags: asTypedList
2024-09-08
22:33
Merged from trunk. check-in: 09d6144d41 user: rolf tags: asTypedList
22:26
Added the flag -keepTextStart to the expat command. Fix for [757e85ef6e] and a few other quirkiness around this. check-in: 78cc02f6c6 user: rolf tags: trunk
22:11
Started. check-in: e6806cecb5 user: rolf tags: asTypedList
2024-09-07
23:12
Added documentation for the dom createDocumentNode -jsonType flag (which was introduced in 2017 ...) check-in: 2bd5a94144 user: rolf tags: trunk
2024-09-06
22:16
Fixed the machinery, added a few more tests and some words of documentation. Closed-Leaf check-in: d14c37a7df user: rolf tags: linecolumn
2024-09-05
23:17
Merged from trunk. check-in: 2992f87948 user: rolf tags: linecolumn
23:02
More interaction between parser, tdom command and dom building to get line/column/byteIndex right in normal case and with -keepCDATA 1. check-in: 6f2834178c user: rolf tags: linecolumn
2024-09-03
16:30
Towards line/column/byteindex reporting for tdom cmd generated DOM trees. check-in: ae0b817c96 user: rolf tags: linecolumn
2024-09-02
22:41
Handle line/column/byteIndex for CDATA nodes. Fixed long standing bug in the keepCDATA method of the tdom command. Fixed bug in the "replace the dom command with expat/tdom" machinery in the tdomcmd.test file. Removed left over debugging code. check-in: 113af31e86 user: rolf tags: linecolumn
2024-09-01
12:45
Corrected typo. check-in: ff1ad5f8be user: rolf tags: trunk
12:42
Tests to check the results of getLine/Column/ByteIndex for other node types. The result for CDATA section nodes seems debatable. check-in: 2dd7bc2d55 user: rolf tags: linecolumn
2024-08-31
22:46
Text node commands created by createNodeCmd of the json type NULL, TRUE or FALSE may be called without argument. check-in: ba9e3cb127 user: rolf tags: trunk
2024-08-30
12:10
Started. check-in: 91db5407c4 user: rolf tags: linecolumn
2024-08-28
22:17
Removed dated comment. check-in: 51a41c94c6 user: rolf tags: trunk
22:01
Renamed the define and changed the default of TDOM_PCS to INT_MAX / 2. check-in: 369b4c079e user: rolf tags: trunk
21:41
Added a test. check-in: 1227e42731 user: rolf tags: trunk
12:49
Fixed pull parser. check-in: 4a521d02da user: rolf tags: trunk
08:52
Fixed SAX parser. Restore the context in well-formdness error even if the error is early in parse chunk. check-in: ed687966df user: rolf tags: trunk
2024-08-27
23:09
Just for documentation. Closed-Leaf check-in: 2be5494cea user: rolf tags: tcltestmadness
2024-08-26
23:51
Changed the error messages of the dom, domDoc and domNode commands to mostly confirm to ususal Tcl behaviour. check-in: ca5fda987e user: rolf tags: trunk
2024-08-24
14:31
Merged from trunk. Closed-Leaf check-in: 90a1e9b044 user: rolf tags: errmsg
00:18
Fixed [40d770587f]. check-in: 30f3f183ba user: rolf tags: trunk
2024-08-23
16:17
Pluged a memory leak in the new asTclValue method. check-in: 40d770587f user: rolf tags: trunk
16:06
Done domNode commands. check-in: f720be4383 user: rolf tags: errmsg
12:55
More improvements to the dom error messages. Done domDoc commands. Added a few tests. check-in: dc5cb338a4 user: rolf tags: errmsg
2024-08-19
23:28
Adapted the internal function name to the script level name. check-in: 24f4d39f5e user: rolf tags: trunk
2024-08-17
01:08
Error message reform: Started with dom_usage. check-in: 4d0ba4ef37 user: rolf tags: errmsg
01:02
Made asTclValue more robust. check-in: e4c92b8850 user: rolf tags: trunk
2024-08-14
23:17
Added the asTclValue method to the domDoc and domNode commands. check-in: 4cdcbd63e3 user: rolf tags: trunk
23:14
Changed the name of the method to asTclValue. Closed-Leaf check-in: f1e4c3a745 user: rolf tags: asDict
22:43
Merged from trunk. check-in: de4cfdfd69 user: rolf tags: asDict
14:47
Modified pkgIndex.tcl.in so that it is usable for a side by side installation of tnc for Tcl 8.6 and Tcl 9. Completed [08a419c823]. check-in: 106ba75625 user: rolf tags: trunk
13:01
At some point in time the test data file REC-xslt-19991116.xml got locally modified for testing purpose and that changes got commited by mistake. Changed the data file so that is is valid and added the modified to be invalid version to have a test for that with a larger file. check-in: c744ce9b1b user: rolf tags: trunk
2024-08-13
21:35
Dll import/export gymnastics. check-in: 613b2d7f56 user: rolf tags: trunk
20:34
Updated the nmake build infrastructure. check-in: 7985438e92 user: rolf tags: trunk
20:30
Regenerated tnc configure. check-in: 5e12d0cccd user: rolf tags: trunk
20:21
Rename tnc configure.in to configure.ac to follow nowadays habits. check-in: 5beb22ffe8 user: rolf tags: trunk
2024-08-12
10:21
Missed to call Tcl_InitStubs() in tnc accoding to the Tcl major version. check-in: 08a419c823 user: rolf tags: trunk
2024-08-10
01:06
Simplyfied a few functions. check-in: a701f29512 user: rolf tags: trunk
2024-08-09
23:21
Added the optional argument typevariable to the domDoc and domNode method asDict. A few tests and a bit documentation. check-in: e1ef5ac38e user: rolf tags: asDict
2024-08-06
23:34
Better done this way in C. check-in: 22c8e3bdd1 user: rolf tags: asDict
2024-08-03
13:57
Started, wip. check-in: abeb3b80a0 user: rolf tags: asDict
2024-08-01
09:37
Fixed typos. check-in: 33631b4af3 user: rolf tags: trunk
01:28
Made the "--" option to [dom parse] not necessary even in case the JSON data to parse start with a dash. check-in: 80d680d53c user: rolf tags: trunk
2024-07-30
22:25
Fixed [e4ce2078f994]. check-in: 6b0fa04ee0 user: rolf tags: trunk
2024-07-28
21:21
Note the supported Tcl versions. Updated history section. check-in: 2db06c810f user: rolf tags: trunk
2024-07-27
08:10
Added a simple scripted json to dict proc (::tdom::json:asDict). check-in: cef3da36f8 user: rolf tags: trunk
2024-07-26
00:16
Cut tdom 0.9.4 release. check-in: 4b1d70e866 user: rolf tags: trunk, release, tdom-0-9-4
00:14
Add the release date. Closed-Leaf check-in: 7cf5b5a9b1 user: rolf tags: prepare-release
00:09
We now need 4 windows binaries: Tcl 8/9 32/64 bit. check-in: d0cef4a7a8 user: rolf tags: prepare-release
2024-07-25
23:29
We support only 8.5-. check-in: 5e2a7866b3 user: user tags: prepare-release
21:01
The VC build chain need the TCL_THREADS define with Tcl 9. check-in: cb308f8c29 user: user tags: prepare-release
17:17
Merged from trunk. check-in: b585c0cb69 user: rolf tags: prepare-release
17:16
Added a few type casts to malloc returns to suppress warnings with non-standard -W flags. check-in: abf9aa08cf user: rolf tags: trunk
2024-07-24
00:55
Updated the readme. check-in: 52fb81d275 user: rolf tags: prepare-release
00:42
The currently used TEA sets TCL_THREADS even for Tcl 9 so there is no care needed here. Sorted out LLP64 related compiler warnings. check-in: 011b30f2e4 user: rolf tags: prepare-release
2024-07-21
22:56
Merged from trunk. check-in: fdc2234238 user: rolf tags: prepare-release
2024-07-18
01:23
Picky compiler flags. check-in: 07488c2a68 user: rolf tags: picky
2024-07-15
22:54
Added some const declaration and spell fixes. Bow to Gustaf. check-in: 046fbf0195 user: rolf tags: trunk
2024-07-08
17:52
More changes needed for Tcl 9 detected while preparing a new release. check-in: de5237af97 user: rolf tags: trunk
17:47
More type correction for Tcl 9. check-in: c9406e7cad user: rolf tags: prepare-release
17:41
Postpone release. Closed-Leaf check-in: f24b73f5c8 user: rolf tags: wip
14:55
Started with Tcl 9 there are only threaded builds. check-in: 1015b3cae0 user: user tags: wip
14:10
Restored build with VC build chain. check-in: 0a6be2d706 user: user tags: wip
12:30
In a few cases Tcl 9 needs Tcl_Size and Tcl 8 long. check-in: a1f819339d user: rolf tags: wip
09:34
Fixed ebcdic encoding handling. Braced an expr. check-in: 688dbe0d8a user: rolf tags: wip
00:53
Again more type massage and fixes. check-in: 48173f10ad user: rolf tags: wip
00:41
More type massage and fixes. check-in: 85bc8c68e6 user: user tags: wip
2024-07-07
21:31
Do not use the included allocator even on windows. check-in: f5a1497f67 user: user tags: wip
00:03
wip check-in: 8da21506ea user: rolf tags: wip
2024-07-06
13:59
wip check-in: eab0bfc95b user: rolf tags: wip
13:01
wip check-in: d5a6827d04 user: rolf tags: wip
01:51
wip check-in: 4e69c38f1c user: rolf tags: wip
01:49
wip check-in: e337d16a06 user: rolf tags: wip
2024-07-04
14:15
Fixed previous commit. check-in: 400fccf209 user: rolf tags: prepare-release
14:09
Better only 7-bit ASCII characters in test files. check-in: 177bc743cb user: rolf tags: prepare-release
13:31
More version number updates. check-in: b1097ab086 user: rolf tags: prepare-release
01:56
Regenerated included doc. check-in: e54a5f4ff4 user: rolf tags: prepare-release
01:33
Merged from trunk. check-in: 9ead70b249 user: rolf tags: prepare-release
01:32
Added documentation for isHTML5CustonName. check-in: 4459505e11 user: rolf tags: trunk
01:17
Started release work. check-in: fc340a256f user: rolf tags: prepare-release
2024-07-02
22:35
Temporary work around for a bug of the gcc build chain on RiscV. See [faa62e0934]. check-in: 55d88884ed user: rolf tags: trunk
22:09
Updated the CHANGES file. check-in: d02dcd66ea user: rolf tags: trunk
22:08
Added the isHTML5CustomName method to the dom command. The simple HTML reader now accept HTML5 custom element names. check-in: 9d8f28621b user: rolf tags: trunk
21:58
Added the isHTML5CustomName method to the dom command. The simple HTML reader Uses the machinery to accept HTML5 custom element names. Closed-Leaf check-in: a2c9f83840 user: rolf tags: HTML5CustomNames
2024-07-01
13:15
Merged from trunk. check-in: ca48d4518e user: rolf tags: HTML5CustomNames
11:42
Use the enhanced encoding capabilities of Tcl 9 better. And more changes as result of TIP 699. check-in: 0058351450 user: rolf tags: trunk
2024-06-30
23:23
wip check-in: e77b8c2886 user: rolf tags: HTML5CustomNames
2024-06-29
01:35
wip check-in: 2184b00aca user: rolf tags: HTML5CustomNames
2024-06-28
00:07
Updated to defines to what expat uses. check-in: b23076ff1f user: rolf tags: trunk
2024-06-26
10:22
Now in fact fixed [5fec5cdc5d]. check-in: d1f90f5c0e user: rolf tags: trunk
02:04
Fixed [5fec5cdc5d] check-in: bf595d313d user: rolf tags: trunk
02:03
Enhanced the set of recognised entities to HTML 5. check-in: 9085a992c3 user: rolf tags: trunk
01:48
Updated to HTML 5 entities also for serializating with -htmlEntities. Closed-Leaf check-in: cb90628bb3 user: rolf tags: HTML5Entities
01:32
Added code which handles outside BMP codepoints even for Tcl 8.6 in case of entity serialization. Closed-Leaf check-in: 96d934bb24 user: rolf tags: wip
2024-06-24
23:39
Merged from trunk. check-in: 91f818a493 user: rolf tags: wip
23:39
Prepare for upcoming core changes. check-in: aaa39deb56 user: rolf tags: trunk
23:24
Added a test. check-in: cccf840612 user: rolf tags: wip
2024-06-17
23:01
wip check-in: c6b7c6759e user: rolf tags: wip
23:00
wip check-in: 426dcf5540 user: rolf tags: wip
2024-06-11
23:36
Merged from trunk. check-in: fe51db3667 user: rolf tags: wip
23:35
This would be an implementation of -htmlEntities with the HTML5 entities set. I doubt, this is a good idea. check-in: 4ce9bd3a86 user: rolf tags: wip
23:28
Fixed syntax error. check-in: 0ffa8c350f user: rolf tags: trunk
2024-06-03
22:37
Merged from trunk. check-in: 78f2a07767 user: rolf tags: wip
2024-06-01
23:10
Added an optional replacement string argument to the -replace option of the dom command method clearString. check-in: 945ee29db2 user: rolf tags: trunk
22:48
Added the -fastcall option to the expat SAX parser. check-in: cca4d12b7e user: rolf tags: trunk
22:38
Added some documentation and a test. Closed-Leaf check-in: 135caf5f49 user: rolf tags: fasthandlercall
2024-05-31
22:33
Added -fastcall option to the expat command to do the "Welch calling" of handlers only on demand. check-in: de41683bdc user: rolf tags: fasthandlercall
2024-05-30
23:24
Simplified tdom.h - it is surely better to include the necessary header files instead of duplicating structure definitions. check-in: ce2d6a0f35 user: rolf tags: trunk
22:16
Updated the "example" tdom extension. Closed-Leaf check-in: 25a988a492 user: rolf tags: cleanup
2024-05-29
16:17
Cleanup. check-in: f68fcd7e41 user: rolf tags: cleanup
2024-05-25
14:32
wip check-in: 37965414f0 user: rolf tags: wip
2024-05-21
20:11
Merged from trunk. check-in: 6577379ed3 user: rolf tags: HTML5Entities
2024-05-20
23:52
Merged handling of "over-long" named entities in. check-in: 0600777ac4 user: rolf tags: HTML5Entities
23:20
Minor code impovements and more tests. Closed-Leaf check-in: 522169e2ea user: rolf tags: clearstring
17:17
Implemented user defined replacement. check-in: 3d780d7563 user: rolf tags: clearstring
2024-05-17
00:18
Updated to expat 2.6.2. check-in: e37386009b user: rolf tags: trunk
2024-05-16
01:00
Spread the pragmatic solution over the modules of the package. Closed-Leaf check-in: 6bc6da72d3 user: rolf tags: expat-2.6.2
2024-05-14
23:51
Added the -list option to the selectNodes method (cascading XPath expressions). check-in: 4c73cafde8 user: rolf tags: trunk
2024-05-13
23:33
Pragmatic solution for the new expat build requirements and the changes in the API behaviour. check-in: 15375d968d user: rolf tags: expat-2.6.2
2024-05-11
15:40
Added the new (by expat) expected defines to the vc makefile. check-in: bed29fc890 user: rolf tags: expat-2.6.2
15:08
Update to expat 2.6.2. check-in: 0f6fcbe2d3 user: rolf tags: expat-2.6.2
2024-05-01
23:38
Run tests requiring 64-bit only with such builds. check-in: f6d486c6eb user: rolf tags: trunk
2024-02-26
00:37
wip Closed-Leaf check-in: ed9de65f55 user: rolf tags: wip
2024-02-24
02:46
wip check-in: 69c8348852 user: rolf tags: wip
2024-02-23
01:36
Updated recognized HTML entities. check-in: fa8d38c58f user: rolf tags: HTML5Entities
01:18
Merged from trunk. check-in: c4776de175 user: rolf tags: HTML5Entities
01:12
Added support for non BMP characters given as \u escaped surrogate pair. check-in: a15bfaa204 user: rolf tags: trunk
00:43
Added a test. Closed-Leaf check-in: 8cf73292f3 user: rolf tags: jsonsurrogates
2024-02-22
14:15
wip check-in: 522694cd64 user: rolf tags: HTML5Entities
2024-02-21
20:08
Added recognition of outside BMP characters given as \u escaped surrogate pair. check-in: 5b60d9bc55 user: rolf tags: jsonsurrogates
2024-02-20
23:55
wip check-in: 280667024c user: rolf tags: jsonsurrogates
2024-02-18
19:32
Started to add the named entities added with HTML 5. check-in: 56f04d0119 user: rolf tags: HTML5Entities
2024-01-11
10:56
Smaller corrections and additions to the pull parser documentation. check-in: 68f3d22657 user: rolf tags: trunk
2023-12-28
14:55
Restored build with 8.6. check-in: 246a80804e user: rolf tags: trunk
2023-12-11
01:16
Corrections and tweaks for build on windows with vc; attempt to fix [d7baad1e8f]. check-in: f41570cf61 user: rolf tags: trunk
01:05
Tweaked the vc build generated pkgIndex.tcl. Closed-Leaf check-in: cda079f50e user: rolf tags: wip
2023-12-10
18:52
Fixed a bug on windows with xpath strings longer than 2GByte. check-in: 7808bbf7c6 user: user tags: wip
01:19
wip check-in: 566a033db7 user: user tags: wip
2023-12-09
01:43
wip check-in: 3063b4d0c9 user: user tags: wip
2023-11-14
00:58
Made tDOM work with Tcl 9. check-in: 9a7973b01b user: rolf tags: trunk
2023-11-13
11:12
Fixed the dist Makefile target (apply the renaming of README to README.md). Closed-Leaf check-in: f436e39e7d user: rolf tags: towardsTcl9
11:09
Merged from trunk. check-in: 4512c135ba user: rolf tags: towardsTcl9
11:04
Added a test related to [474e7b1408]. check-in: b8760f60a0 user: rolf tags: trunk
2023-11-12
01:07
Merged from trunk. check-in: b3e4a7570c user: rolf tags: towardsTcl9
00:17
Fix for [474e7b1408]. check-in: ec0c93694a user: rolf tags: trunk
2023-11-10
11:42
Fixed wrong Tcl_GetBooleanFromObj() argument type with Tcl 9 which slipped throu because of no compiler warning due to TIP 618. check-in: bb675225d8 user: rolf tags: towardsTcl9
2023-11-09
23:24
More tweaks to make the code build without warning on 8.5.19, 8.6.13 and 9. check-in: f26d9b32ab user: rolf tags: towardsTcl9
2023-11-08
23:54
Updated build system (TEA). check-in: ba286c7c7d user: rolf tags: towardsTcl9
2023-08-29
22:23
Merge trunk. check-in: 4e059e6e91 user: rolf tags: towardsTcl9
22:08
Made an uninstalled tdom just “package require"able from the build directory. check-in: ab58d6f480 user: rolf tags: trunk
2023-08-19
13:06
Added a knob - if the programmer set the variable ::tdom::utf8bom to true - which tells xmlOpenFile and xmlReadFile to accept UTF-8 files starting with an UTF-8 BOM. check-in: 9e47f85799 user: rolf tags: trunk
2023-05-19
12:32
More type adapation for big node set results. Renamed rsInt to rsLong to make clear that a long integer value is returned. Improvement to the XPath functions floor, ceiling and round implementation. check-in: c95a6d5ae2 user: rolf tags: towardsTcl9
2023-05-09
23:47
Lifted nodeset max length to Tcl_Size. check-in: 379c17d9e4 user: rolf tags: towardsTcl9
21:51
Merged from trunk. check-in: db1be8b781 user: rolf tags: towardsTcl9
21:50
The XPath functions floor, ceiling and round now return an integer (up to size long). Up to now they appended a .0. It's the right thing but it is a user visible change. check-in: 874bd8e5f0 user: rolf tags: trunk
2023-04-08
01:11
Another Tcl 9 adaption detected while building with a Tcl 9 with disabled Tcl 8 compatibility layer. check-in: f443503fd2 user: rolf tags: towardsTcl9
2023-04-05
12:08
Missed to adpate one Tcl_GetStringFromObj() call. check-in: 4e9ad7f2be user: rolf tags: towardsTcl9
2023-04-02
23:46
Fixed gross migration to Tcl 9 mistake. check-in: 7a83aa6556 user: rolf tags: towardsTcl9
2023-04-01
00:55
Fixed Tcl 9 detection. check-in: 110a96a81f user: rolf tags: towardsTcl9
2023-03-28
23:30
Changed to Tcl 9 list API also. check-in: e3ef6358dd user: rolf tags: towardsTcl9
2023-03-26
01:50
Merge trunk. check-in: 3a27d57172 user: rolf tags: towardsTcl9
01:50
Fixed clearString option array. check-in: 651a5b664b user: rolf tags: trunk
00:10
Fixed markup error. check-in: 38ad77e7cd user: rolf tags: trunk
00:04
Merged from trunk. check-in: 1c79bc885e user: rolf tags: towardsTcl9
2023-03-25
14:51
Streamlined clearString implementation a bit. check-in: 5e80b13b7f user: rolf tags: trunk
02:30
Added the option -replace to the dom command method clearString. check-in: c50609368a user: rolf tags: trunk
2023-03-10
15:53
Handle gumbos max 4 GB input limit. check-in: 7777abf8ff user: rolf tags: towardsTcl9
2023-03-09
17:08
don't compare current position (s != m_positionPtr) to call bulk-xml handler, can be too error-prone (parsing across buffers), check of m_xmlStarted is fully enough Leaf check-in: 492e4640f7 user: sebres tags: experimental/bulk-xml-parse
2023-03-07
02:08
Build with 8.6 check-in: b1b30e30ef user: rolf tags: towardsTcl9
2023-03-06
00:20
Save minor changes. check-in: 4411a6ae71 user: rolf tags: towardsTcl9
2023-03-05
21:08
More centralization of parsing error reporting and corrections of the central parsing error code. check-in: 36e6200010 user: rolf tags: towardsTcl9
01:06
wip check-in: de91cecb4c user: rolf tags: towardsTcl9
2023-03-04
15:56
wip check-in: ed4696fa94 user: rolf tags: towardsTcl9
2023-03-02
17:32
fixes unexpected invocation of bulkxmlendcommand, if xml is exactly at range of read buffer (e. g. matching buffer end), see test parser-13.5 check-in: 7d5ad25fc7 user: sebres tags: experimental/bulk-xml-parse
17:31
test case illustrating issue with -bulkxmlendcommand handler called twice if xml is exactly at range of read buffer (e. g. matching buffer end) check-in: 24edbe7a34 user: sebres tags: experimental/bulk-xml-parse
17:30
compat, fixes test for systems with non-utf8 default encoding (© -> \xA9) check-in: ed0604378c user: sebres tags: experimental/bulk-xml-parse
17:29
merge trunk to bulk-xml-parse check-in: 57af92be5e user: sebres tags: experimental/bulk-xml-parse
17:27
merge branch bulk-ignore-ws into bulk-xml-parse check-in: aad9fc7526 user: sebres tags: experimental/bulk-xml-parse
2023-02-26
01:47
wip check-in: e0507ae8c4 user: rolf tags: towardsTcl9
2023-02-25
14:01
wip check-in: c8b0e877bc user: rolf tags: towardsTcl9
2023-02-19
18:27
More type changes for going 64-bit. check-in: 65277d9d60 user: rolf tags: towardsTcl9
2023-02-18
02:51
Going 64-bit for string pointer length does need changes in the library itself. check-in: a0e8f6a60b user: rolf tags: towardsTcl9
2023-02-17
15:57
More type massage to bridge between Tcl 8 and 9. Looking at that revealed a few questionable type chooses by tDOM itself. check-in: 1386f26d6e user: rolf tags: towardsTcl9
2023-02-16
18:29
wip check-in: 1460a0dd06 user: rolf tags: towardsTcl9
2023-02-11
01:08
Not yet there. check-in: 68220d504d user: rolf tags: towardsTcl9
2023-02-04
03:16
Merged from trunk. Closed-Leaf check-in: 19a1ebe793 user: rolf tags: cascadingxpath
01:55
Fix for the previous fix: The parent nodes of the root nodes of a forest document have to be empty. check-in: 41026c0cbd user: rolf tags: trunk
2023-02-03
01:26
Simple parser: adjust the parent nodes of the first level children while removing the umbrella node to implement -forest. check-in: 09226b62bd user: rolf tags: trunk
2023-01-28
01:39
Adapting to Tcl 9: Reduce the fall-out of TIP 595. check-in: 258cbe5a24 user: rolf tags: trunk
2023-01-26
01:20
Fixed test suite machinery to load the source tree version. check-in: 21c4691c2c user: rolf tags: trunk
2023-01-23
15:55
Changed build system so that tcldomsh build works with Tcl 8 and Tcl 9. check-in: 58c4d6ae63 user: rolf tags: trunk
2023-01-19
00:27
Editorial fixes. check-in: 6f446ead62 user: rolf tags: trunk
2023-01-15
01:55
Merge from trunk. Leaf check-in: d570e523ac user: rolf tags: startpattern
2023-01-12
23:38
wip check-in: 2b475b45e1 user: rolf tags: startpattern
2022-12-29
00:22
Updated to expat 2.5.0. check-in: 32445cdcba user: rolf tags: trunk
2022-10-01
01:35
Added some documentation. check-in: 3e93a507a9 user: rolf tags: cascadingxpath
00:37
Provides the optional result set type variable also in case of selectNodes -list. check-in: 28fd512def user: rolf tags: cascadingxpath
2022-09-30
21:10
Started new selectNodes option -list which expects a list of XPath queries, applies the next query on every node of the result set of the previous and returns the results of the last query as one list. check-in: e3b4318a14 user: rolf tags: cascadingxpath
2022-09-28
12:51
Updated to expat 2.4.9. check-in: 0cc5e2fb0a user: rolf tags: trunk
2022-09-15
10:48
Starts to work. check-in: b580c20330 user: rolf tags: startpattern
2022-09-14
12:24
Started. check-in: c0a827ac8f user: rolf tags: startpattern
2022-09-13
13:10
Simplified function - all callers used the same second arg (for reasons). check-in: 5ee0852228 user: rolf tags: trunk
2022-09-11
15:24
Merged from trunk. Leaf check-in: 41527a21b1 user: rolf tags: jsonvalidationotf
15:08
Added the node command method getByteIndex. Added the submethod byteIndex to the info method of the schema commands. check-in: 26f437e97f user: rolf tags: trunk
15:03
Added a bit documentation and tests. Closed-Leaf check-in: b31054bdb7 user: rolf tags: morebyteindex
00:04
Started. check-in: dfa0cb3694 user: rolf tags: morebyteindex
2022-09-08
22:17
Started exeriment to do json validation against a tDOM schema while parsing (and not only by postvalidating the tree. check-in: 7b88ac3d92 user: rolf tags: jsonvalidationotf
2022-09-06
17:06
Restored configure option --disable-schema which was brocken after the split of the schema code. check-in: d94520ac92 user: rolf tags: trunk
2022-09-01
11:55
De-crufted recover() internals. check-in: 949b0142a6 user: rolf tags: trunk
2022-08-27
00:32
Editorial change. check-in: 935e6cfb50 user: rolf tags: trunk
00:22
Added the method asCanonicalXML to the domDoc and domNode commands. Added the options -escapeCR and -escapeTab to the method asXML of the domDoc and domNode commands. check-in: 11680727be user: rolf tags: trunk
00:01
More documentation work. Closed-Leaf check-in: 82079abe93 user: rolf tags: c14n
2022-08-26
09:15
Fixed more typos. check-in: 25ec47a271 user: rolf tags: c14n
08:44
Fixed typo. check-in: 0cb0cc16eb user: rolf tags: c14n
00:11
A few words of documentation for the new method asCanonicalXML added. check-in: 472185897e user: rolf tags: c14n
2022-08-25
23:40
Added last example out of the recommendation as test. check-in: 01bf29fd5c user: rolf tags: c14n
23:30
As fall-out of new functionalities needed for c14n XML new optiongs -escapeCR and -escapeTab for the method asXML. check-in: 83860cac4f user: rolf tags: c14n
22:48
More work on encoding of special characters as character references in attribute values and text. check-in: 1681a54542 user: rolf tags: c14n
17:01
Started encoding of special characters. check-in: 7181ead46c user: rolf tags: c14n
15:34
Integrated attribute sorting. check-in: f8e0bb7c5b user: rolf tags: c14n
15:33
Made attribute sort work. Closed-Leaf check-in: 45192143a5 user: rolf tags: wip
06:52
wip check-in: 3febcb12fb user: rolf tags: wip
2022-08-20
02:19
Suppress superfluous XML namespace declarations. check-in: 43e4e0a0c4 user: rolf tags: c14n
00:42
Merged from trunk. check-in: ec1013c631 user: rolf tags: c14n
00:36
More of the same. check-in: 65f47bb7e7 user: rolf tags: trunk
00:30
Added documentation for the commands tdom::fsnewNode and tdom::fsinsertNode. check-in: f1cb932bba user: rolf tags: trunk
2022-08-19
22:13
Noted 0.9.3 release in CHANGES. check-in: 9c8a034db3 user: rolf tags: trunk
22:09
Save work. check-in: 4bf8e018ee user: rolf tags: c14n
01:04
More work. check-in: d3f0ae983f user: rolf tags: c14n
2022-08-18
11:24
More boilerplate. check-in: ec7a4d3aa2 user: rolf tags: c14n
2022-08-17
23:34
Started. check-in: 8818527027 user: rolf tags: c14n
16:53
Split schema.c into two files schema.c and datatypes.c. check-in: 0eb4796366 user: rolf tags: trunk
13:35
More cleanup. Closed-Leaf check-in: 3c0f3c584c user: rolf tags: splitschemacode
2022-08-14
19:53
Split schema.c into two files schema.c and datatypes.c. check-in: 127d90b976 user: rolf tags: splitschemacode
2022-08-12
07:52
Replaced C99 idiom for compatibility with older compiler (as gcc4.9.2). check-in: 2f99526c44 user: rolf tags: trunk
00:28
Automaticall proovereading. check-in: e36a320c65 user: rolf tags: trunk
2022-08-09
23:32
Merged from trunk. Closed-Leaf check-in: 0f8f97f9bf user: rolf tags: towardsTcl9
2022-08-05
23:25
Renamed the -forrest option and all forrest symbols in the code with -forest, how it should have been spelt right from the start. check-in: 3eb60c75da user: rolf tags: trunk, release, tdom-0-9-3
2022-08-03
22:18
Updated README check-in: 9bec6aee4c user: rolf tags: trunk
2022-08-02
23:21
Regenerated docs. check-in: 1542449fde user: rolf tags: trunk
22:49
Added the text constraint command jsontype. Added the structure constraint command jsontype. check-in: c0c8c86371 user: rolf tags: trunk
22:27
Doc fix. Closed-Leaf check-in: 9fdc23254e user: rolf tags: jsonType
22:10
Added error reporting for and recovering from jsontype structure constraints. Improved the error reporting for dom postvalidation without reportcmd. check-in: fd44f8cac2 user: rolf tags: jsonType
2022-08-01
16:56
wip check-in: 5515d71d3e user: rolf tags: jsonType
2022-07-30
13:52
wip check-in: 8323a8c0fb user: rolf tags: jsonType
2022-07-29
23:51
More work on structure constraint jsontype. check-in: 9c5ec7ed6e user: rolf tags: jsonType
22:12
Added structure constraint command jsontype. Useful error reporting and recovering to be done. check-in: 2402dbf858 user: rolf tags: jsonType
01:35
Save work. check-in: ebd5f12335 user: rolf tags: jsonType
01:00
Another test. check-in: 50d9de08be user: rolf tags: jsonType
2022-07-28
23:57
Added text constraint command jsontype. check-in: b53a83bd51 user: rolf tags: jsonType
2022-07-27
21:56
Merged from trunk. check-in: db583bf8d7 user: rolf tags: jsonType
16:42
Code hygiene. check-in: d0e55d2011 user: rolf tags: trunk
14:24
More tests wrt tdom used in child interpeter. check-in: 2d6516b7be user: rolf tags: trunk
00:27
Fixed test file and test. check-in: 87afecf83d user: rolf tags: trunk
00:21
Fix of the switch to assoc. Tests for the fix and the inital problem. check-in: 3d638bb6d0 user: rolf tags: trunk
2022-07-26
21:29
wip check-in: 7d7f63aa4b user: rolf tags: jsonType
2022-07-25
22:38
It's a tad (but stable) slower overall the test suite. But its more correct. At least it fixes a problem nobody has showed a test case for. check-in: 5cff19532d user: rolf tags: trunk, allassoc
22:06
Kudos to Christian Werner. Closed-Leaf check-in: 097bfb4a81 user: rolf tags: assocall
16:57
Corrected version number. check-in: aae300c935 user: rolf tags: trunk
2022-07-23
23:01
Integrated compiler nits pacifying. check-in: df977eb805 user: rolf tags: trunk
2022-07-22
11:45
Tweaked test suite to have a valid long int argument even on platforms with wordsize 4. Closed-Leaf check-in: 1a8a1b246a user: rolf tags: compiler-nits
10:31
More explicit type conversion. check-in: 17443b8f46 user: rolf tags: compiler-nits
09:45
Merged from trunk. check-in: 525e7c4db9 user: rolf tags: compiler-nits
01:44
Made the Tcl interperter assoc mechanism to store the active schema data the default- check-in: 4c092ccb55 user: rolf tags: trunk
2022-07-21
22:48
Added the magic comment to silence "fall trough" warnings by gcc and clang. More explizit type casts. Replaced most Tcl_Panic() calls with lesser rude reporting. check-in: 319cb70060 user: rolf tags: compiler-nits
2022-07-17
22:52
More compiler warnings processed. check-in: ca92594493 user: rolf tags: compiler-nits
2022-07-16
14:03
Started compiler warnings reduce (a few with better reasons, others with lesser). check-in: e572014487 user: rolf tags: compiler-nits
2022-07-15
09:54
More signed/unsigned comparsion warnings handled. check-in: a59ab6f112 user: rolf tags: trunk
01:00
Pacified a couple of comparsion between signed and unsigned compiler warnings, which had ground. check-in: a7869a16df user: rolf tags: trunk
2022-07-14
23:51
Postponed the release for a few last minute feature adds and tweaks. check-in: 1db99effe6 user: rolf tags: trunk
2022-06-23
12:32
Adapted documentation to prior implementation changes. Closed-Leaf check-in: 91873c2398 user: rolf tags: prepare-release
2022-06-21
22:01
Merged from trunk. check-in: 8afa987140 user: rolf tags: prepare-release
22:00
Added non-standard XPath function laststring() which behaves like string(), just returing the string value of the last node in case of a node set result. check-in: 27598e33da user: rolf tags: trunk
21:50
Updated the nmake build system from sampleextension. check-in: 49c3a28335 user: rolf tags: prepare-release
00:45
Made test suite work with 8.4. check-in: 4e8c1eb9ec user: rolf tags: prepare-release
2022-06-20
20:12
Adapted code to deal with Tip 543. check-in: 162bfdac16 user: rolf tags: prepare-release
2022-06-08
23:49
Added non-standard XPath function laststring() which behaves like string(), just returing the string value of the last string in case of a node set result. Closed-Leaf check-in: 53674ce50a user: rolf tags: xpath-func-laststring
2022-06-02
22:54
Added commands tdom::fsnewNode and tdom::fsinsertNode. check-in: 0595f7faca user: rolf tags: trunk
22:49
More tests. Closed-Leaf check-in: 49b088df68 user: rolf tags: wip
22:34
Added tdom::fsnewNode und tdom::fsinsertNode. check-in: 21c47bb0c6 user: rolf tags: wip
10:49
tdom::fsinsertNode works. check-in: c73a4ec636 user: rolf tags: wip
01:26
wip check-in: 02c7736bfa user: rolf tags: wip
2022-05-31
21:58
Hardened appendFromScript/insertBeforeFromScript against deletion of the doc on which the script works. check-in: 092ad67e81 user: rolf tags: trunk
21:51
Much better. Closed-Leaf check-in: 5ac2968867 user: rolf tags: wip
2022-05-27
16:43
wip check-in: a80bccddd0 user: rolf tags: wip
2022-05-26
01:18
wip check-in: 3f0e06054f user: rolf tags: wip
2022-05-16
07:48
Spell fix. check-in: e7edc13ffa user: rolf tags: trunk
2022-05-14
15:05
Updated CHANGES (expat update). check-in: ebf31bb542 user: rolf tags: trunk
01:59
Updated to expat 2.4.8. check-in: 6ef193c67f user: rolf tags: trunk
01:37
Merged schema command any improvements in. check-in: 5cf63249c4 user: rolf tags: trunk
01:31
Adjusted documentation. Closed-Leaf check-in: 1db61de8e8 user: rolf tags: any
2022-05-10
23:52
Improve any option handling. check-in: 2b5a2c2551 user: rolf tags: any
2022-05-08
00:48
Added any -not. check-in: 9327bf3b09 user: rolf tags: any
2022-05-07
14:56
Towards any -not (wip). check-in: d8384716bb user: rolf tags: any
2022-05-05
21:54
Now the empty namesapce (meaning elements without namespace) may be belong the namespaces list argument. check-in: 4002ad13df user: rolf tags: any
2022-04-28
01:34
Feature enhancement: Allow any element in a namespace out of a list. check-in: 9c7289af44 user: rolf tags: any
2022-04-27
00:46
Started. check-in: 5cf86622f8 user: rolf tags: any
2022-04-15
00:29
Added option -forrest to dom parse. check-in: e5e9feb0a8 user: rolf tags: trunk
2022-04-14
23:38
Mirco optimization. Closed-Leaf check-in: 3bb6869686 user: rolf tags: wip
22:09
Documentation work. Closed-Leaf check-in: 3a48816d85 user: rolf tags: parseforrest
16:32
Much better approach for dom parse -forrest w/ expat: use an external entity parser. check-in: 5efae5139b user: rolf tags: parseforrest
2022-04-08
22:44
Added alias for IANAEncoding2TclEncoding from namespace tdom to tDOM. Fixes [d5ab66290a92]. check-in: f744d9682b user: rolf tags: trunk
2022-04-03
17:40
Merged from trunk. Leaf check-in: 6db85b4ea3 user: rolf tags: toschema
2022-04-02
01:58
Smaller improvements. check-in: 71ad27132d user: rolf tags: parseforrest
2022-04-01
15:03
Reduced domReadDocument implementation redundancy. check-in: 8f590653dc user: rolf tags: parseforrest
2022-03-31
22:58
wip check-in: 8a28e0979e user: rolf tags: parseforrest
01:24
wip check-in: 9803aaacc1 user: rolf tags: parseforrest
2022-03-27
23:41
wip check-in: f5e136f14a user: rolf tags: parseforrest
2022-03-26
17:21
wip check-in: fc18ba69ef user: rolf tags: parseforrest
02:12
Added some documentation. check-in: d6bf719d3d user: rolf tags: parseforrest
01:25
Mostly done for dom parse. check-in: 8dce3d3bfd user: rolf tags: parseforrest
2022-03-24
00:56
Work on dom parse -forrest. check-in: 4d7afcb1aa user: rolf tags: parseforrest
2022-03-23
00:17
Mostly done for -html. check-in: 79b1e5e820 user: rolf tags: parseforrest
2022-03-21
23:44
Mostly done for -simple. check-in: 52160a56bd user: rolf tags: parseforrest
2022-03-19
17:11
Improved documentation. check-in: 8675c9954e user: rolf tags: trunk
01:56
Schema command mathods validate, validatefile and validatechannel enhanced with options to control external entitiy resolving. check-in: 2081bea03f user: rolf tags: trunk
01:24
Added documentation. Closed-Leaf check-in: 23c685b2e5 user: rolf tags: validateExtRef
2022-03-18
23:49
For validate/validatefile/validatechannel: Leave the error variable alone, if there is no validation error. check-in: 6c4c180008 user: rolf tags: validateExtRef
20:29
Removed debuging output. check-in: 9e9ec62333 user: rolf tags: validateExtRef
02:06
Put it all together. check-in: 3ba3600cb4 user: rolf tags: validateExtRef
2022-03-15
01:31
Added more of the stuff needed to control external enity resolving. check-in: ed1cc8e276 user: rolf tags: validateExtRef
2022-03-13
02:02
Merged from trunk. check-in: d1015acf15 user: rolf tags: validateExtRef
02:01
Save work. check-in: eb7992629c user: rolf tags: validateExtRef
01:02
More code hygiene. check-in: 7210926517 user: rolf tags: validateExtRef
2022-03-12
19:49
Save work. check-in: 84f8b98cc3 user: rolf tags: toschema
17:07
More simplification and centralisation of validate/validatefile/validatestring schema command method implementation. check-in: 3abd21b7d8 user: rolf tags: validateExtRef
02:32
Unified option handling of the schema command methos validate, validatefile and validatechannel. check-in: f3c0bd5e9a user: rolf tags: validateExtRef
00:41
Fixed test. check-in: 873752e46d user: rolf tags: trunk
2022-03-11
23:54
Cleaned up some memory problems introduced by the development. check-in: 2c1232e0ac user: rolf tags: validateExtRef
02:08
Enhance validate cmd validation methods (validate, validatefile, validatechannel) with parsing of external entities. check-in: e88eea9cad user: rolf tags: validateExtRef
2022-03-05
22:30
Merged from trunk. check-in: cd997a98a7 user: rolf tags: toschema
02:00
Implemented the text constraint commands byte, short, int and long, along the xsd counterparts. check-in: 50f8aea224 user: rolf tags: trunk
00:28
wip check-in: e7fdfa2e48 user: rolf tags: toschema
2022-02-26
16:06
Fixed typo. check-in: 6a7d1e17c6 user: rolf tags: trunk
16:05
Save work. check-in: 6606e26005 user: rolf tags: toschema
2022-02-20
17:41
Merged trunk. check-in: 2292f9077b user: rolf tags: toschema
2022-02-19
00:55
Added the options -billionLaughsAttackProtectionMaximumAmplification and -billionLaughsAttackProtectionActivationThreshold to dom parse and the by the xml::parser/expat command created parser commands. check-in: c51c286928 user: rolf tags: trunk
2022-02-17
15:12
xml::parser: option "-ignorewhitespace" extended, if set to true the parser wouldn't throw error "XML or text declaration not at start of entity" on spaces before XML declaration Closed-Leaf check-in: 4dcc0f03c3 user: sebres tags: experimental/bulk-ignore-ws
2022-02-16
17:05
merge trunk check-in: dbcd60f504 user: sebres tags: experimental/bulk-xml-parse
2022-02-14
22:28
Updated to expat 2.4.4. check-in: 9eb49501a2 user: rolf tags: trunk
2022-02-07
11:37
Fixed [52669bfb64a]. check-in: 21a31e3256 user: rolf tags: trunk
2022-02-04
20:14
Merged from trunk. check-in: aae8ce8dd5 user: rolf tags: towardsTcl9
20:12
Made more feature check test constraints work with 9.0 check-in: 52669bfb64 user: rolf tags: trunk
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
00:51
More work. Closed-Leaf check-in: 29b1e05dfb user: rolf tags: docwork
00:38
Started -onlyContents for asXML. Leaf check-in: 57a1eaee6c user: rolf tags: asXMLonlyContents
00:07
Added -onlyContents and -breakLines to asHTML. check-in: 59ab627f46 user: rolf tags: trunk
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
14:40
Merged from trunk. check-in: d0fe2d44da user: rolf tags: schema
13:53
Backouted [5a424c365fd7] to restore loading modules to tDOM. check-in: 41812bb913 user: rolf tags: trunk
13:50
Fixed tnc. check-in: a55a95ca7f user: rolf tags: trunk
13:22
Updated extensions configure. check-in: df7992efe4 user: rolf tags: trunk
12:23
Fixed tnc. check-in: 6ee5a58b81 user: rolf tags: trunk
01:25
More work. check-in: 57b611b6c0 user: rolf tags: docwork
00:25
Save work. check-in: 876b0756ee user: rolf tags: 8.4
2020-08-18
22:42
Save work. check-in: 3aec09bb64 user: rolf tags: docwork
21:38
More doc work. check-in: d61a2cc3e3 user: rolf tags: docwork
19:28
More tests. check-in: 978a7a5497 user: rolf tags: schema
00:57
Save work. check-in: e03a0dcffb user: rolf tags: docwork
2020-08-17
22:58
Merged from schema. check-in: 66219f699c user: rolf tags: docwork
22:57
Updated README check-in: 4ad781397e user: rolf tags: schema
22:30
Merged from trunk. check-in: 23e75baa27 user: rolf tags: schema
22:25
Updated TEA. check-in: 7c05b27190 user: rolf tags: trunk
22:06
Prefixed all not static functions in the schema code. check-in: ae40e6096b user: rolf tags: schema
2020-08-16
00:49
Added some tests. check-in: c6759d807b user: rolf tags: schema
2020-08-15
13:22
Save work. check-in: b3488ddbe9 user: rolf tags: docwork
2020-08-14
23:58
Save work. check-in: 83fb24a0b6 user: rolf tags: docwork
22:50
Documentation proof reading work. check-in: d2ba60ec1f user: rolf tags: schema
22:22
Clarified and fixed white space only text handling between tags. check-in: 317939234e user: rolf tags: schema
01:05
Mostly sorted it out. Closed-Leaf check-in: 3e242dbc28 user: rolf tags: wsrelevance
2020-08-12
21:24
Merged from schema. check-in: 48e9388c60 user: rolf tags: wsrelevance
21:22
Improved argument check of the schema constraint command text. check-in: cb52548fdc user: rolf tags: schema
2020-08-09
20:27
Save work. check-in: a7705adfd1 user: rolf tags: wsrelevance
2020-08-02
23:37
Added test. check-in: fc793568d2 user: rolf tags: schema
2020-08-01
23:33
Added text constraint command length. check-in: cc382337fc user: rolf tags: schema
2020-07-31
10:59
Minor documentation and test suite work. check-in: a14c1bb515 user: rolf tags: schema
2020-07-30
14:33
Integrated further improvements and features to recovering. check-in: 0e98933aa6 user: rolf tags: schema
13:16
Respect "ignore" return value from recover script in case of END_EVENT, enabling to get further recover calls for other missing mandantory content particle of the current content model. Closed-Leaf check-in: 42c54de7e7 user: rolf tags: wip
2020-07-24
08:39
Fixed md link. check-in: 3495d8fd68 user: rolf tags: trunk
2020-07-23
23:50
Merged from schema. check-in: 227e773285 user: rolf tags: wip
23:50
Merged from trunk. check-in: 76ba31355c user: rolf tags: schema
23:47
More work on README.md. check-in: d6e437fb0d user: rolf tags: trunk
23:14
Fixed markdown in README.md. check-in: 9eaa34b3ac user: rolf tags: trunk
23:12
Converted the README to markdown. check-in: f0fb141b71 user: rolf tags: trunk
10:47
Corrected the URL to the trunk zip archive. check-in: 9cf0f6e8f0 user: rolf tags: trunk
01:39
Reworded parts of the "Getting the Code" section of the README, triggered by [0d5fa4ee6f]. check-in: 53338753e8 user: rolf tags: trunk
01:03
Added -indent value "tab" to asXML and asJSON. check-in: 0118a1190b user: rolf tags: trunk
01:00
Worked on the asXML documentation. Closed-Leaf check-in: 66cae3c794 user: rolf tags: tabs
00:03
Cherry-pick by hand of [c4947454bce0]. check-in: ba1e7f4ba5 user: rolf tags: trunk
2020-07-22
23:42
Added -indent tabs to asJSON also. check-in: 4f33810032 user: rolf tags: tabs
00:49
Added "tabs" as possible value to asXML -indent and do the indentation with tabs, if given. check-in: cf00a7c899 user: rolf tags: tabs
2020-07-21
20:57
This way around. check-in: b7dc323286 user: rolf tags: wip
2020-07-18
14:14
Fixed matchElementStart in case of non interleave cp with only optional childs in sequential content. check-in: 823c7af73f user: rolf tags: wip
2020-07-11
14:18
Merged from schema. check-in: 3416d9f172 user: rolf tags: wip
01:04
Fixed bug in case of unknown empty document element. Leaf check-in: c4947454bc user: rolf tags: domvalidation
2020-07-10
18:15
Made dom parse -dtdvalidation a (by default enabled) build option. check-in: 2c055a1883 user: rolf tags: domvalidation
00:31
Merged from trunk. check-in: 174626facf user: rolf tags: domvalidation
00:28
Fixed the test data to be valid (and in sync with the source). check-in: 6ff953f765 user: rolf tags: domvalidation
00:08
Minor documentation work. check-in: 57cf341505 user: rolf tags: trunk
2020-07-09
01:16
Added the text constraint command duration. check-in: 45a05b0b4f user: rolf tags: schema
2020-07-08
22:50
Improved exposing of type checks: Common usable tdom text checks are now in tdom::text (fixing the overload of ObjCmd implementation). check-in: f6e9fea0d0 user: rolf tags: schema
19:40
Added the text constraint command time. check-in: 22e9577afc user: rolf tags: schema
17:48
Renamed the text constraint command isodate to date. Added the text constraint command datetime. check-in: d9aebfa7ce user: rolf tags: schema
2020-07-07
22:16
Fixed isodate text constraint implementation, extra leading zeros was not detected. check-in: 99efb14010 user: rolf tags: schema
2020-07-06
21:44
Cleaned up white space macros. check-in: 8007e1bf7d user: rolf tags: schema
12:45
Added text constraint command not. check-in: eb63441108 user: rolf tags: schema
10:55
Work on the documentation. tbc. check-in: 971d6a2973 user: rolf tags: schema
2020-07-03
11:56
Merged from trunk. check-in: c8e5101f6a user: rolf tags: schema
11:12
User configurable separator character between namespace URI and local name for XML namespace-aware SAX parser: Added the option -namespaceseparator to the expat command. check-in: 515c90d025 user: rolf tags: trunk
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-27
00:09
Added text constraint command whitespace. check-in: 567b33a968 user: rolf tags: schema
00:07
Fixed whitespaceImplReplace - correct mistakenly double test for \n and handle (the semi-hidden, because of the end-of-line handling by the parser) \r also. More tests. Closed-Leaf check-in: 2e024420ae user: rolf tags: xsdwhitespace
2020-06-22
00:38
Mostly implemented. check-in: 3b1eb55264 user: rolf tags: xsdwhitespace
2020-06-13
15:09
Started. check-in: 6c467a9d1f user: rolf tags: xsdwhitespace
2020-06-11
00:52
Merged from trunk. check-in: f782953f52 user: rolf tags: schema
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-30
01:38
Scripted XPath functions now also work in domunique/domxpathboolean XPath expression arguments. check-in: 6c38650608 user: rolf tags: schema
01:04
Scripted XPath functions in domunique/domxpathboolean XPath expression crashes. check-in: ad809ed898 user: rolf tags: schema
2020-05-27
00:34
Integrated bug fix branch: Handling of not per quantifier but per all childs optional content particle. check-in: 32945e114c user: rolf tags: schema
00:20
For a domunique constraint now the key value of an empty fieldset node set result can be given. check-in: 426dea4ca8 user: rolf tags: schema
2020-05-20
14:01
Fixed gross bug in info expected, which just was not triggered so far. check-in: 910d0dbb65 user: rolf tags: schema
2020-05-17
01:09
Fixed element end event in case of a complex content one child of interleave which isn't optional by quant but is because all of its constituents are optional. Closed-Leaf check-in: 4369e1130b user: rolf tags: tmp
2020-05-16
15:31
wip check-in: 8aa4152961 user: rolf tags: tmp
2020-05-15
01:34
Fixed element start event in case of a complex content as child of interleave which isn't optional by quant but is because all of its constituents are optional. check-in: 748fb8a432 user: rolf tags: schema
2020-05-14
23:12
There is still a bit work left to do in checkElementEnd. check-in: 9f3926e748 user: rolf tags: schema
2020-05-13
23:52
Merged from schema. check-in: f63309e59e user: rolf tags: wip
23:50
Merged from trunk. check-in: 1fc373ed25 user: rolf tags: schema
23:49
Added method clearString to the dom command. check-in: 5300f428a6 user: rolf tags: trunk
22:47
Save work. check-in: 23e2b27004 user: rolf tags: wip
2020-05-11
00:27
There is still a bit work left to do in checkElementEnd. check-in: 7f5d9b26db user: rolf tags: wip
2020-05-02
00:51
Merged from schema. check-in: c3fc68e0e2 user: rolf tags: wip
00:41
Merge the blunder in without documentation. check-in: a88689ecce user: rolf tags: schema
00:39
Fix possible subtile bug. Simplified a bit. Closed-Leaf check-in: 37f071d9e0 user: rolf tags: expected-onlymandatory
2020-05-01
21:59
#Small doc addendum. check-in: 3bc0aa5169 user: rolf tags: expected-onlymandatory
21:55
Corrected typo. check-in: ac452581b3 user: rolf tags: expected-onlymandatory
14:12
Corrected typo. check-in: 0248883e86 user: rolf tags: expected-onlymandatory
2020-04-30
01:12
wip check-in: 366abdbead user: rolf tags: expected-onlymandatory
2020-04-29
18:15
Merged from schema. check-in: 2da09eb05d user: rolf tags: expected-onlymandatory
18:14
Renamed the command/method deftext to deftexttype. Made it actually work als top level command inside a define script. check-in: bbe36354cb user: rolf tags: schema
2020-04-25
14:21
Still wip. check-in: 0f20b486ae user: rolf tags: expected-onlymandatory
2020-04-23
23:25
wip check-in: de53dde702 user: rolf tags: expected-onlymandatory
10:26
wip check-in: 56cdc2e142 user: rolf tags: expected-onlymandatory
2020-04-21
16:55
wip check-in: 5e6e76a283 user: rolf tags: expected-onlymandatory
2020-04-19
15:43
Save work. check-in: 9246e6fbb1 user: rolf tags: expected-onlymandatory
2020-04-17
17:53
Prepare for more info expected options. check-in: 01f241873c user: rolf tags: schema
00:35
Enhanced the tDOM C API. Now, binary extensions to tDOM may enhance the schema feature. As use case added sample extension schemadtx with the implementation of an extended text constraint (gtin checksum). check-in: 575f006829 user: rolf tags: schema
2020-04-16
23:56
Fixed build: use internal expat.h. Closed-Leaf check-in: 26cc7bb789 user: rolf tags: schema-extension
23:12
Merged from schema. check-in: 48401bf938 user: rolf tags: schema-extension
20:41
Do integer stored in pointer as the books say. check-in: e1553ee786 user: rolf tags: schema
2020-04-13
23:51
This is apparently the right magic. check-in: a1835a6901 user: rolf tags: schema-extension
2020-04-09
00:37
Another, less ambiguous attempt to make validatefile work cross-plattform with non 7-bit ASCII paths. check-in: 614925b428 user: rolf tags: schema
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
16:55
Cherry-picked: Attempt to make validatefile work cross-plattform even with other than 7-bit ASCII only paths. check-in: 82e3ed6758 user: rolf tags: schema
2020-04-04
14:59
Attempt to make validatefile work cross-plattform even with other than 7-bit ASCII only paths. check-in: 8c019904c4 user: rolf tags: schema-extension
2020-04-03
13:07
Extended the tdom extensions stub machinery to allow binary extensions to add schema text constraint commands. Added extension schemadtx as simple example, which provides the needed boilerplate code. check-in: c4c28aed76 user: rolf tags: schema-extension
2020-04-02
16:15
wip check-in: 90051235fd user: rolf tags: wip
2020-03-30
00:44
wip check-in: cc99b6f628 user: rolf tags: wip
2020-03-29
14:31
Merged the done good things from wip in. check-in: 6f6b54d366 user: rolf tags: schema
14:28
Temporary branch. Closed-Leaf check-in: 5567ad361d user: rolf tags: fixmistake
14:26
Save work before correction of commit mistake. check-in: a6ac66f068 user: rolf tags: wip
2020-03-28
02:13
Added a test. check-in: 6f1e34131e user: rolf tags: wip
01:30
Merged the done good things from wip in. check-in: 9fefd2eabf user: rolf tags: wip
01:28
Fixed info definedElements and info definedElementtypes. Added info definedPatterns and info patterndefinition. check-in: 1711ee96ee user: rolf tags: wip
2020-03-27
00:54
Merged so far done work: recovering script may now decide about recover strategy by return value in case of MISSING_ELEMENT with element start event. Beside the default "ignore the element and the rest of the current parent element content and continue with the parents sibling" now there is "ignore", advising the validation engine to pretend the missing mandatory element had matched and we are looking for the element start event from there, and "vanish", advising the validation engine to skip the element as it would haven't been in the input XML. In case of UNEXPECTED_ELEMENT in element start event the result "vanish" advices the validation engine to skip the element (which allows to see further unexpected elements in the source). check-in: f90aa277b4 user: rolf tags: schema
00:42
Save work. check-in: 3b5fdf0979 user: rolf tags: wip
2020-03-25
20:17
Save work. check-in: 0e666eae10 user: rolf tags: wip
2020-03-22
02:04
wip check-in: 16e44b5f70 user: rolf tags: wip
2020-03-20
19:27
Save work. check-in: 1c292a129a user: rolf tags: wip
02:31
Working on more control over recovering for certain events. check-in: a07b509a44 user: rolf tags: wip
2020-03-19
02:21
Integrated so far done work: bug fixes in recoving, more work on sanitizing recovering, code gardening. check-in: 33ac16a9c2 user: rolf tags: schema
02:15
Made the default recover behaviour at element end the same as for element start: skip and continue at the sibling of the current subtree. Closed-Leaf check-in: 0037ce9df3 user: rolf tags: wip
01:09
Added a recoverFlags element to the schema data structure and reworked the rewind flag int to be a recoverFlags flag. We will need more of them. check-in: 02d5ffc9b5 user: rolf tags: wip
2020-03-17
23:55
Micro optimization. check-in: fd743f35c1 user: rolf tags: schema
2020-03-16
00:38
Save work. check-in: d70281b9c7 user: rolf tags: wip
2020-03-15
01:20
wip check-in: 899c21f84b user: rolf tags: wip
2020-03-14
12:05
Merged from schema. check-in: ee3147fc64 user: rolf tags: wip
03:25
Added flag -ignorematched to the schema command submethod info expected. check-in: 0dc7c2f6cc user: rolf tags: schema
03:24
Fixed the damn thing. Closed-Leaf check-in: 8fb5a0b988 user: rolf tags: wip2
02:49
Merged from schema. check-in: 4582355609 user: rolf tags: wip2
02:48
Gardening. check-in: 74cd3204f1 user: rolf tags: schema
02:45
Fixed bug in case of missing required attributes w/ reportCmd. check-in: c24f9bedb3 user: rolf tags: schema
2020-03-13
01:55
wip check-in: 46d498e323 user: rolf tags: wip2
01:41
wip check-in: ce15fc26c0 user: rolf tags: wip2
2020-03-12
11:20
Save work. check-in: 5efdc81019 user: rolf tags: wip
00:56
Fixed handling of interleave content pattern while looking for text match: Of course don't look at already matched interleave childs. And if the remaining interleave childs may be skipped look further down the stack for a match. Plus minor code aesthetic: use the same local variable name for the same task in similar functions. check-in: 5cdf6cf4d3 user: rolf tags: wip
2020-03-10
22:42
Merged from schema. check-in: 4232e4ea69 user: rolf tags: wip
22:38
Fixed seg fault in error handling of invalid domunique usage. check-in: f552cf0e3e user: rolf tags: schema
21:36
Fixed coding error - the (minor) optimization didn't worked and the "hard" work was done always, just sometimes unnecessarily. check-in: 4b8200de8a user: rolf tags: schema
21:14
Pacified compiler, which (rightly) saw that two variables may be used uninitialized in a function call but didn't realize that this variables are not used by the called function, in the code path that let the variables uninitialized. check-in: a10185e695 user: rolf tags: schema
20:27
A bit better (and more correct) documentation of the info domNode method. check-in: 52fa6690b2 user: rolf tags: schema
2020-03-09
00:44
wip check-in: 4e24c336db user: rolf tags: wip
2020-03-06
13:31
More fine tuning of the info domNode method. check-in: 63d2a7101f user: rolf tags: schema
2020-03-05
15:18
Integrated attribute validation improvements. check-in: 91992bf418 user: rolf tags: schema
15:16
Finalized attribute lookup preparation. Fixed a few attribute error reporting bugs. Code gardening (spell fixes in var/function names). Attribute validation could or should revisited for even better optimization, but what's there will do it for now. Closed-Leaf check-in: d73064e901 user: rolf tags: attributeLookupPrepare
2020-03-04
12:32
Fixed build warning. check-in: 4cc1a35372 user: rolf tags: attributeLookupPrepare
00:48
Save work. check-in: 7e110ec876 user: rolf tags: attributeLookupPrepare
2020-03-03
22:00
Added a test. check-in: b9dfbb4aa1 user: rolf tags: schema
2020-02-27
16:53
Changed the "tcl" schema constraint command: it just evaluates the given arguments without appending the schema command to the argument list. Added new "self" schema constraint command, which returns the schema command. check-in: 7ecc6a8e29 user: rolf tags: schema
15:11
Fixed build breaking typo in last commit. check-in: 2de9f383a8 user: rolf tags: schema
12:02
Regenerated schema html/man doc. check-in: 0ccd2835a7 user: rolf tags: schema
2020-02-26
23:56
More improvements to validation error recovering. check-in: 8d86db3818 user: rolf tags: schema
23:53
Save work. Closed-Leaf check-in: 5b16be2c89 user: rolf tags: recover-doc-wip
01:31
Merged from schema. check-in: 4895c780de user: rolf tags: recover-doc-wip
00:23
Fixed doc typo. check-in: 0013508953 user: rolf tags: schema
00:21
Added documentation for the additional postvalidation schema constraint command domunique and domxpathboolean. check-in: 873b7a4ffd user: rolf tags: schema
2020-02-25
23:19
Check the postvalidation only contraints in definition order. Added the postvalidation only constraint command domxpathboolean. check-in: d331071bcf user: rolf tags: schema
00:35
Provided more info in case of recovering from domunique validation failure. check-in: 84b2ee3884 user: rolf tags: schema
2020-02-21
12:46
Fixed error recovering in case of UNEXPECTED_ELEMENT. check-in: 537243ab49 user: rolf tags: schema
2020-02-20
02:56
Fixed and sanitized the schema cmd method info domNode. check-in: 432f94b57a user: rolf tags: schema
2020-02-19
13:22
Merged from trunk. check-in: f67995f137 user: rolf tags: schema
12:38
Preserve node flags (most notable disableOutputEscaping) while cloning nodes or subtrees. Fixes ticket [f52380997e5]. check-in: 8fcf318110 user: rolf tags: trunk
2020-02-13
01:19
Fixed internal clean up after error in a content definition script with local defined elements. check-in: 8d564a17c0 user: rolf tags: schema
2020-02-12
00:39
Code gardening. check-in: e7f010f104 user: rolf tags: schema
2020-02-11
20:02
Enforce that only an element defined by defelement can be document element of the xml to validate. Added documentation for the content definition command "elementtype". check-in: f84ee35226 user: rolf tags: schema
16:28
Better handling of validation command using SAX parser in partial parsing mode (-final 0). check-in: 266d76531f user: rolf tags: schema
2020-02-10
22:38
Added a few tests. check-in: d1c94a212f user: rolf tags: schema
2020-02-06
23:41
Code fix. check-in: 106ae257a7 user: rolf tags: schema
2020-02-04
01:11
Fasten work. check-in: 121b7f42ad user: rolf tags: schema
2020-02-01
01:22
Added an optimization in case of serveral easily distinguished choices in a choice content particle. check-in: 19b4a5d0ea user: rolf tags: schema
01:12
Added a configurable threshold for the optimization. Closed-Leaf check-in: 3ae775c452 user: rolf tags: mixedoptimization
2020-01-27
23:48
Merged from schema. check-in: 01080e891e user: rolf tags: mixedoptimization
23:42
Save work. check-in: 70eb60b0b9 user: rolf tags: recover-doc-wip
2020-01-25
14:43
Save work. check-in: 7a6bb5d975 user: rolf tags: recover-doc-wip
2020-01-21
00:57
Added the schema definition command associate and the requesting method info stack associated, tests and doc. check-in: 254c84e47d user: rolf tags: schema
00:54
Added method info stack associate to request data associated with the associate definition script command. Closed-Leaf check-in: b2ca5788d4 user: rolf tags: associate
2020-01-20
00:17
Merged from schema. check-in: 25933a5ac2 user: rolf tags: mixedoptimization
2020-01-18
02:05
Save work. check-in: 59815422e2 user: rolf tags: associate
01:32
Save work. Leaf check-in: 8b206fdd93 user: rolf tags: linkvar
2020-01-11
02:18
Merged from trunk. check-in: 8cd9ca1c3a user: rolf tags: schema
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
2020-01-10
23:59
Removed unused historical relict. check-in: 9a72a20202 user: rolf tags: schema
23:26
Pacified a (bogus) compiler warning. check-in: 21822aeab7 user: rolf tags: schema
2020-01-05
01:14
Added subcommand definedElementtypes to the schema command method info, returning the list of all defined element types. check-in: f3cb326ad5 user: rolf tags: schema
00:15
Added schema command subcommand method info typedefinition to query defelementtype definition details. check-in: 81cd49d4ec user: rolf tags: schema
2020-01-03
00:52
Added documentation for the schema command method validatechannel. check-in: 1774aef03a user: rolf tags: schema
2020-01-02
02:19
Added schema command validatechannel, which reads the data stream to validate from a tcl channel. check-in: c5bd39ed92 user: rolf tags: schema
2020-01-01
23:53
Added some index keywords to the schema documentation. check-in: d2f4f6bacf user: rolf tags: schema
2019-12-31
02:37
Added documentation for the schema command methods defelementtype and validatefile. check-in: c9e4b5af68 user: rolf tags: schema
02:06
Added schema command method validatefile. check-in: cb70253aed user: rolf tags: schema
02:05
Added test for validatefile. Closed-Leaf check-in: 747de9fb71 user: rolf tags: validatefile
00:57
Merged from schema check-in: 75d96d3e0c user: rolf tags: validatefile
00:49
Merged from trunk check-in: f212d3b0ba user: rolf tags: schema
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-12-28
01:09
Added commands defelementtype and elementtype to have elements with the same name but different content models (without using local defined elements). check-in: 8327de4934 user: rolf tags: schema
01:03
Fixed problems with cleanup after errors in definition scripts. Closed-Leaf check-in: f08e4b9cb1 user: rolf tags: elementtype
2019-12-26
01:53
Save work. check-in: 3fe6e4e349 user: rolf tags: elementtype
2019-12-25
03:46
wip check-in: 6e717778ef user: rolf tags: elementtype
2019-12-24
02:01
Fixed the test suite wrt to the last commit. Further work on elementtype. check-in: a17f75fc27 user: rolf tags: schema
01:40
The "define type of thing" schema definition commands can't be used nested and raise error now if used so. check-in: 14ae7cd431 user: rolf tags: schema
2019-12-23
23:59
Document current behaviour itr. check-in: 4474960598 user: rolf tags: schema
22:00
wip Closed-Leaf check-in: ffe9d23e1b user: rolf tags: wip
2019-12-17
01:17
Merged from schema. check-in: a37b831d95 user: rolf tags: wip
2019-12-14
01:53
Checked all uses of sdata->stack for if it in fact is given that this isn't NULL. check-in: 8b67a5eb7e user: rolf tags: schema
2019-12-11
23:06
Fixed seg fault in case of UNKNOWN_ROOT_ELEMENT and reportCmd is set. check-in: 3a3f58154d user: rolf tags: schema
2019-12-07
01:59
Added the text constraint command setvar, which expects the name of a tcl var as argument and set this variable to the text to validate. check-in: 366ed3d250 user: rolf tags: schema
2019-12-06
01:52
Merged from schema. check-in: 022d8ade42 user: rolf tags: mixedoptimization
2019-12-05
14:47
Played around with a validatefile method which takes a file name and does parsing/validation in chunks. check-in: efc9bce1b9 user: rolf tags: validatefile
13:31
Removed unused argument to pushToStack. check-in: 5fe79f9b36 user: rolf tags: schema
13:27
Try an O(n) approach for simple choice cases. check-in: 4b65eabd78 user: rolf tags: mixedoptimization
10:11
Exposed text constraint command isodate to be usable outside schema validation context. check-in: 8b2322acee user: rolf tags: schema
00:23
Simplified text constraint commands sekeleton. check-in: 5430bf6f10 user: rolf tags: schema
2019-12-04
10:46
Minor doc addition. check-in: 5055811366 user: rolf tags: schema
2019-11-30
00:50
Merged from trunk. check-in: 8c0cc53beb user: rolf tags: schema
00:47
Editorial clean up: Removed cvs keywords in source code headers; the are obsolete. check-in: 14a8728e63 user: rolf tags: trunk
00:22
wip check-in: 55d2228ae4 user: rolf tags: toschema
00:07
Implemented the text constraint commands unsignedByte, unsignedShort, unsignedInt and unsignedLong, along the xsd counterparts. check-in: 051ae451a2 user: rolf tags: schema
2019-11-29
16:42
Added text constraint command hexBinary (similar to the xsd type hexBinary). check-in: ea199fedb7 user: rolf tags: schema
00:29
Added the xsd data types negativeInteger, nonNegativeInteger, nonPositiveInteger and positiveInteger. check-in: d3fc207059 user: rolf tags: schema
2019-11-24
01:07
Added the xsd data types Name, NCName and QName as text constraint commands name, ncname and qname. check-in: 3201b746cc user: rolf tags: schema
2019-11-22
23:54
Added validation of the included tmml xml documentation against the included tmml.schema as test. check-in: 2bee8a3462 user: rolf tags: schema
23:51
Minor editorial change. check-in: 16866bc56d user: rolf tags: schema
2019-11-21
00:57
Fixed -DTDOM_NO_SCHEMA=1 build. check-in: 95b30715cd user: rolf tags: schema
2019-11-18
22:42
Removed slipped throu debuging instrumentalization. check-in: 22b17ef648 user: rolf tags: schema
22:37
The attribute und nsattribute commands are only supported toplevel in the definition scripts of the defelement method and the element command. check-in: b3b2ce77f0 user: rolf tags: schema
2019-11-16
13:09
A few spell fixes. check-in: 7726a079e1 user: rolf tags: schema
2019-11-15
23:46
Started check for ambiguity. check-in: a2f83dea7e user: rolf tags: wip
15:17
Updated documentation example section. check-in: c0721894cc user: rolf tags: schema
13:45
Work on the info method and the documentation for that method. check-in: e3fd3c93a9 user: rolf tags: schema
10:22
Moved schema command method nrForwardDefinitions as subcommand to info; it belongs more there. check-in: 05086c2182 user: rolf tags: schema
09:30
Prevent call of the recovery report command in case of probed optional not matching pattern. Added recovery in a so far not handled case. check-in: 1ceabd63a5 user: rolf tags: schema
2019-11-14
14:09
Added optional time zone check to text constraint isodate, making it fully xsd:date compliant. check-in: 7cf1968eb3 user: rolf tags: schema
12:58
Added more documentation. check-in: 78462d5d87 user: rolf tags: schema
2019-11-13
17:19
Regenerated man and HTML documentation. check-in: c4d76b0670 user: rolf tags: schema
17:06
Added info line and info column to retrieve parsing position information. Made the interfaces for position information using a long for this. Tried to prevent concurrent use of a schema command - a schema command may be busy. Added book-keeping code to prevent seg fault, if a schema command is configured as validation command for a SAX parser or DOM building and the schema command is deleted on the way at script level. check-in: e5d39024c8 user: rolf tags: schema
17:02
Added info line and info column to retrieve parsing position information. Made the interfaces for position information using a long for this. Tried to prevent concurrent use of a schema command - a schema command may be busy. Added book-keeping code to prevent seg fault, if a schema command is configured as validation command for a SAX parser or DOM building and the schema command is deleted on the way at script level. Closed-Leaf check-in: d3e7475b85 user: rolf tags: wip
2019-11-09
16:56
wip check-in: d10c95ec06 user: rolf tags: wip
00:54
Plugged obscure mem leak. check-in: 8b0f0e9ecc user: rolf tags: schema
2019-11-06
20:55
Merged from trunk. check-in: 34fdc85dfb user: rolf tags: schema
20: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
00:28
Morged from trunk. This fixes some results in pushpull.bench. Made the bench framework more friendly for comparing the same version with different build options. check-in: 6a897b31d5 user: rolf tags: pullAPI
00:13
Removed more of this obsolete comments. This is handled in TclExpatHandlerResult(). check-in: 71598843fd user: rolf tags: trunk
00:06
Removed obsolete comment. It is already possible to terminate parsing with certain result codes. This is handled in TclExpatHandlerResult(). check-in: fdc4fb29f3 user: rolf tags: trunk
00:03
This is an important but hard to explain bug fix. The symptom was: using expat in a certain way (triggering the "Welch dispatch" method of calling handler scripts behind the scene) suffered from a dramatic slowdown with 8.6, while it was the fastest method of using expat with all other versions < 8.6. This changes adapts tDOM to the relevant core changes. check-in: 32df86b4d4 user: rolf tags: trunk
2018-03-06
22:48
Done something with [e831cf931a07d]. check-in: a99a29a3aa user: rolf tags: trunk
2018-03-02
15:39
Made the 'load tDOM for test suite run' helper script a bit more flexible. check-in: 35c762d585 user: rolf tags: trunk
2018-03-01
12:47
Eliminate tabs. Closed branch. See issue [e831cf931a]. Closed-Leaf check-in: 69d2001fef user: yorick tags: issue-e831cf931a07-tdom_Finalize
08:13
Fix for [e831cf931a07] check-in: 34806d3b29 user: yorick tags: issue-e831cf931a07-tdom_Finalize
2018-02-27
09:36
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d3b6eabb2b user: yorick tags: pyk-parsexpath
09:35
Fixed [e6ccc3c1fac1eb]. check-in: b66886b8c2 user: yorick tags: pyk-parsexpath
2018-02-26
19:58
Save work for discussion. check-in: 950cd395a2 user: rolf tags: pullAPI
02:19
Started push/pull bench file. check-in: b380e93a74 user: rolf tags: pullAPI
02:14
More tests. check-in: 8b0a9f2c6a user: rolf tags: pullAPI
01:54
Plugged leak introduced with find-element. check-in: 124710d771 user: rolf tags: pullAPI
2018-02-25
02:39
More work on the pullparser documentation. check-in: 1a8ce66cda user: rolf tags: pullAPI
2018-02-24
16:11
Added legal boilerplate to tclpull.c check-in: ff44e93eb6 user: rolf tags: pullAPI
16:07
Merged from trunk. check-in: 98dddd2848 user: rolf tags: pullAPI
15:52
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d5ec6fc888 user: rolf tags: trunk
03:12
Started documentation. check-in: 75ba091015 user: rolf tags: pullAPI
02:09
Enabled method find-element also for START_DOCUMENT state. check-in: 9055eaa404 user: rolf tags: pullAPI
01:31
Enabled method find-element for pull parser state END_TAG. check-in: 99c809552e user: rolf tags: pullAPI
2018-02-23
16:27
Fixed error msg in case find-element is called while state isn't START_TAG check-in: 5a3a1b4cfd user: rolf tags: pullAPI
16:24
Implemented method find-element for state START_TAG. check-in: 418efdfa87 user: rolf tags: pullAPI
15:21
Fix error in xpathNodeTest. xpath-5.56 now passes. check-in: 7bafc781b3 user: yorick tags: pyk-parsexpath
12:27
Prepare code for integration of find-element method. check-in: 15ee069170 user: rolf tags: pullAPI
12:23
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 49c48c4626 user: yorick tags: pyk-parsexpath
12:08
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 7064f3a9eb user: rolf tags: deCONST
01:47
Fixed [e6ccc3c1fac1eb]. check-in: ecc68384d0 user: rolf tags: trunk
2018-02-22
12:50
Merged trunk. check-in: a49f7e938f user: rolf tags: pullAPI
12:49
Fixed the recently broken build w/ --enable-threads. check-in: c05bde9469 user: rolf tags: trunk
11:12
Make modifications necessary to support new %nodetest functionality. All tests pass except xpath-5.56, and that may be a problem in the test itself. check-in: 0fcd6c63e6 user: yorick tags: pyk-parsexpath
06:21
Merge trunk, breaking things. check-in: 9927f3c39e user: yorick tags: pyk-parsexpath
01:46
More pruning out history: all that CONST and even CONST84 business. check-in: 659134bc9a user: rolf tags: deCONST
00:57
A bit modernizing and gardening of the code base (e.g. pruning out pre-ansi stuff). Work mostly done by Gustaf Neumann. check-in: da20a637cf user: rolf tags: trunk
2018-02-21
23:58
Removed unused struct member. check-in: d43d04b976 user: rolf tags: pullAPI
22:46
HTML reader: Fixed reading of numeric character entities. Thanks to Gustaf Neumann for reporting and most of the work. check-in: 56d76bf7d7 user: rolf tags: trunk
22:26
HTML reader: Document memory access problem with invalid numeric character entity. check-in: 7cf78490e2 user: rolf tags: trunk
19:12
Merged trunk. check-in: 39e0da6177 user: rolf tags: pullAPI
19:07
Added new pull parser method skip. Valid only in START_TAG state. Skips every event until the corresponding END_TAG (which is reported). check-in: 1f504129d4 user: rolf tags: pullAPI
12:30
Removed the now unused interp argument from domCreateDocument. check-in: d0fbb5904c user: rolf tags: trunk
01:38
Merged trunk. check-in: e7afcf0b4a user: rolf tags: pullAPI
00:24
Made behaviour of the code match expectation: if a var is read-only you shoudn't be able to set it anyway. check-in: 20ad681036 user: rolf tags: trunk
00:14
More description and context of [e6ccc3c1fac1ebbfa]. check-in: 8515af3433 user: rolf tags: trunk
00:09
Respect [dom setNameCheck] even for [dom createDocument/createDocumentNS ...] Thanks to pooryorick for reporting. check-in: 66acb1bd7d user: rolf tags: trunk
2018-02-17
03:27
Added test for [e6ccc3c1fac1]. check-in: ebebdc3027 user: rolf tags: trunk
2018-02-16
17:12
Fixed invalid memory access. Seems, that at least the name argument to the startElement handler is only valid for the handler call, even if the parser is suspended within the same handler call. Added element tag name cache hash table, that stores Tcl_Objs with the tags as value for fast report with Tcl_SetObjResult(). check-in: 2bb12a2f61 user: rolf tags: pullAPI
02:02
Dumped some test framework into the test file. check-in: 75e12697af user: rolf tags: pullAPI
01:59
Needed another check about loading the script library, because with ::tDOM::pullparser the ::tDOM namespace is always there. check-in: 86d9953bf2 user: rolf tags: pullAPI
01:44
Another fix in case of using -ignorewhitecdata. check-in: 9906838526 user: rolf tags: pullAPI
01:08
Fixed bug of handling of the expat behaviour of calling a few callbacks more, even if XML_StopParser() is already called. check-in: 5b0aa6804f user: rolf tags: pullAPI
2018-02-15
23:52
Fixed bug in case of -ignorewhitecdata. check-in: c58ff2e14f user: rolf tags: pullAPI
18:48
Added optional flag -ignorewhitecdata on creation time which suppresses report of white space only text events. check-in: d37caddb43 user: rolf tags: pullAPI
14:43
Merged from trunk. check-in: 0701a158b7 user: rolf tags: pullAPI
14:22
Fixed versionhash.h generation on Mac. check-in: b054a3bb6e user: rolf tags: trunk
13:25
Report sensible state if [pull state] is called after parsing error. check-in: 52f4e3ec50 user: rolf tags: pullAPI
13:00
More cleanup at end of parsing / do not leak file descriptors. check-in: c178f276e1 user: rolf tags: pullAPI
12:40
Faster pull status reporting. check-in: 2a5ee0a2f4 user: rolf tags: pullAPI
02:15
Added streaming from file. check-in: 5b284aca8b user: rolf tags: pullAPI
00:56
Added streaming from Tcl_Channel. check-in: a6c90f3b6c user: rolf tags: pullAPI
2018-02-14
17:16
Added some more argument checks. Added a tiny tests file. check-in: 07b0fa7da5 user: rolf tags: pullAPI
16:28
Added method reset. Started work for streaming input sources. More refinement and error case handling. check-in: 35ce23541d user: rolf tags: pullAPI
14:37
Merged from trunk. check-in: 98ce01c385 user: rolf tags: pullAPI
14:35
Added the new user visible change to CHANGES. check-in: 9dd79ab391 user: rolf tags: trunk
14:31
Added [dom featureinfo versionhash]. check-in: c303ca134c user: rolf tags: trunk
14:20
Fixed spelling DOKUMENT -> DOCUMENT. Now, even empty tag short cuts (<e/>) will be reported as START_TAG END_TAG sequence of states. check-in: 681d9023e2 user: rolf tags: pullAPI
03:05
Make versionhash.h dependent on manifest.uuid Make only tcldom.c dependent on versionhash.h and not all object files as was the case before. Closed-Leaf check-in: b86521b6f4 user: apnadkarni tags: versionhash
2018-02-13
23:52
Should basically work in simple cases. One known problem: empty element shortcut. check-in: 5900240359 user: rolf tags: pullAPI
20:47
Fixed attribute reporting. First pieces actually start to work. check-in: 63e00f7e88 user: rolf tags: pullAPI
06:05
Add versionhash.h mechanism to Windows nmake builds check-in: b727b73d8f user: apnadkarni tags: versionhash
01:20
More work. check-in: b12b2e88cb user: rolf tags: pullAPI
2018-02-12
02:19
Save work, still wip check-in: efd441e644 user: rolf tags: pullAPI
2018-02-10
02:37
Started a pull API experiment / digression. check-in: 1cfd25c1cc user: rolf tags: pullAPI
2018-02-09
11:17
Spell fix. check-in: 661363f318 user: rolf tags: trunk
2018-02-08
22:13
Added versionhash to dom featureinfo, returning the fossil repository hash of the version tDOM was build from. A mechanism to build versionhash.h on windows is to be done. check-in: 5938460068 user: rolf tags: versionhash
12:40
Enable manifest on cloned repositories. check-in: ba1f8c4863 user: rolf tags: trunk
00:35
Adjusted test suite according name unification. check-in: 1d140ee6a9 user: rolf tags: trunk
2018-02-06
22:00
Spell fix. check-in: db949eaaba user: rolf tags: trunk
2018-02-03
00:22
More spell fixes and unification of names. A few messages (in marignal cases as configuration or in error cases) changed. check-in: de204a84e6 user: rolf tags: trunk
2018-02-01
12:08
One of the previously changed spellings was in fact correct. Changed back. check-in: d869524b70 user: rolf tags: trunk
00:16
A couple of spell fixes / typing error corrections. Thanks goes to Gustav Neumann. check-in: 4897033c1b user: rolf tags: trunk
00:11
Expose the SAX parser buffer size a bit. check-in: bf23a5e2b3 user: rolf tags: trunk
2018-01-31
16:58
Save wip. check-in: f8e25c96f4 user: rolf tags: stackless_asXML
2017-12-25
10:11
On Windows, install html docs, not manpages check-in: 76ab45e19d user: apnadkarni tags: trunk
07:42
Updated nmake to v1.1 from Tcl repository check-in: 367d3b204a user: apnadkarni tags: trunk, magicsplat-1.8.0
06:59
Streamline makefiles for new nmake system check-in: 7bfd42df88 user: apnadkarni tags: trunk
2017-12-13
23:47
Still not exactly the same output as the current serializer but close. check-in: 9c7e75e752 user: rolf tags: stackless_asXML
2017-12-12
21:58
Save work for discussion. check-in: dbf205286d user: rolf tags: stackless_asXML
2017-12-11
22:45
Ripped out stackless XML serialization from stacklessfs into own branch, while further working on it. This may be a worth thing for itself, since expat digests really deeply nested XML. wip. check-in: fe454a1b53 user: rolf tags: stackless_asXML
00:59
Test for CDATA section element with mixed content. check-in: 5f26ebf2dd user: rolf tags: trunk
2017-12-10
20:44
Fixed invalid memory read in case non-element node is called with appendFromScript. Leaf check-in: b5e7bcdab5 user: rolf tags: stacklessfs
2017-12-09
02:16
More work on stackless xml serialization. Still deep wip. check-in: 120e42774d user: rolf tags: stacklessfs
2017-11-26
02:21
Minor tweaks for default (non stackless) build. check-in: c92b24eb58 user: rolf tags: stacklessfs
2017-11-25
14:23
Working with deep nested XML data should also mean to be able to serialize it. Started implementation of non-recursive asXML. Wip. check-in: d04f2a20fe user: rolf tags: stacklessfs
14:20
Removed not used code. check-in: 1124913539 user: rolf tags: stacklessfs
02:27
Made xmlOpenFileWorker reporting the right encoding in case it is called by xmlReadFile. check-in: a29752b914 user: rolf tags: trunk
01:49
Botched tdom.tcl on trunk and nobody complained ... check-in: e42dab602e user: rolf tags: trunk
2017-11-23
00:59
Exploring stackless fromScript script code evaluation. check-in: 0a1f7977fe user: rolf tags: stacklessfs
2017-11-21
22:13
Replaced the deprecated Tcl_EvalObj with its successor. check-in: c4d91cd3e9 user: rolf tags: trunk
2017-11-18
15:33
Updated the README about the included expat version. check-in: 156eb276c9 user: rolf tags: expat-update
01:59
Added more sensitive detection of source of entropy for expat to the configure system. The default is to try to use the best available source for the build plattform. The new configure option -with-entropy allows to pick a certain source of entropy including XML_POOR_ENTROPY, which means use the old way of doing this. check-in: 2de0b19f93 user: rolf tags: expat-update
2017-11-16
22:47
Hallelujah. Can remove that knownBug test tag, after successfully nagging upstream. check-in: cbcf5049f7 user: rolf tags: expat-update
22:18
Updated to expat 2.2.5. check-in: 5034d18e1a user: rolf tags: expat-update
22:05
Merged from trunk. check-in: 2f825a10bb user: rolf tags: expat-update
2017-11-09
00:32
Added -keepCDATA to the tdom handler set based implementation of the [dom parse ...] API. Bug fix in arg check. check-in: 8cd193981c user: rolf tags: trunk
2017-11-07
23:36
Tweaked doc stuff. check-in: f4336d7b70 user: rolf tags: trunk
23:25
Added flag -keepCDATA to [dom parse ...], respected by the expat and simple xml parser. If not used together with -keepEmpties, white space only CDATA sections will not be included into the DOM tree. Used together with -keepEmpties, even empty CDATA sections will result into a node. Fixed the simple xml parser it now bulds an XPath/XSLT "ready" tree by default, as it the standard parser does. Added tDOM::xmlReadFileForSimple helper to read xml files for [dom parse -simple]. check-in: a0809eb3c1 user: rolf tags: trunk
22:22
Better interface to the "read the XML file for me" tcl helpers. xmlOpenFile/xmlReadFile stay as they are, a new xmlReadFileForSimple was added to be used together with [dom parse -simple ...]. Closed-Leaf check-in: d07b1bbc1c user: rolf tags: keepCDATA
00:47
Added a knob to the helper procs tDOM::xml(Read|Open)File so that they do the right thing for the simple parser in some cases. check-in: 4c688ab844 user: rolf tags: keepCDATA
2017-11-06
01:00
0.9.0 release mark in the CHANGES file. check-in: c630765b29 user: rolf tags: trunk
00:57
Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. check-in: 5809c91591 user: rolf tags: keepCDATA
2017-11-05
23:56
If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. check-in: d333be5a28 user: rolf tags: keepCDATA
18:27
Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. check-in: cde6b24b70 user: rolf tags: keepCDATA
01:15
Added some words of documentation about the new [dom parse ...] flag -keepCDATA. check-in: 43b6f8f843 user: rolf tags: keepCDATA
00:02
Made that work with the tdom expat handler set also. check-in: e320c2065d user: rolf tags: keepCDATA
2017-11-04
19:12
Added a few bench tests to check positional predicate optimization. check-in: e01e949947 user: rolf tags: trunk
02:00
Started implementation of a "keep CDATA sections" switch to [dom parse ...]. check-in: 1cd6dcbed5 user: rolf tags: keepCDATA
2017-10-29
18:34
Update from trunk. Leaf check-in: 4751836ea1 user: rolf tags: errorCode
18:27
Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. check-in: 33ee70bd11 user: rolf tags: trunk
2017-10-19
10:40
Updated tnc to new nmake system check-in: b226917ae3 user: apnadkarni tags: trunk
07:41
New nmake build system check-in: 78c6f9be15 user: apnadkarni tags: trunk
04:17
Create new branch named "vc-reform" Closed-Leaf check-in: ebc7fb932f user: apnadkarni tags: vc-reform
2017-10-06
00:03
Applyed spelling/ wording fixes in source code comments, error messages and even symbols (!) as reported by Debian lintian [9629f6d4fb8c9]. check-in: f8ced39e14 user: rolf tags: trunk
2017-10-05
23:48
Applyed spelling/ wording fixes (documentation part) as reported by Debian lintian [9629f6d4fb8c9]. check-in: 764b3d1ea0 user: rolf tags: trunk
2017-10-01
01:11
Musing: Provide useful errorCode information in case of [dom parse ...] error. check-in: 8dd6cf7f01 user: rolf tags: errorCode
2017-09-15
15:29
Added loadlibrary.c to Windows build. Minor update to README check-in: 2658b83255 user: apnadkarni tags: expat-update
2017-08-31
15:30
Reduced the fall out of this on user API level. $node delete now does the same as it does in threaded builds anyway. Restored "moving" subtrees between documents by copying the subtree over and delete it it after (that's of course slower), made appendXML also work (there's room for more improvement, even for the non-fastfree case). Even line/number info seems possible. Still some things to fix, check and improve. Leaf check-in: b17f640f6f user: rolf tags: fastFree
12:34
Added the new expat source file loadlibrary.c to the once to build; its needed on windows. check-in: 1caab6d4da user: rolf tags: expat-update
10:25
Cleanup of some no longer used typedefs. check-in: 88b7e885f8 user: rolf tags: fastFree
02:51
Merged from trunk. check-in: e5404d396d user: rolf tags: fastFree
02:47
Exploring optimization possibilities. Using doc specific simple mem pools speeds up a [dom parse $xml doc; $doc delete] by a factor of 1.25 (though, while DOM tree building is also slightly faster most of the gain is a much faster doc free). Test suite runs valgrind clean. Some tests fail but most of them do rightly so. Because this has a price: no subree move between documentes (the DOM recommendation doesn't allow this but tdom did, so far), no [domNode delete] (but this in fact freed the memory already only in non-threaded builds), no line/column information. Needs creation of nodeCmds in doc specific namespace for cleanup of the tcl commands in one go (to be implemented) and thread safety consideration. If all goes well and still looks as a gain could be integrated in a switch on/of at runtime way. check-in: 1965531605 user: rolf tags: fastFree
2017-08-30
15:21
Now the domNode method cloneNode does also copy the json type annotation of the node or subtree to clone. check-in: 784ff1de80 user: rolf tags: trunk
14:03
Plugged memory leak in case [dom createDocumentNS] is erroneously called with prefixed document element name and the empty string as namespace URI. check-in: 9352a1da41 user: rolf tags: trunk
11:44
Added new expat source files. check-in: f6b055a47b user: rolf tags: expat-update
2017-08-29
21:05
Merged from trunk. check-in: 367f9260b3 user: rolf tags: expat-update
21:05
There are a lot expat releases, lately. This is expat-2.2.4. check-in: 631d353e34 user: rolf tags: expat-update
2017-08-25
14:28
Changed version to 0.9.1. check-in: fa48078af4 user: rolf tags: trunk
2017-08-24
16:15
Merged from trunk. Closed-Leaf check-in: 84a004b5f0 user: rolf tags: expat-2.2.3
15:33
Release 0.9.0 check-in: 6c9e8589f1 user: rolf tags: trunk, tdom-0-9-0, release
13:57
Install also tdomConfig.sh. And since tdomConfig.sh is generated by configure, don't remove it with make clean but only with make distclean. Closed-Leaf check-in: 9ca8c82d0a user: rolf tags: prepare-release
2017-08-23
22:34
Started updating of the included expat to 2.2.3. check-in: 4a425e9b4b user: rolf tags: expat-2.2.3
16:16
Changed a last comma. check-in: fe91db4e27 user: rolf tags: prepare-release
15:52
Hopfully final proof-reading of README. check-in: 1aaa919d6e user: rolf tags: prepare-release
14:45
Changed the link to / file name of the source distribution. check-in: 316eda6f67 user: rolf tags: prepare-release
14:10
Added a link to the repository and a meta content tag to the HTML documentation. check-in: 44f479fa12 user: rolf tags: prepare-release
13:34
Updated README. check-in: 6cdde781d5 user: rolf tags: prepare-release
03:40
Fixed misspelt package name (todm->tdom) in pkgIndex check-in: 792b1394bc user: apnadkarni tags: prepare-release
2017-08-22
22:25
tnc: (Re-)generate pkgIndex.tcl with make, since it could be removed by a prior make clean. check-in: 135a5c1e5f user: rolf tags: prepare-release
2017-08-21
23:51
Merged from trunk. check-in: f110e5331f user: rolf tags: prepare-release
23:46
Some more proof reading. check-in: 9f9b4577ac user: rolf tags: trunk
21:38
Windows build system (VC and mingw) modernised. check-in: 640dd65ff9 user: rolf tags: trunk
2017-08-19
19:23
Cleanup. check-in: fe8daed3e6 user: rolf tags: trunk
05:35
Merged trunk Closed-Leaf check-in: 3843ca8dc2 user: apnadkarni tags: msvc
2017-08-18
18:58
Updated the requested TEA_INIT version, according to the new TEA version. check-in: 67fc5860ca user: rolf tags: trunk
17:21
Updated README for Windows builds check-in: e6c39c8eb5 user: apnadkarni tags: msvc
17:20
Fix 32-bit gumbo path check-in: 30a6caeae7 user: apnadkarni tags: msvc
16:26
Fixed counting of nested depth by the JSON parser. check-in: 7e98c7c356 user: rolf tags: trunk
14:11
nmake makefile for tdomhtml check-in: 8a37884196 user: apnadkarni tags: msvc
09:17
Remove duplicate BUILD_tdom definition check-in: 6ce051c4db user: apnadkarni tags: msvc
09:16
Fix clean target for versions.vc check-in: b7f5203f10 user: apnadkarni tags: msvc
09:15
Fix path to install script check-in: 8fa0b17673 user: apnadkarni tags: msvc
08:57
Removed redundant FULLWARNINGS check check-in: 43708f19a5 user: apnadkarni tags: msvc
08:53
Reverted inadvertent check-in of xslt-8.1 debug code check-in: bd8b1a9cce user: apnadkarni tags: msvc
08:05
Merged trunk check-in: 67820b67ca user: apnadkarni tags: msvc
2017-08-17
22:06
Removed BUILD_tdom Closed-Leaf check-in: a57a14bf31 user: rolf tags: tmp
18:44
Merged trunk. check-in: e5d5c534b7 user: rolf tags: prepare-release
18:44
Changed my mind: next version will be 0.9.0. check-in: d9742bb60d user: rolf tags: prepare-release
18:40
Regenerated extension configure files after TEA update. check-in: 4b6f04f245 user: rolf tags: trunk
18:05
Updated version nr at more places. check-in: 5d9e51455e user: rolf tags: prepare-release
17:58
Merged trunk. check-in: c75669c175 user: rolf tags: prepare-release
17:23
Regenerated user docs from xml sources. check-in: 7223713d86 user: rolf tags: trunk
15:03
Updated CHANGES. Noted new home page in ChangeLog. check-in: 13d2b92d84 user: rolf tags: trunk
14:33
Integrated new feature "creating real FQ nodes with *fromScript methods". check-in: 32afe7f843 user: rolf tags: trunk
14:30
Documented the new feature "creating real FQ nodes with *fromScript methods'. Added checks to createElementNS and createDocumentNS to prevent them to create xmlns prefixes with empty uri (which are not legal). Closed-Leaf check-in: 9e7f64d9c5 user: rolf tags: nodecmdns
00:46
Merged trunk. check-in: c642c50f1e user: rolf tags: nodecmdns
00:15
Pacify compiler warnings. check-in: 59d4d6b060 user: rolf tags: trunk
2017-08-16
16:13
Fixed bug in selecting nodes in the global namespace (in no namespace), which where created and inserted into the doc at a place were a default namespace is in scope with xpath. check-in: 4d9b475d35 user: rolf tags: nodecmdns
2017-08-15
21:27
Merged from trunk. check-in: 846183897f user: rolf tags: nodecmdns
20:59
Changed slightly the format of the output of the parsed tokens within the error msg in syntactically wrong xpath expressions, because the up to now format wasn't the same on different platforms. Renamed the json test file; the tests cover more than just parsing json. check-in: 7cce9c5133 user: rolf tags: trunk
2017-08-14
23:57
New option -namespace for createNodeCmd elementNode: the by this cmd created nodes will be XML namespaced (and for the namespace declarations is cared for you). check-in: b6e86350a0 user: rolf tags: nodecmdns
22:34
createNodeCmd: Fixed arg checking of -jsonType for text nodes. check-in: f77454e666 user: rolf tags: trunk
12:51
Merged from trunk. check-in: ab19103901 user: rolf tags: prepare-release
12:49
Merged trunk after tcl.m4 update check-in: 221a33e30b user: apnadkarni tags: msvc
12:47
FULLWARNINGS not needed anymore check-in: 4e55e26532 user: apnadkarni tags: msvc
12:17
Updated TEA to tclconfig trunk. check-in: dcb4735ca9 user: rolf tags: trunk
2017-08-12
19:57
Minor code cleanup: removed check for a condition which is always true. check-in: 1cfb36f6fa user: rolf tags: trunk
10:07
Merged trunk check-in: 7161d9dfd7 user: apnadkarni tags: msvc
09:35
Integrate Gumbo into VS 2017 builds. check-in: 646cc2b4d6 user: apnadkarni tags: msvc
2017-08-11
22:41
Hide implemention details behind warning in documentation. check-in: e6f379b2f5 user: rolf tags: trunk
14:25
Bring Windows build into the modern age. check-in: 31019684aa user: apnadkarni tags: msvc
14:24
Updated nmakehlp.c to latest version from Tcl repo. Fix defines in makefile.vc to match those in Unix configure. check-in: 845339cede user: apnadkarni tags: msvc
14:22
Remove HAVE_MEMMOVE def as already passed on command line check-in: 56564f04e3 user: apnadkarni tags: msvc
10:41
Statically link gumbo on Windows check-in: 326758aa50 user: apnadkarni tags: msvc
2017-08-10
17:34
Merge trunk and fix pkgIndex.tcl generation check-in: 50a1e5725f user: apnadkarni tags: msvc
17:04
Fixed the mess up of domhtml5.c due to editing error while changing the signatur of the tdom core functions domNewElementNode und domNewElementNodeNS. Corrected the help text of the configure option --enable-html (it wrongly claimed from an earlier state it would be build in if the gumbo lib is available, but it is in fact only enabled if explictely requested, for better). check-in: f02dd1b319 user: rolf tags: trunk
15:57
Updated MSVC build files for new compilers and 64-bit support (no gumbo yet) check-in: ed206ab786 user: apnadkarni tags: msvc
09:36
Added the new obj file to the vc makefiles. check-in: 8344151942 user: rolf tags: trunk
2017-08-09
11:50
Added documentation for the new dom parse options -jsonmaxnesting and --. check-in: 9e9b4c5225 user: rolf tags: trunk
10:23
More proof-reading. check-in: 251ff6233a user: rolf tags: trunk
2017-08-05
12:57
Merged from trunk. check-in: d9388d5e29 user: rolf tags: prepare-release
12:52
Added a random test. check-in: 19c24838e3 user: rolf tags: trunk
2017-07-31
11:31
Merged from trunk. check-in: e2945db9a3 user: rolf tags: fuzzer-instrumentation
08:42
Some doc proofreading. check-in: 7bd9eda430 user: rolf tags: trunk
2017-07-30
00:48
Fixed seg fault in case of attribute node as context node of an id() function call. check-in: 8a41290899 user: rolf tags: trunk
00:04
Fixed seg fault in case of attribute node as context node of a lang() function call. check-in: b8bbb8a60a user: rolf tags: trunk
2017-07-29
12:21
Removed all that TCL_UTF_MAX cruft, that tries to do the right thing. This is all a dubious hack without proper core support. Until we have that (if ever) it's the responsibility of the user to not mix core and binary extension build with different TUM. check-in: 549b689298 user: rolf tags: trunk
2017-07-28
22:28
Fixed a SIGFPE in case of a float that casts to integer 0 on the right side of a mod. check-in: 8c247cfc54 user: rolf tags: trunk
16:10
Changed to switch easily (though by code editing) between XPath parser / lexer and JSON parser testing. check-in: d7fe06cfbf user: rolf tags: fuzzer-instrumentation
11:49
Merged from trunk. check-in: 3cf44b6370 user: rolf tags: fuzzer-instrumentation
10:51
Small rewrite to prevent double evaluation in define in case of TCL_MEM_DEBUG defined. Added knownBug tag to the test that demonstrates the current limits of xsltFormatNumber. Problem is understood but the solution needs some rework, which is postponed, for now. check-in: 3ec9f3b32f user: rolf tags: trunk
10:20
Merged JSON support into trunk. check-in: 68e470ad09 user: rolf tags: trunk
2017-07-27
13:14
Updated from trunk. Fixed OASIS test suite wrapper. Added an xslt test. Closed-Leaf check-in: 6ef22b30dd user: rolf tags: json
13:11
Use the malloc defines consistent all over the place, otherwise some memory checking approaches (like the one included in the tcl core) report false positives. check-in: 127b775ae7 user: rolf tags: trunk
2017-07-24
13:03
Looking closer at it there are always fine points. Fixed the new element name injection syntax if the element name is '*'. check-in: efb5498f2d user: rolf tags: json
2017-07-21
22:29
Regenerated html and man documentation. check-in: be3f2f4ce7 user: rolf tags: json
22:24
Corrected markup. check-in: e06f1dbfc8 user: rolf tags: json
22:09
Added documentation for the new XPath syntax extension. check-in: 199814dab5 user: rolf tags: json
14:47
Merged from branch json. check-in: 59f4155c8f user: rolf tags: fuzzer-instrumentation
14:43
Added a few more tests, with edge cases. check-in: 407b3fac54 user: rolf tags: json
14:34
Last needed major feature added: A syntax to 'inject' any possible element name into an xpath expression. Lacking more input from interested parties I took the %varname approach (similar to $varname approach for injection of literals) because it seems it's almost bindly simple to implement. check-in: 9002adc958 user: rolf tags: json
12:50
Added more documentation. check-in: 839c42ea9d user: rolf tags: json
2017-07-20
23:42
Some proof-reading. check-in: 68f0eddeb0 user: rolf tags: json
22:33
Started documentation. Adjusted the code to do, what the doc say. check-in: 86b81a0c23 user: rolf tags: json
12:30
Handling binary 0s: Literal binary nulls are not allowed in input and need special care because of tcls internal MUTF-8 encoding. check-in: 3c29d95f88 user: rolf tags: json
00:00
Handling of binary 0 (NUL). Escape all control characters outside the ones with short escapes as as unicode character escapes. check-in: baf7e7d324 user: rolf tags: json
2017-07-19
18:06
createNodeCmd: check, if the provided jsonType is valid for the node command to create. check-in: 9f5f333bad user: rolf tags: json
16:08
The parse options -html, -html5 and -json are mutually exclusive. check-in: 9d8d7a159b user: rolf tags: json
15:02
Implemented optional indentation of asJSON output. check-in: 004f5b1f74 user: rolf tags: json
13:26
More work on the JSON serializer to ensure, that serializing any (not json type hinted) DOM tree results in valid JSON string. check-in: 2299091520 user: rolf tags: json
2017-07-17
23:28
Added -jsonType option to the createDocumentNode method. Intermediatly gardening. check-in: 57a3a1ce1c user: rolf tags: json
2017-07-14
23:59
Added more jsonType hinting to createNodeCmd / appendFromScript. On the way added the new option "-tagName" for createNodeCmd. If given, the nodeCmd will create element nodes with the nodeName eq the -tagName value. This had not much value, up to now, but with JSON it may be needed, if a members value is sometimes an object and sometimes an array and the user insists in setting the jsonType anyway. check-in: de1782fd97 user: rolf tags: json
13:11
Fixed error msg in case of trailing chars after the JSON input. check-in: 5d8d0b87b3 user: rolf tags: json
12:24
Added knowledge about the (HTML5) tag "source" to the html parser. check-in: ea10f0d3f2 user: rolf tags: trunk
00:44
Changed jsonType to symbolic names. DomDocs now also may have a jsontype. Other minor tweaks. check-in: e29235a43e user: rolf tags: json
2017-07-13
21:57
Fix in JSON unescaping. check-in: 7b3b9a9817 user: rolf tags: json
19:11
Still accept an escaped slash (\/) as slash in input (as required by the spec), but don't escape slash in serialization, because a slash isn't required to be escaped in input (it just can be). check-in: 65e76f96e0 user: rolf tags: json
12:13
Fixed bug in build tree in case of nested empty array as element of an array. check-in: e4b57e31b6 user: rolf tags: json
12:01
Fixed tree building bug in case of nested object as element value inside of array. check-in: f6a78d360b user: rolf tags: json
01:41
Build a compact tree; handle JSON types "magically". The recommended tools (which do the magic automagically) as appendFromScript et al enhancements and additional syntax for XPath expressions are tbd, but with the also added jsonType method it should now not even possible to parse all valid JSON but also to generate any JSON by building up a DOM tree from the scratch and serializing it with asJSON. check-in: 72b69e3ec3 user: rolf tags: json
2017-07-12
21:07
Combine memory allocations in tcldom_selectNodes and move cleanup into tcldom_FreePvcd. check-in: ee1833d642 user: yorick tags: pyk-parsexpath
12:23
Added a test, which shows the problem that was fixed by [ccc182cde5]. check-in: dc5a7088ce user: rolf tags: pyk-parsexpath
2017-07-11
23:01
Remove staticTokenPtr from tcldom_ParseVarData and use NULL as the fixup marker instead. check-in: e6cf5cb835 user: yorick tags: pyk-parsexpath
22:24
Removed build breaking artifact, introduced with [518504411f16]. check-in: ab13e17c86 user: rolf tags: trunk
22:18
Removed build breaking artifact, introduced with [518504411f16]. check-in: fd02176cec user: rolf tags: json
21:26
selectNodes needs to store the Tcl_Obj that is passed to Tcl_ParseVarName in tcldom_xpathParseVar because the Tcl_Token.start values point into its string value. check-in: ccc182cde5 user: yorick tags: pyk-parsexpath
19:34
Merged from trunk. check-in: e6c68d83fe user: rolf tags: json
00:13
Added a random test. check-in: c121a72ec5 user: rolf tags: trunk
2017-07-05
23:02
Clarified the selectNodes documentation: mentioned the potential pitfall with using tcl variable references in xpath expressions, if using the -cache 1 option. check-in: 8ebfc15ac4 user: rolf tags: trunk
12:06
Fixed spelling mistake in error msg. check-in: 0e97114f76 user: rolf tags: trunk
00:22
Fixed the 'latent bug' mentioned in ticket [d0405aff34]. check-in: 518504411f user: rolf tags: trunk
2017-07-03
20:51
Fixed all identified bugs and memory problems of the approach. Not ready for prime time, so far. See the ticket [d0405aff34deee85] for details. check-in: 7db984705f user: rolf tags: pyk-parsexpath
20:39
So far, for now. Closed-Leaf check-in: 0c6df91ce5 user: rolf tags: wip, pyk-parsexpath
14:28
More progress. check-in: 2d793fe147 user: rolf tags: wip, pyk-parsexpath
00:21
Still work in progress. check-in: e5c042fb0d user: rolf tags: wip, pyk-parsexpath
2017-07-01
14:17
Work in progress. check-in: 42b8823f76 user: rolf tags: wip, pyk-parsexpath
2017-06-30
23:01
Fixed some problems in the code. Saved before attempt to greater rework, to takle others. check-in: 41e23c35ea user: rolf tags: pyk-parsexpath
10:28
Separate XPath parse and eval function steps and move variable access from parsing step to eval step. check-in: 20779fa343 user: yorick tags: pyk-parsexpath
2017-06-17
01:03
Fix seg fault of removeAttributeNS, if there is a not namespaced attribute with the same localname as the attribute to remove. check-in: db3e95cb77 user: rolf tags: trunk
2017-06-16
00:36
Don't put syntaxically wrong XPath expressions into the cache. Fix for [97c0994ae4]. check-in: 5b9f6c7c6d user: rolf tags: trunk
2017-05-10
00:24
See - why this limits to XML name and char data rules. check-in: 5dacf40a1d user: rolf tags: json
2017-05-09
23:47
Let's implement it much simpler and without factitious limitations. check-in: 0e69127b10 user: rolf tags: json
22:13
Last state before I understood, that this could never be the "right" thing or involve into something good. There are better concepts, to deal with JSON w/ tDOM. check-in: 96c82f8a34 user: rolf tags: json
2017-05-01
23:21
Added serializer. Some edge case, convenience flags and more testing to be done. check-in: 5481915769 user: rolf tags: json
2017-04-25
21:28
Back in normal feature dev branch, after digression. check-in: c6dbf8336f user: rolf tags: json
2017-04-24
00:05
Adjust tests according to how the code now works. Closed-Leaf check-in: ffd617d8d7 user: rolf tags: wip
2017-04-22
13:26
More work in progress. Saved for transport. check-in: 6b4b6bb485 user: rolf tags: wip
2017-04-19
23:25
Merged from trunk and changed respectively. check-in: 71f5139f11 user: rolf tags: wip
23:15
Removed unused parameter from domNewElementNode and domNewElementNodeNS- check-in: c7e9aae252 user: rolf tags: trunk
22:58
In the middle of some rework. check-in: aa6e9da5a3 user: rolf tags: wip
2017-04-15
13:22
Save work in progress for transport. check-in: 1dddd40b6e user: rolf tags: wip
2017-04-14
01:06
Added boilerplate for a JSON serializer. check-in: 36d8b4b3c6 user: rolf tags: json
2017-04-13
15:23
Limit the depth of recursion for valid JSON in the JSON parser in order to avoid using excess stack space (seg fault). Default: maximum allowed nesting is 2000. That default could be changed at build time. The default could be queried with [dom featureinfo jsonmaxnesting]. May be set on call by call base with the new [dom parse ...] option -jsonmaxnesting. check-in: a139d28a41 user: rolf tags: json
2017-04-12
23:44
Sanitized the JSON parser. check-in: 4f158c61d8 user: rolf tags: json
22:38
With [dom parse -json ...] for the first time valid input could start with '-'. check-in: 685e270255 user: rolf tags: json
21:09
Added "--" as optional flag to [dom parse ...], signaling the end of options. check-in: e98ace106f user: rolf tags: json
2017-04-11
22:12
Added un-escaping on the fly of parsing. Obviously over-convoluted written, but it at least kind of works. check-in: bca3f461d5 user: rolf tags: json
2017-04-09
00:59
Improved error reporting. check-in: 0a8a1c0e15 user: rolf tags: json
2017-04-07
23:57
Changed, improved and cluttered with the correct XML namespace limbo dance the handling of ture, false, null. Partly to lower the 'fall out' of this: new option -jsonroot, which expects the document element name of the DOM tree to create. Ignored, if not used together with -json. Fixed parsing of emtpy string values. check-in: 672650884f user: rolf tags: json
16:25
Started implementation of JSON support. Parsing a JSON string into a DOM tree (via the new [dom parse -json] option) basically works. Work out of some details needs to be done, as well as serialization back to JSON. check-in: 7ba8482d10 user: rolf tags: json
01:25
Corrected header comment. check-in: ca060d66dc user: rolf tags: trunk
2017-04-06
23:55
Integrate the new -html5 option of [dom parse]. Builds on only on linux without too much fussing around and is disabled by default. check-in: f7671c27a3 user: rolf tags: trunk
2017-04-04
23:58
Changed default of --enable-html5 back to off. By following the rules now the generated DOM trees are "namespaced", the HTML tags in the xhtml, the sgv and mathml tags and the xlink attributes in their respectivly namespaces. Since this probably isn't wanted by a lot of users and adds only burden for no good in a lot of use cases -html5 can be combined with -ignorexmlns, in which case all nodes and attributes in the DOM tree are not in an XML namespace. Added a few words of documentation and tests. Closed-Leaf check-in: 15f1033a6f user: rolf tags: html5_by_gumbo
2017-03-27
20:29
Added a few tests. Bit minor gardening. check-in: c577fbde37 user: rolf tags: trunk
2017-03-25
01:46
Made the ../configure default of --enable-html5 to bw 'if available'- check-in: aef7455e78 user: rolf tags: html5_by_gumbo
01:32
Made it build also with just the default ../configure again. check-in: 5c13a6975f user: rolf tags: html5_by_gumbo
01:18
Added an experimental dom parse -html5 option, that uses the gumbo library (https://github.com/google/gumbo-parser) to generate a tdom DOM tree out of (html5) input. It's disabled, by default, enable it with ../configure --enable-html5. This link against the gumbo lib and therefor require that to be installed. check-in: 5f8d95de29 user: rolf tags: html5_by_gumbo
2016-10-08
23:19
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 2572154b1f user: rolf tags: prepare-release
23:11
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 1d978619f5 user: rolf tags: trunk
2016-10-03
21:39
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 267416996f user: rolf tags: trunk
21:36
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 199b03a2dd user: rolf tags: prepare-release
21:25
Regenerated configure. check-in: 6e83087b3a user: rolf tags: prepare-release
2016-10-02
12:59
Removed build stuff for mac os 8/9. I have no way to test this and probably nobody uses this anymore. check-in: 63d1763330 user: rolf tags: prepare-release
12:32
Pre-release branch. check-in: 6e4626b0b0 user: rolf tags: prepare-release
2016-10-01
22:38
Fixed [b7fcebac73]. check-in: df00b99009 user: rolf tags: trunk
19:12
Added tests for bug [b7fcebac73] check-in: 9fd45f15ab user: rolf tags: trunk
17:54
Updated to expat 2.2.0. check-in: 9e5f3982f6 user: rolf tags: trunk
2016-05-12
19:06
Fixed configure option --with-expat. check-in: 3ef47f8eca user: rolf tags: trunk
16:45
If not on windows include unistd.h unconditional. Fixes a warning on FreeBSD. check-in: f163795f4d user: rolf tags: trunk
16:28
Fixed long standing problem: Report undefined xml namespace prefixes as parsing error. check-in: 6d4a7d62c1 user: rolf tags: trunk
2015-09-11
00:44
Added options -xmlDeclaration and -encString to the asXML method of the domDoc and domNode commands. check-in: 400d92fee5 user: rolf tags: trunk
2015-09-07
14:08
Fixed HTML serialization of CDATA Sections. check-in: 230278ccf5 user: rolf tags: trunk
2015-08-28
21:55
More doc tweaks. check-in: d44a180b35 user: rolf tags: trunk
17:52
Added documentation for the new xslt transformation option -maxApplyDepth. Regenerated man and html files. Other minor doc tweaks. check-in: fe3d23e7ad user: rolf tags: trunk
17:45
Added limit (default 3000) for depth of nesting xslt apply templates. Added -maxApplyDepth option to xslt transformation, to set this limit. check-in: a52f940880 user: rolf tags: trunk
14:56
More detailed report and and more fancy external entity resolver for OASIS-suite.tcl. check-in: f773081411 user: rolf tags: trunk
2015-08-25
22:19
More work on and with OASIS-suite.tcl. check-in: e68b5e234f user: rolf tags: trunk
2015-08-21
13:23
Prevent, that circular attribute-set references blow up the stack. Return error msg instead. check-in: 44ca1203de user: rolf tags: trunk
13:21
More work on OASIS-suite.tcl. check-in: b682c5e4a2 user: rolf tags: trunk
2015-08-20
17:00
Fixed ridiculous errors in option handling of OASIS-suite.tcl. check-in: 50f3871fd6 user: rolf tags: trunk
2015-08-19
23:58
Removed code cruft. check-in: d68f0946b1 user: rolf tags: trunk
23:22
An xpath expression with more then one step after a // could return the matching nodes not in document order. check-in: 5ce8894ca4 user: rolf tags: trunk
2015-08-05
14:30
Removed another unnecessary variable initialazation. check-in: 16e874d04d user: rolf tags: trunk
14:02
Removed unnecessary variable initialazation. check-in: a406be0187 user: rolf tags: trunk
14:00
Guard against null pointer dereference in case of invalid stylesheet (template mode attribute is prefixed, but the prefix isnt bound to a namespace in scope). check-in: 34148043ce user: rolf tags: trunk
13:57
Removed unused (and unnecessary) code. check-in: 78df30fe04 user: rolf tags: trunk
2015-05-17
00:27
Brought CHANGES up to date. check-in: c27818aee3 user: rolf tags: trunk
2015-05-16
21:00
Brought info text files of the included expat version in sync with the actually used version 2.1.0. Missed to copy this files, while updating the code to expat 2.1.0. check-in: 8dfb0f574a user: rolf tags: trunk
2015-04-14
23:43
Added argument check for the boolean expecting tdom cmd option setter methods. Fixed the ignorexmlns method. check-in: c5f26a45cf user: rolf tags: trunk
2015-04-11
00:22
Changed behavior wrt to result code of a called -xsltmessagecmd script. Up to now, the result code of that script evaluation was ignored. Now, any other return code of that script then TCL_OK terminates the xslt transformation and returns error. Purposeful termination may be signaled with return -code break, for which the error message will be empty. check-in: 8438342bf7 user: rolf tags: trunk
2015-04-10
23:59
Sorted out how it will be, for now. Documented it somewhat. Closed-Leaf check-in: be9cfa8f2d user: rolf tags: xsltmsg
2015-04-04
12:58
Save changes. check-in: d296766c6c user: rolf tags: xsltmsg
2015-04-02
00:11
Merged from trunk. check-in: a441d3472d user: rolf tags: xsltmsg
2015-04-01
23:14
Added option -ignorexmlns to the dom parse method. check-in: 1fddc58c07 user: rolf tags: trunk
23:10
Initialize ignorexmlns for tdom cmd. Closed-Leaf check-in: 4cada4420f user: rolf tags: TDOM_NS
23:00
Merged from trunk. check-in: 4ac7a71245 user: rolf tags: TDOM_NS
22:40
Corrected typo. check-in: 65c1350cd7 user: rolf tags: trunk
22:12
Added new expat parser cmd method currentmarkup. check-in: 2b183ffd3f user: rolf tags: trunk
21:46
Added lokal clean-up to every test (as it should be) and removed general clean-up, which was interfered by other test helper procs. Closed-Leaf check-in: d501542ab8 user: rolf tags: parser-defaultcurrent
21:35
Corrected typo. check-in: 6f3daefad3 user: rolf tags: parser-defaultcurrent
19:13
Documented parser cmd method currentmarkup more precisely. check-in: e6bbca7bff user: rolf tags: parser-defaultcurrent
18:12
Plugged memory leaks in case of defective XPath expressions. check-in: 6cae756100 user: rolf tags: trunk
03:01
Handle calls from -characterdatacommand. Added tests. check-in: 4bb38582f8 user: rolf tags: parser-defaultcurrent
00:44
Merged from trunk. check-in: 9a616f0d21 user: rolf tags: parser-defaultcurrent
2015-03-26
11:29
Enforce value range for -indentAttrs value. check-in: ac03b8c44e user: rolf tags: trunk
01:23
Added option -indentAttrs to the domDoc/domNode method asXML. check-in: 3245a04ed5 user: rolf tags: trunk
01:17
Now, -indentAttrs expects an argument, 0..8 or no/none and indends the attributes relative to their element by the given value. Closed-Leaf check-in: ca5b82767d user: rolf tags: indentAttrs
2015-03-25
23:00
Merged from trunk. check-in: 3b71a11611 user: rolf tags: indentAttrs
21:59
Minor cleanup: Removed extraneous parentheses around comparison check-in: a57050673a user: rolf tags: trunk
2015-03-01
03:48
Made node detection from string token more reliable. check-in: 3401eb3d6b user: rolf tags: trunk
03:04
Clarified the xpath data type of tcl var references in xpath expressions. check-in: 9391fc5fe9 user: rolf tags: trunk
2015-02-27
02:31
Documented: Using tcl var reference in expr predicate. check-in: ff88c83a7b user: rolf tags: trunk
02:04
Documented: detecting node from string token isn't reliable. check-in: b41c199b1e user: rolf tags: trunk
02:01
Document: detecting node from string token isnt reliable. check-in: 2de2b4f0a1 user: rolf tags: xsltmsg
2015-02-15
01:29
Added bench tests to show the speed problem with large current nodelist argument. check-in: c6c85b25c2 user: rolf tags: trunk
00:45
Added tests to demonstrate the problems with modifying xmlns attributes and afterwards moving around the node. check-in: 6e2396d92b user: rolf tags: trunk
2015-02-14
20:36
Instrumentation of tcldomsh, to be able to use afl-fuzz to hammer on the XPath engine (well, to hammer on the XPath Parser/Lexer/Error Reporting, mostly, I guess). check-in: 69b07cdbed user: rolf tags: fuzzer-instrumentation
15:34
Started to add ability to terminate xslt processing by return code of the xsltmsgcmd. check-in: 18189825f9 user: rolf tags: xsltmsg
2015-01-25
13:17
Better error msg. check-in: 6bb4eda2c7 user: rolf tags: trunk
01:01
Still hardening the xpath engine against random input. check-in: cda6ae28c1 user: rolf tags: trunk
00:09
Fixed / better handling of over- or underflow integers given literal within the xpath expression. check-in: a34b1c1dff user: rolf tags: trunk
2015-01-21
00:37
Save bytes and be more general. check-in: 9bec85810d user: rolf tags: trunk
2015-01-20
23:08
Fixed even more possible seg faults in case of "random" xpath input. check-in: e44ca3a81b user: rolf tags: trunk
2015-01-18
20:34
Fixed more possible seg faults in case of 'random' xpath input. check-in: 66eccc9114 user: rolf tags: trunk
01:57
Fixed seg fault in case of special crafted XPath expressions. check-in: 987b9125a2 user: rolf tags: trunk
2014-12-11
22:49
Fixed XPath bug, if logical comparing nodesets with numbers. If some node in the nodeset has a string value, that looks like a double in some other standards but is not a number according to XPath, the result of the comparsion could be wrong. check-in: 9c3092c53e user: rolf tags: trunk
15:32
Added some words of documentation for the new parse option -ignorexmlns. check-in: 8a3978d548 user: rolf tags: TDOM_NS
2014-11-27
14:58
Merged from trunk. check-in: a154b27b05 user: rolf tags: TDOM_NS
2014-11-19
21:59
Cleaned up test naming, removed a few duplicated tests. check-in: 34b677ad0b user: rolf tags: trunk
2014-11-06
01:35
More scripted XPath function tests. check-in: 9f3c84cdb3 user: rolf tags: trunk
00:27
A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. check-in: 00c36ac1c9 user: rolf tags: trunk
2014-11-05
23:53
Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. check-in: 55e2fefda5 user: rolf tags: trunk
2014-11-02
23:30
Editorial corrections. check-in: 0f71f6ce74 user: rolf tags: trunk
2014-10-31
17:54
Added at least one test for the expat parser cmd method parsefile. check-in: 96de69454e user: rolf tags: trunk
2014-10-16
23:17
Added configure option --with-expat, to build and link against the system or a custom expat lib. Default is, to use the included sources. check-in: e008f28a6e user: rolf tags: trunk
21:58
Saved work in progress. check-in: 3cc840358e user: rolf tags: parser-defaultcurrent
2014-10-09
15:38
Update parser.test to the new method name currentmarkup (in fact, missed to save the file prior to commit the method name change. check-in: f7c8e4e77f user: rolf tags: parser-defaultcurrent
2014-10-08
00:45
Renamend method defaultcurrent to currentmarkup. check-in: 0337e934ea user: rolf tags: parser-defaultcurrent
00:28
Tried to document defaultcurrent. check-in: 358cff26da user: rolf tags: parser-defaultcurrent
00:06
Merged from trunk. check-in: fb8b793fef user: rolf tags: parser-defaultcurrent
2014-10-07
23:50
Reworked parser cmd method defaultcurrent to work much simpler. Instead of getting the result of the method by another handler, which may be, since its there, get called otherwise also (so you may have to flag, that this handler is called by defaultcurrent) just return currentdefault. check-in: f5b29530ef user: rolf tags: parser-defaultcurrent
2014-10-03
23:46
Added a first test of the new defaultcurrent method. check-in: e47ccd2f2f user: rolf tags: parser-defaultcurrent
00:07
Fixed a seg fault if tdom $parser enable is called in a callback of the parser it works on. check-in: dd44c6e0e0 user: rolf tags: trunk
2014-10-02
23:09
Editorial change. check-in: 4afd32f535 user: rolf tags: trunk
22:57
added a "parser defaultcurrent" subcommand that calls XML_DefaultCurrent check-in: 0cb35638d1 user: evilotto tags: parser-defaultcurrent
21:45
Fixed seg fault, if expat parser cmd method get is called without argument. check-in: a5417947d1 user: rolf tags: trunk
2014-06-25
18:42
Added test. check-in: 7f6a517aba user: rolf tags: TDOM_NS
2014-05-02
00:25
Simplyfied test suite infrastructur. check-in: dd0926133d user: rolf tags: trunk
2014-05-01
12:33
Added more minimal xslt doc tests. check-in: 73c26eb87f user: rolf tags: trunk
12:28
Added minimal xslt doc tests. check-in: 3f2c9c70c6 user: rolf tags: trunk
12:16
Added minimal xslt doc tests. check-in: d05e85a15f user: rolf tags: trunk
2014-04-10
14:39
Started to migrate the build time TDOM_NS hack to a runtime parse option. check-in: 93da576a41 user: rolf tags: TDOM_NS
2014-03-07
00:25
added "indentAttrs" option to domNode asXML that adds newlines in between attributes check-in: 190f3c4596 user: evilotto tags: indentAttrs
2014-01-18
18:39
Removed unused define. check-in: cbd75ded2b user: rolf tags: trunk
2014-01-10
01:11
Improved speed of operations in node token mode notable. This is achieved by introducing a Tcl_Obj type tdomNodeType. Tcl_Objs of type tdomNodeType are created without string representation, saving malloc costs until string representation is needed (which typically isn't needed). Additionally, DOM node identification from token is faster with tdomNodeType Tcl_Objs. check-in: 8f70a39a92 user: rolf tags: trunk
2014-01-01
22:08
Enhanced bench suite. Closed-Leaf check-in: 7148e12240 user: rolf tags: tdomNodeType
04:03
Made tcldom_returnNodeOjb static. check-in: 40b95f4a60 user: rolf tags: tdomNodeType
2013-12-31
18:01
Most obvious, low hanging fruits of the tdomNodeType Tcl_Obj reform are harvested now. A lot of (if not most) operations in token mode are faster (some micro-benchmark measurements say roughly double speed (or even more)). Even operations in cmd mode seem to be a little bit faster, for whatever reasons. Valgrind checked test suite run is still fine. Because this are changes within the heart of the extension, I'll test this futher in real-live applications, before merging this into trunk. check-in: 9b93825de2 user: rolf tags: tdomNodeType
2013-12-30
19:52
Return tdomNodeType Tcl_Objs from a couple of methods (still some to do), if in token mode. check-in: 7d85454598 user: rolf tags: tdomNodeType
2013-12-29
23:47
Continue work: tdomNodeType works, next step will be to use that. check-in: bb9692ad56 user: rolf tags: tdomNodeType
01:29
Update from trunk. check-in: 6b6f0a48b7 user: rolf tags: tdomNodeType
01:25
Minor test suite correction and addition. check-in: 12ce2296e4 user: rolf tags: trunk
2013-12-28
14:51
Start tdom Tcl_ObjType reform. check-in: 06841faa5b user: rolf tags: tdomNodeType
2013-12-27
21:56
More #ifdefery, to handle tip 388 changes to tcl.h. check-in: ebe56a3001 user: rolf tags: trunk
2013-12-24
01:07
Improved handling of characters beyond BMP. check-in: ea86851d90 user: rolf tags: trunk
01:00
Improved check for binary compatibility. Closed-Leaf check-in: f8a539484c user: rolf tags: beyondBMP
2013-12-23
22:27
More tests in this area. check-in: 0061b52914 user: rolf tags: beyondBMP
02:19
Handled this mess even further. New dom method isBMPCharData, to check, if a string has only characters out of the BMP. With TCL_UTF_MAX > 3 even 4 byte utf-8 character will be serialized as character entities only with -escapeNonASCII. With TCL_UTF_MAX = 3 (the default of the core) 4 byte utf-8 character will always be serialized als character entities, even if -escapeNonASCII is not given. If tDOM was build against a core with other TCL_UTF_MAX then the interpreter, which [load]s it, it complains and raises error. New dom featureinfo subcommand TCL_UTF_MAX, which returns the TCL_UTF_MAX value of the tcl core, tDOM was build with. check-in: ab3fea493c user: rolf tags: beyondBMP
2013-12-22
18:16
Some more minor modifications to make tdom handle 4 byte utf-8 characters right (if one gets them into a dom tree, by character entities within the xml or using parsefile). Still, accessing such pcdata beyond BMP with dom methods or xpath queries and using the result at script level will not work correctly with current tcl default build (mangled results without notification by error). check-in: 57d6c144cc user: rolf tags: beyondBMP
2013-12-21
13:21
Don't panic while serializing 4 bytes utf-8 chars, just write them as character enities. check-in: 24d35f6835 user: rolf tags: beyondBMP
2013-12-20
14:36
Added pointer to the CHANGES file. check-in: 104046edbb user: rolf tags: trunk
14:28
Updated CHANGES. check-in: 38bc0537ec user: rolf tags: trunk
14:09
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. A return -code break from the -feedbackcmd causes the parser to almost immediatly abort parsing and let the [dom parse] call return the empty string (instead of a document) and no error. For expat parser objects: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: 611c50075f user: rolf tags: trunk
13:48
Documented behaviour of the new, special handled handler script return code -return. Added some test. Closed-Leaf check-in: 55c9bb1681 user: rolf tags: abortableParse
03:45
Handler script return codes other than -code ok, -code continue or -code break causes parse abort (via XML_StopParser). New feature: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: f8cab49830 user: rolf tags: abortableParse
01:48
Added documentation for -feedbackcmd. check-in: 45571cd469 user: rolf tags: abortableParse
2013-12-19
18:31
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. check-in: db8378c250 user: rolf tags: abortableParse
2013-12-16
10:37
Correted test description. check-in: 7e27b29b15 user: rolf tags: abortableParse
01:12
Improved error msg handling for recursive external entities. check-in: 4b9e219335 user: rolf tags: abortableParse
2013-12-15
01:13
Removed debugging code. check-in: 847fe0e7c5 user: rolf tags: abortableParse
2013-12-14
15:45
Added another test. check-in: 32853b1ede user: rolf tags: abortableParse
15:40
Fixes and improvements in case of external entities. check-in: 5cdd39dc5a user: rolf tags: abortableParse
02:50
Futher work. check-in: b9ee715299 user: rolf tags: abortableParse
2013-12-08
22:58
New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc). check-in: fd2b6b294a user: rolf tags: abortableParse
2013-12-06
23:12
Worked through compiler warnings, removed or cleand up some cruft. Less noisier build (at least for my current tool chain). check-in: 99765c41e5 user: rolf tags: trunk
2013-12-05
23:17
Minor corrections in comments and the reason for a compiler warning removed. check-in: d168f6f959 user: rolf tags: trunk
00:35
More gardening ... :-} check-in: 9d0ae0bb38 user: rolf tags: trunk
00:33
Gardening. check-in: 8d14c9884b user: rolf tags: trunk
2013-12-04
23:39
Make tdom cross-compile on linux for windows (w32/w64) with mingw-w64. check-in: 0026eb9d33 user: rolf tags: trunk
2013-11-03
22:06
Improved handling of node deletion in mt builds (fixed memory corruption, if document is attached more than one time and deleted node is other than ELEMENT_NODE type, fixed memory clean up). Still room for improvement. check-in: a77a362003 user: rolf tags: trunk
01:07
Corrected some test names. check-in: 10f0972864 user: rolf tags: trunk
2013-11-02
00:33
Document github issue 14. check-in: d2c4737409 user: rolf tags: trunk
2013-09-26
01:35
Added dom method featureinfo. check-in: 9ab65ed6fc user: rolf tags: trunk
01:30
Added tests. Documentation tweak. Closed-Leaf check-in: d40d0f4c10 user: rolf tags: dom_featureinfo
2013-09-25
00:47
Updated and regenerated doc. check-in: 8ccb6f120b user: rolf tags: dom_featureinfo
00:09
Updated from trunk. check-in: 3a3b825826 user: rolf tags: dom_featureinfo
00:03
More work on OASIS-suite.tcl. check-in: 02675cd3c8 user: rolf tags: trunk
2013-09-24
22:50
Added a Relax NG compact tmml schema definition (generated by trang from the tmml.dtd and a minor modification. check-in: 1189b8bada user: rolf tags: trunk
00:27
Added INDEX.MAP to be more in sync with README. check-in: 49ccac621d user: rolf tags: trunk
00:24
Basic tmml cleanup. check-in: b1f1aba98e user: rolf tags: trunk
00:20
Editorial change. check-in: 80ce5f7895 user: rolf tags: trunk
2013-09-22
11:27
Corrected tmml syntax errors in domNode.xml. Started documentation of dom featureinfo. check-in: aecda7733d user: rolf tags: dom_featureinfo
2013-09-21
23:44
Added dom method featureinfo. check-in: 2877d5b58a user: rolf tags: dom_featureinfo
2013-09-20
23:44
Integrated toXPath bug fix. check-in: 85d99b56af user: rolf tags: trunk
23:35
More tests. Minimal documentation. Closed-Leaf check-in: 9da0732eb4 user: rolf tags: toXPath
21:18
Updated from trunk. check-in: 697274d232 user: rolf tags: toXPath
21:17
xslt.tcl better usable for memory debugging. check-in: 5bb0267890 user: rolf tags: trunk
2013-09-19
00:10
Made OASIS-suite.tcl better usable. Started comparing with the provided ref output. check-in: 1387f10c23 user: rolf tags: trunk
2013-09-08
23:32
Skeleton to run the OASIS xslt 1.0 test suite. check-in: 1e5a9b3310 user: rolf tags: trunk
22:47
Bug fix: apply-imports could run wild, if there is an overwritten template with the same import precedence. check-in: da559675c5 user: rolf tags: trunk
2013-09-06
22:44
Added new option -legacy to the domNode cmd error msg text. check-in: e799d2e8c5 user: rolf tags: toXPath
22:41
Spell fix. check-in: 94beb1bc99 user: rolf tags: toXPath
22:36
Fixed toXPath, which didn't worked at all for namespaced nodes without a prefix and with namespaced nodes with prefix not for patholotical cases. Because the string result of the toXPath method changed even in cases, which did work there is a new option -legacy, that returns the old string value.The -legacy option will go away, in future clean ups, if it show. check-in: 1745c828bc user: rolf tags: toXPath
2013-08-31
18:23
Raised the limit of maximum number of different XML namespaceses within one DOM tree to what a signed int can hold. New configure switch --enable-lessns restores old code. This may mean (depending on the used malloc) that the DOM tree of an XML file may need a bit more memory (even if you don't have any XML namespace declaration within your documents) than before. check-in: 981c0340e2 user: rolf tags: trunk
2013-08-29
14:44
Added configure switch to build tdom with the old (much smaller) limit of different XML namespace declarations within one document while building a dom tree (and restore the old lesser memory demands). Closed-Leaf check-in: dd4f2b0aae user: rolf tags: more-xml-ns
2013-08-28
12:50
Raise the limit of maximum number of different xml namespace declarations within an xml document. check-in: a689b0c326 user: rolf tags: more-xml-ns
2013-08-17
12:49
Noted the TEA update in CHANGES. Declared Changelog as obsolete. check-in: 6c1a36e58f user: rolf tags: trunk
2013-08-16
14:59
Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16). check-in: d5664646d6 user: rolf tags: trunk
2013-08-15
01:16
Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16. check-in: 97f6f2f627 user: rolf tags: trunk
2013-07-21
16:36
Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update"). check-in: 67628d28e2 user: rolf tags: trunk
16:32
Made the example extension "example" work again. Closed-Leaf check-in: 21aeb4698d user: rolf tags: tea-update
15:25
Build of working tcldomsh finally restored. check-in: a95bf4cf89 user: rolf tags: tea-update
2013-06-13
21:29
More work on tea update for extensions. check-in: 7dab1bfb78 user: rolf tags: tea-update
2013-06-08
12:15
Started tea update of extensions. check-in: d0ce231bf9 user: rolf tags: tea-update
2013-06-06
01:49
Updated TEA for tdom core. tcldomsh seg fault makes that retarded. check-in: f5d136bd2f user: rolf tags: tea-update
2013-05-16
00:03
Update to expat 2.1.0. check-in: 90dd28722d user: rolf tags: trunk
2012-05-17
21:21
Updated check-in: a842228559 user: rolf@point.pointsman.de tags: trunk
21:12
Compatibility with Tcl 8.6 - Beginning with 8.6, interp->errorLine isn't public visible anymore (TIP 330). check-in: 411908be4f user: rolf@point.pointsman.de tags: trunk
20:30
Fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*)) check-in: c62dffee03 user: rolf@point.pointsman.de tags: trunk
2011-12-20
00:54
fix minor grammar typo in domDoc check-in: 22a1a70a31 user: jeff@bovine.net tags: trunk
2011-03-30
16:17
as per email exchange with Richard Hipp on March 29th, 2011, we can move the license of his very old XML parsing code (from TMML) into public domain: " Call it public domain. Do whatever you like with it. (Just please remove my name from the comment.) " drh@sqlite.org check-in: 1968382659 user: jolo@osslab-jl.emea.hpqcorp.net tags: trunk
2009-11-10
20:49
See file. Leaf check-in: 3e8527de8c user: rolf tags: trunk, origin
20:47
Fix for possible DoS attack (see CVE-2009-3720) check-in: 156458f135 user: rolf tags: trunk, origin
2008-08-27
11:40
See file. check-in: 171f741ae8 user: rolf tags: trunk, origin
11:39
Added missing space in target pkgIndex.tcl-hand. Thanks to Gustaf Neumann for reporting the problem and providing a fix. check-in: f72751fb57 user: rolf tags: trunk, origin
2008-05-24
22:01
See file. check-in: b4d7122edf user: rolf tags: trunk, origin
21:59
The XPath function element-available() should, aroding to the rec, return true "if and only if the <argument> is the name of an instruction". That is, not for all known XSLT elements. check-in: eb05498afc user: rolf tags: trunk, origin
2008-03-04
21:04
See file. Leaf check-in: 1b5b7e10e4 user: rolf tags: tdom-0.8.3-postrelease, trunk
21:03
Added a few casts, to pacify picky compliers. check-in: 43b903a3b0 user: rolf tags: trunk
20:58
See file. check-in: 45cb0ea256 user: rolf tags: trunk
20:52
Added a cast, to pacify picky compliers. check-in: 33c186a204 user: rolf tags: trunk
20:35
See file. check-in: 5abde0c7a3 user: rolf tags: trunk
20:34
Editorial changes. check-in: ed2de2fd5c user: rolf tags: trunk
2007-12-25
23:19
See file. check-in: 88b105d155 user: rolf tags: trunk
23:18
Fixed a memory leak in case of --enable-threads. check-in: 96ee41816c user: rolf tags: trunk
2007-10-30
11:49
See file. check-in: 1a8b351623 user: rolf tags: trunk
01:05
See file. check-in: 804488f478 user: rolf tags: trunk
01:04
ID Attributes in HTML documents parsed with -html do what you expect: you find it with getElementById. check-in: 4ce79736e0 user: rolf tags: trunk
2007-10-29
19:10
See file. check-in: 6f35ae3850 user: rolf tags: trunk
19:07
Fixed documentation error in the documentation of the replaceChild method. check-in: 335a3354ed user: rolf tags: trunk
2007-10-08
16:23
See file. check-in: 9d006c9b12 user: rolf tags: trunk
16:23
Fixed handling of attributes without value. Now, an attribute without value gets the attribute name as value. check-in: d11d12aebe user: rolf tags: trunk
2007-10-04
17:48
See file. check-in: 0141ef9e02 user: rolf tags: trunk
17:48
Fixed test domDoc-1.2: Test was broken in case of locale != ISO-8859-1 (or -15). check-in: 7d6119c645 user: rolf tags: trunk
2007-10-03
11:16
See file. check-in: 68b613a1f1 user: rolf tags: trunk
11:16
makefile.vc generated a pkgIndex.tcl file, that didn't work in case of spaces in the install path. Thanks to Koen Danckaert. check-in: 030301a147 user: rolf tags: trunk
2007-09-27
23:19
See file. check-in: 220f9aa9b2 user: rolf tags: trunk
23:17
Added this files: Start of a benchmark suite. check-in: e327e2dd7b user: rolf tags: trunk
2007-09-24
23:36
See file. check-in: 3f97b142e5 user: rolf tags: trunk
23:35
Updated. (Thanks to Pat Thoyts.) check-in: 9fdf326a15 user: rolf tags: trunk
23:31
See file. check-in: cb867d5532 user: rolf tags: trunk
23:30
Fixes tnc building against uninstalled tdom (Thanks to Daniel A. Steffen.) check-in: a4268b4f7d user: rolf tags: trunk
2007-09-21
12:35
Bumped version number to 0.8.3. check-in: 0e9efad745 user: rolf tags: trunk
2007-08-23
16:35
See file. check-in: dd26df8a4e user: rolf tags: trunk
16:34
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). check-in: 5d08962991 user: rolf tags: trunk
16:33
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). Checked the code for similar spots and fixed a few. Replaced a fprintf(stderr, ..) called in an 'impossible' case with a more appropriate domPanic call. check-in: 7614ab937d user: rolf tags: trunk
2007-08-18
19:45
See file. check-in: 22f69747ad user: rolf tags: trunk
19:44
Code cleanup in document() implementation. check-in: beb97872f7 user: rolf tags: trunk
12:52
See file. check-in: 21ff9cd6fa user: rolf tags: trunk
12:51
More constification and clean up. check-in: a3bd6b4470 user: rolf tags: trunk
00:33
See file. check-in: c77a449cd1 user: rolf tags: trunk
00:33
Big const ification. check-in: d68baf7688 user: rolf tags: trunk
2007-08-15
21:49
Doh! It's still 2007-08-15! check-in: 9655a52fdc user: rolf tags: trunk
21:44
See file. check-in: bce8238427 user: rolf tags: trunk
21:42
New default build: --disable-tdomalloc. check-in: 1cc5318f8e user: rolf tags: trunk
21:40
See file. check-in: b13b9c529a user: rolf tags: trunk
21:40
New default build: --disable-tdomalloc. check-in: 984d64380a user: rolf tags: trunk
21:07
See file. check-in: 549783a376 user: rolf tags: trunk
21:06
Updated. check-in: fb0051746c user: rolf tags: trunk
21:05
See file. check-in: f8cf723db4 user: rolf tags: trunk
20:53
Bumped version to 0.8.3. check-in: 8e7e1eb103 user: rolf tags: trunk
2007-08-14
23:22
See file. check-in: 61c43e99fc user: rolf tags: trunk
23:22
Bumped version to 0.8.2 check-in: 4852addeb4 user: rolf tags: trunk
2007-08-12
11:55
See file. check-in: 205a9e2f16 user: rolf tags: trunk
11:55
Updated the asXML related parts of the doc and node cmd usage msg. Corrected a typo in the error msg in case of wrong # of args to asXML. check-in: f5076031ca user: rolf tags: trunk
11:30
See file. check-in: f273b0e834 user: rolf tags: trunk
11:29
Ensure that the new code build also with tcl8.0.x (although that old versions doesn't have extension stubs tables.) check-in: addc00e739 user: rolf tags: trunk
2007-08-11
23:11
See file. check-in: a7cde3fcae user: rolf tags: trunk
23:10
Tweaks to build tnc with win/msys/mingw. check-in: 93fa66332f user: rolf tags: trunk
23:08
Removed irritating breaks in TDOM_PATH_CONFIG. check-in: 084ad3d90a user: rolf tags: trunk
22:20
See file. check-in: 35882199d9 user: rolf tags: trunk
22:20
Editorial fix. check-in: fcd1946f1b user: rolf tags: trunk
22:15
See file. check-in: 0d808b808a user: rolf tags: trunk
22:15
Rewritten from the scratch. check-in: 3af502623e user: rolf tags: trunk
00:39
See file. check-in: 2b38339d0a user: rolf tags: trunk
00:39
Code cosmetic. check-in: 8257fa162c user: rolf tags: trunk
00:12
See file. check-in: 144a742fb9 user: rolf tags: trunk
00:04
See file. check-in: 576601d1ab user: rolf tags: trunk
00:04
Updated error msg in case of wrong # of args to the asXML method to the new added option -escapeAllQuot. check-in: 1b47625393 user: rolf tags: trunk
00:01
See file. check-in: 0f03f9df2d user: rolf tags: trunk
00:00
Fixed build problem with the build environment win/msys/mingw. check-in: cd06b33d20 user: rolf tags: trunk
2007-08-10
22:46
See file. check-in: a40a203b67 user: rolf tags: trunk
22:46
Fixed editorial mistake in comment. check-in: f20f436aeb user: rolf tags: trunk
22:40
See file. check-in: bddfeb7bfb user: rolf tags: trunk
22:38
Rewritten from the scratch. check-in: 097560b234 user: rolf tags: trunk
2007-08-08
15:52
See file. check-in: 3e3cd4f70e user: rolf tags: trunk
15:52
Another change needed, to complete the new type of domDoc->documentNumber. check-in: 44a3ae9ffd user: rolf tags: trunk
2007-08-07
20:32
See file. check-in: b3fe57ee36 user: rolf tags: trunk
20:32
See file. check-in: 59d99d938e user: rolf tags: trunk
20:32
Correction for 64 bit systems. check-in: ef534410d7 user: rolf tags: trunk
20:12
See file. check-in: 5754fc9ae9 user: rolf tags: trunk
20:10
Changed domDoc->documentNumber, domUniqueNodeNr and domUniqueDocNr to unsigned long, to prevent hard to debug / reproduce problems on 64 systems. check-in: 47be960351 user: rolf tags: trunk
19:59
Don't use precompiled headers. check-in: 8d89644b7b user: rolf tags: trunk
18:09
See file. check-in: 9dc5b2a8c3 user: rolf tags: trunk
18:09
Brought in sync with tdom core. check-in: 37a883998f user: rolf tags: trunk
17:54
See file. check-in: 6f42ee9aa9 user: rolf tags: trunk
17:54
Compiler pacifying. check-in: 6bb6d68fde user: rolf tags: trunk
17:27
Editorial correction. check-in: 4648b6e894 user: rolf tags: trunk
17:26
See file. check-in: 0960c6afa1 user: rolf tags: trunk
17:26
Fixed a wrong function signature. check-in: 3ca432a232 user: rolf tags: trunk
17:25
Made the compiler happy. check-in: e2883d0b25 user: rolf tags: trunk
00:06
Corrected typo. check-in: 6e8a4fd524 user: rolf tags: trunk
2007-08-06
23:56
See file. check-in: 51e46e37b0 user: rolf tags: trunk
23:55
Still problems on 64bit /w -externalentitycommand. This health the biggest pain. check-in: 577fa61eff user: rolf tags: trunk
23:55
Corrected an error msg. check-in: 73bf9fdbb0 user: rolf tags: trunk
2007-08-05
19:34
See file. check-in: 7e56787f3d user: rolf tags: trunk
19:33
Bumped version to 0.8.2. Missed that in 0.8.2rc1 check-in: 42acc3a56c user: rolf tags: trunk
18:51
See file. check-in: aa8aed96e3 user: rolf tags: trunk
18:47
Bumped version to 0.8.2. check-in: ed3492aa0b user: rolf tags: trunk
18:09
See file. check-in: f5a6c26e8e user: rolf tags: trunk
17:53
See file. check-in: cb17e14a8d user: rolf tags: trunk
17:52
Casted arg of ctype.h is* macros/function calles to unsigned char to reduce compiler warning noise. check-in: 523049bfc6 user: rolf tags: trunk
17:27
In case of asXML with indentation: indent XML comments as well. check-in: afb7224400 user: rolf tags: trunk
17:04
See file. check-in: eb764ed238 user: rolf tags: trunk
17:04
Added documentation to the new variable references feature of the selectNodes method, for the deleteXPathCache method and the -escapeAllQuot option of the asXML method. check-in: 06328981a1 user: rolf tags: trunk
16:52
See file. check-in: 35cc194bda user: rolf tags: trunk
16:52
Fixed a mem leak introduced by deleteXPathCache. Added option -escapeAllQuot to the asXML method. check-in: 6f8271b479 user: rolf tags: trunk
02:12
See file. check-in: ce2548d4aa user: rolf tags: trunk
02:11
Added method deleteXPathCache: basic control over the xpath expression cache. check-in: 4ff79014b6 user: rolf tags: trunk
01:17
See file. check-in: 12a65f6735 user: rolf tags: trunk
01:15
Variable references (at the places allowed by the XPath syntax) will now be resoved as Tcl variables, relative to the scope of the expression. Ignoring the XPath syntax rules at this point, any valid Tcl variable name will work. check-in: 3843d517af user: rolf tags: trunk
2007-08-02
23:44
See file. check-in: b13684706a user: rolf tags: trunk
23:43
Added doc method renameNode, without XML namespace awareness. There will be a final (XML namespace aware) method implementation after 0.8.2, therefore, this will slip in as hidden or 'unsupported' and at least undocumented method. check-in: 5f42d91a2e user: rolf tags: trunk
2007-07-31
00:58
See file. check-in: a475d9f6c2 user: rolf tags: trunk
00:57
Bug fix: floats in xpath expressions starting with . could have an additional (erroneous) dot in it without detection. check-in: 2d062126ae user: rolf tags: trunk
00:25
See file. check-in: 07090a77a3 user: rolf tags: trunk
00:23
Update to expat 2.0.1; minor build cosmetic. check-in: 8ef882fd3e user: rolf tags: trunk
00:16
Update to expat 2.0.1; minor build cosmetic. check-in: 5658159fd7 user: rolf tags: trunk
2007-07-26
23:52
See file. check-in: dd449f00e1 user: rolf tags: trunk
23:51
Updated to TEA 3.6. Rebuild configure. check-in: 14aa2aca24 user: rolf tags: trunk
23:46
See file. check-in: 7799570581 user: rolf tags: trunk
23:44
Updated to TEA 3.6. Rebuild configure. check-in: 23a07048b3 user: rolf tags: trunk
2007-07-25
15:28
Editorial change to the entry 2007-07-23. check-in: fd547f1d52 user: rolf tags: trunk
15:27
See file. check-in: 0af172693d user: rolf tags: trunk
15:27
Fix for the -externalentitycommand problems on (some) 64-bit plattforms. check-in: 65346f35d7 user: rolf tags: trunk
12:12
See file. check-in: ecdd09eca5 user: rolf tags: trunk
12:12
Added a few tests related to white-space in XPath expressions. check-in: fb68977404 user: rolf tags: trunk
2007-07-22
23:50
See file. check-in: fbfe73de5f user: rolf tags: trunk
23:45
Fix for problem reported by http://tech.groups.yahoo.com/group/tdom/message/1666 check-in: bf1ece8716 user: rolf tags: trunk
2007-04-19
10:57
Entry 2007-04-18: I changed the doc/domDoc.* files, not the domNode.* ones. check-in: b536ac904b user: rolf tags: trunk
2007-04-18
00:03
See file. check-in: 12afacb38d user: rolf tags: trunk
00:02
Emendation. check-in: b56663a551 user: rolf tags: trunk
2007-03-02
23:44
See file. check-in: 5c41729798 user: rolf tags: trunk
23:43
Fixed (at least for most of the cases) bug in test target, in case the user builds in a dir elsewhere. check-in: 4459974038 user: rolf tags: trunk
2007-02-06
00:18
See file. check-in: c38607bb3d user: rolf tags: trunk
2007-02-04
19:55
See file. check-in: cf32e1aa7c user: rolf tags: trunk
19:54
Fixed bug in xsl:fallback handling. check-in: 7c656e1620 user: rolf tags: trunk
19:45
See file. check-in: 45bcc639c6 user: rolf tags: trunk
19:44
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and a pointer to that to README. check-in: 57121ebec7 user: rolf tags: trunk
19:43
Fixed the loading of the tDOM scripted library in case of run with tcldomsh. check-in: 8a6220e665 user: rolf tags: trunk
19:40
Minor editorial changes. check-in: 8ef295c71f user: rolf tags: trunk
19:36
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and an pointer to that to README. check-in: 2758739247 user: rolf tags: trunk
2007-02-02
15:22
See file. check-in: 33f0ef70e3 user: rolf tags: trunk
15:21
Corrected spelling error in tdom.m4, re-generatedconfigure. Thanks to Larry Virden for reporting. check-in: 128d38605b user: rolf tags: trunk
2007-01-16
00:16
See file. check-in: 5bcce284e1 user: rolf tags: trunk
00:16
The build tool combination TEA/cygwin/VC++ needs a crude hack. check-in: 4ece8812d4 user: rolf tags: trunk
2007-01-10
19:05
See file. check-in: 122a61e08b user: rolf tags: trunk
19:04
Now uses @PKG_LIB_FILE@ for the dll name. check-in: 4239e87aa6 user: rolf tags: trunk
18:15
See file. check-in: 320e611268 user: rolf tags: trunk
18:15
Fixed the name of the shared lib. check-in: fc23a77adf user: rolf tags: trunk
18:14
Don't call target install-doc while installing - the tnc doc is in the top level doc dir. check-in: 12288e9463 user: rolf tags: trunk
18:13
More corrections: Did not install the tDOM stubs library. Minor other corrections related to distclean. Again thanks to Andreas Kupries. check-in: 4d9e87bcdb user: rolf tags: trunk
2007-01-09
17:58
See file. check-in: 8e6c3338b3 user: rolf tags: trunk
17:58
Did not install tdomConfig.sh anymore, which causes trouble building tDOM extensions (including tnc). Thanks to Andreas Kupries for reporting the problem with analysis. check-in: 7de609e50c user: rolf tags: trunk
2007-01-05
13:36
See file. check-in: b94c45eca0 user: rolf tags: trunk
13:35
In XPath expressions: Whitespace between the abbreviated attribute axis specifier @ and the attribute name is allowed. check-in: cdce3c4ffa user: rolf tags: trunk
2006-11-22
16:40
See file. check-in: 8c536c37f9 user: rolf tags: trunk
16:40
Normalize case of attribute also (not only elements). Accept space on both sides of the = of attribute values. check-in: 749a4d3019 user: rolf tags: trunk
2006-11-08
00:20
See file. check-in: f5a107046d user: rolf tags: trunk
00:19
Fixed seg fault in XPath expr parser for a certain kind of erroneous XPath expressions. check-in: 7a36c0d787 user: rolf tags: trunk
2006-08-27
21:47
See file. check-in: d6b799ebb3 user: rolf tags: trunk
21:12
Updated the TEA build system to 3.5. check-in: 034a85acb8 user: rolf tags: trunk
2006-05-24
11:32
See file. check-in: 1cbe237abe user: rolf tags: trunk
11:32
Fix of the isQName method: Strings with valid prefix and non-NCNameStart char as first char after the ':' wasn't detected as invalid QName. check-in: 4333e15e90 user: rolf tags: trunk
2006-01-08
00:26
See file. check-in: 0550334acc user: rolf tags: trunk
00:26
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: 8f42a7da8b user: rolf tags: trunk
2006-01-07
23:58
See file. check-in: 602ea7d933 user: rolf tags: trunk
23:57
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: a9884cb919 user: rolf tags: trunk
2006-01-06
13:20
Fixed typo in the last changes. check-in: e1e4c2c5f7 user: rolf tags: trunk
13:20
See file. check-in: 164a674cb0 user: rolf tags: trunk
01:57
Fixed markup errors. check-in: 9c95e09217 user: rolf tags: trunk
2005-12-10
21:10
See file. check-in: ef90570e5a user: rolf tags: trunk
21:09
Fixed bug in namespace handling in xsl:copy-of. check-in: d3f39e0552 user: rolf tags: trunk
2005-12-03
13:14
See file. check-in: 5176d9984b user: rolf tags: trunk
13:14
Added a test for the special handling of the content of script/style tags in case of asHTML. check-in: 7064f907ba user: rolf tags: trunk
13:12
Fix of the cloneNode method: if the node to clone (or, in case of -deep, a node within the subtree to clone) had a namespace declaration attribute then the result was wrong. check-in: 748bc149ec user: rolf tags: trunk
2005-10-19
19:15
See file. check-in: 978789845b user: rolf tags: trunk
19:14
Fixed string-length() and substring() to work on chars, as they should, not on bytes. check-in: a4a5e6d71a user: rolf tags: trunk
2005-09-27
16:43
See file. check-in: db14336200 user: rolf tags: trunk
16:43
Added a test case, reported by Richard Suchenwirth, which crashes 0.8.0, but raises error with current cvs head, without any mem problems. check-in: fdb76e5535 user: rolf tags: trunk
2005-09-24
16:52
See file. check-in: 9a6bd2ff4a user: rolf tags: trunk
16:51
Doh! The code detected ill grouping-size values and set errMsg accordingly, but didn't propagate the error. Fixed. Do memory cleanup after detecting wrong xsl:number level attribute value. Fixed memory leak in case of incorrect xslt attributes of included or imported xsl:stylesheet elements. Fixed memory leak in case of syntactically wrong xsl:key use attribute XPath expression. Fixed memory leak in case of toplevel parameter or variables which are syntactically incorrect, because they have both a select attribute and content. check-in: ca646d6601 user: rolf tags: trunk
2005-09-20
10:44
Corrected wording of last check in comment. check-in: 53b65a7af4 user: rolf tags: trunk
2005-09-18
23:43
See file. check-in: 7598616ca8 user: rolf tags: trunk
23:42
Improved detection/reporting of XPath syntax errors. Fixed two memory leaks in the XPath parser in case of kind of erroneous XPath expressions. check-in: 8cf25a61b6 user: rolf tags: trunk
2005-09-17
00:35
Removed baseless claim in last check-in comment: The corrected id() error raising case was the last one of wrong runtime errors. The other XPath expression errors, with are still in fact run time detected errors could be catched, at least in theory, at expr 'compilation' time. check-in: f0b804376d user: rolf tags: trunk
00:18
See file. check-in: 16be01fc8a user: rolf tags: trunk
00:18
id() on an empty node set should return an empty string, according to the rec, not raise an error, as it did up to now. Fixed a memory leak in concat() in the case of xpath expressions as arguments, which raise error. Normally, XPath expressions doens't raise error at all; that's how XPath is designed. That is unfortunately not completely true with current tDOM, because of a few buggy returns in the tDOM XPath function implementations (to be fixed quickly), because, tDOM doesn't do an as rigoros as possible argument check at XPath expression parsing time (that will change) and because of user defined XPath extension functions. check-in: 88f05466f1 user: rolf tags: trunk
2005-09-16
00:25
See file. check-in: 535084eb59 user: rolf tags: trunk
00:25
Fixed memory fault in case of external documents resolved based on the base URI of a node of the source element. check-in: 3c56644148 user: rolf tags: trunk
2005-09-12
22:12
See file. check-in: 32234129ee user: rolf tags: trunk
22:11
Bug fix: The namespace axis will be emtpy unless the context node is an element. check-in: 5d5240f9ee user: rolf tags: trunk
22:08
See file. check-in: 270ec05e2b user: rolf tags: trunk
22:07
Improvement of the build system. Now works also with the tool combination cygwin/TEA/VC++. Thanks to Andreas Kupries for his patch. check-in: 08094ff26d user: rolf tags: trunk
2005-08-25
23:05
Spelling correction of the last check-in. check-in: 4481b1b0f7 user: rolf tags: trunk
23:00
See file. check-in: cc2e897e70 user: rolf tags: trunk
22:59
Removed tests about mt-ness of tclsh/tdom, due to popular demand. Mt compiled tDOM now will load into non-mt tclsh, as will a non-mt compiled tDOM into a mt tclsh. NOTES: Using a non-mt tDOM within only one thread of a mt tclsh should work just fine. But never ever use a non-mt tDOM in several threads of a mt tclsh. That may crash randomly. Use, how surprising, an mt-enabled tDOM for that. This will work fine. Using a mt aware tDOM within a non-tm tclsh is little bit slower and memory demanding. It will also have a few methods, that are superfluous with the non-tm tcl context. It should always work, but for best results use a non-mt tDOM with non-mt tclsh. check-in: 1871fb2c18 user: rolf tags: trunk
2005-08-20
01:33
See file. check-in: 832f1a9aa5 user: rolf tags: trunk
01:33
Bug fix: Use domPreviousSibling() in xsltNumber() to prevent erroneous results, if attribute nodes are involved in the numbering. check-in: 008cee2391 user: rolf tags: trunk
01:31
Added function domPreviousSibling(). check-in: 234b84b7bd user: rolf tags: trunk
2005-06-10
00:38
See file. check-in: 00d8864765 user: rolf tags: trunk
00:36
Added a few tests. check-in: beff6b3d33 user: rolf tags: trunk
00:33
Added test, to document handling of white space outside the document element even in case of -keepEmpties (it's markup white space and will be removed). check-in: dcd1541d6c user: rolf tags: trunk
00:21
Removed unused variable. check-in: 82165d42d4 user: rolf tags: trunk
00:21
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. Closed memory leak in case of not well-formed input to the simple or html parser. check-in: 2d252a117c user: rolf tags: trunk
00:20
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. check-in: 7988ebf1b0 user: rolf tags: trunk
2005-05-13
00:44
Fixed typo in last entry. check-in: 59269725bf user: rolf tags: trunk
00:43
See file. check-in: 3cebcfa5e3 user: rolf tags: trunk
00:28
Fixed seg fault is case of some garbage input. check-in: b07dff03b4 user: rolf tags: trunk
2005-05-12
17:11
See file. check-in: 376696646f user: rolf tags: trunk
17:11
Fix: domNode nodeValue $newValue didn't check the newValue for being valid pcdata. check-in: 0a6e18b84c user: rolf tags: trunk
2005-05-02
13:20
See file. check-in: 13bf90cb4c user: rolf tags: trunk
13:18
Bug fix: expat parser method parsechannel didn't (depending on the encoding of the channel) reported parsing errors. check-in: 71c78179db user: rolf tags: trunk
2005-04-11
12:21
Use @AR@, as in TEA 3.2. check-in: 2d9aa51942 user: rolf tags: trunk
02:02
See file. check-in: 4c23538244 user: rolf tags: trunk
02:01
Updated. check-in: cb109fbb35 user: rolf tags: trunk
02:00
Deleted. check-in: b57d4ce2ca user: rolf tags: trunk
01:43
Updated to request tdom 0.8.1. check-in: 20871bd940 user: rolf tags: trunk
01:39
Updated to use TEA 3.2. Thanks to Daniel A. Steffen and Andreas Kupries for input. check-in: 707f0d9f50 user: rolf tags: trunk
2005-04-04
19:04
See file. check-in: 7bde8b1c6c user: rolf tags: trunk
19:03
Removed last comma in enum XML_Status declaration, to prevent compiler errors (xlc on AIX 64). (Current expat CVS head has the same fix.) check-in: d05ccff18b user: rolf tags: trunk
2005-03-26
14:08
See file. check-in: 302d4d8619 user: rolf tags: trunk
14:07
Changes, to prepare adding of node creating cmds, which creates namespace aware nodes. check-in: 18537ed52a user: rolf tags: trunk
14:07
Removed (anyway not correctly working) work-around to set parent of the childs of doc->root (problem now correctly fixed by changes in dom.c). check-in: 61ee883ba8 user: rolf tags: trunk
14:06
Fix in domAppendNewElementNode(), domAppendLiteralNode() and domAppendNewTextNode(): if the created node is a child of doc->root, set the parentNode according. check-in: b97cb015ce user: rolf tags: trunk
2005-03-21
01:10
Fixed spelling error in last entry. check-in: 09d39d9d79 user: rolf tags: trunk
01:08
See file. check-in: 65f6c924cf user: rolf tags: trunk
01:08
Fixed flawed test, which slipped throu, somehow. check-in: 96d301a67f user: rolf tags: trunk
2005-03-18
02:17
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: aa91d3c654 user: rolf tags: trunk
02:16
See file. check-in: f5786b685b user: rolf tags: trunk
02:16
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: b34752dead user: rolf tags: trunk
2005-03-13
01:07
Grrr. And the date was also wrong. check-in: 6112c381b8 user: rolf tags: trunk
01:07
Fixed an mistake in the last check-in: the changed file was xslt.text, not xpath.test. check-in: e1dbfb7887 user: rolf tags: trunk
01:06
See file. check-in: f25a93872c user: rolf tags: trunk
01:06
Added two tests about two subtleties of the XPath syntax: white space between the $ and a varname are not allowed, while white space between the braces of node() is allowed. check-in: 0240a04ee8 user: rolf tags: trunk
00:48
Fixed mess created by using two different check outs and commiting from both without syncing. check-in: 7c9d524443 user: rolf tags: trunk
2005-03-11
18:16
Using of a node creating command outside of node context after that node creating command was already used in node context didn't raised error (as it should) but could have all kinds of effects (including seg fault). check-in: 4d169116f2 user: rolf tags: trunk
2005-02-26
13:25
See file. check-in: 65002a1a5a user: rolf tags: trunk
13:25
Fix for MT-enabled tDOM: If a doc was attached to more than one thread, nodeCmd creation was borken (only one thread got a nodeCmd for a given node). check-in: eff67db5ef user: rolf tags: trunk
2005-02-03
18:44
See file. check-in: 5cff7b495c user: rolf tags: trunk
18:35
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Added documentation for the domDoc method internalSubset. check-in: 68ef504f34 user: rolf tags: trunk
18:27
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: 6fb1633bd7 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Bug fix: current() did not work in xsl:key use expressions. Moved setting of xs->current from all about the place into evalXPath. A bit code massage, to avoid bogus compiler warning. check-in: 28b1d4af23 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: affe666ca5 user: rolf tags: trunk
17:45
Editorial changes. check-in: 82f23225b0 user: rolf tags: trunk
2005-02-02
08:58
See file. check-in: b81a5dbb42 user: rolf tags: trunk
08:58
Updated to provide the new defines PACKAGE_NAME and PACKAGE_VERSION introduced by the update to TEA-3 support. check-in: 66d1f50c2d user: rolf tags: trunk
2005-01-18
23:55
See file. check-in: 7a22ab6b87 user: rolf tags: trunk
23:44
Renamed exported symbols attrNames and tagNames to tdom_attrNames and tdom_tagNames, to avoid name clash. tartDoctypeDeclHandler() and endDoctypeDeclHandler(): added missing static. check-in: 2ac9019f04 user: rolf tags: trunk
2005-01-16
12:05
Updated file. check-in: cf70bc0c97 user: zv tags: trunk
11:59
Added example how to build tDOM as module for AOLserver 4.x check-in: 1e3e501ba4 user: zv tags: trunk
11:59
Added TEA-3 support check-in: 6b8ed8381a user: zv tags: trunk
11:57
Uses PACKAGE_NAME and PACKAGE_VERSION instead of hard-coded strings check-in: 15c12b1b44 user: zv tags: trunk
11:57
Honours virtual servers in 4.x AOLserver check-in: 0980d4a5ef user: zv tags: trunk
11:56
Loads 0.8.1 for testing check-in: 97e5ceb43e user: zv tags: trunk
11:56
Added new TEA-3 build check-in: 2707d1eae6 user: zv tags: trunk
11:55
Bumped version to 0.8.1 check-in: 9b10717c76 user: zv tags: trunk
2005-01-11
18:00
See file. check-in: 8bd27969e0 user: rolf tags: trunk
17:59
Added documentation for the -cache option of the selectNodes method. check-in: 6f917aad90 user: rolf tags: trunk
16:02
Corrected indentation of the last few entries. check-in: 160537cb14 user: rolf tags: trunk
16:00
See file. check-in: f55a568a01 user: rolf tags: trunk
15:57
Scripted xpath function element-available: moved xsl:output to the avaliable elements, since it's in fact avaliable in the meantime (with exception of the 'version' and 'cdata-section-elements' attributes) - the output options could be queried from the result doc, but it's the responsibility of the application, to serialize the tree according to that settings. check-in: 3955ed2be7 user: rolf tags: trunk
2005-01-10
20:44
See file. check-in: 5d369f1836 user: rolf tags: trunk
20:43
Corrected typo. check-in: 3299c813f6 user: rolf tags: trunk
19:09
See file. check-in: cec75cf5d0 user: rolf tags: trunk
19:07
Fixed a leftover reference to embedded hash table in domDocument struct. check-in: 2a90ec4f84 user: rolf tags: trunk
02:13
See file. check-in: 219425fc7b user: rolf tags: trunk
02:11
Don't embed Tcl_HashTables into dom Docs, use pointers to the hash table. Added -cache option to the selectNodes method. check-in: 1bc3712dbc user: rolf tags: trunk
2005-01-07
15:16
See file. check-in: b672d05e22 user: rolf tags: trunk
15:16
Added this files. Thanks to Pat Thoyts for contribution. check-in: 0d4188b820 user: rolf tags: trunk
15:14
Improved VC++ compiler makefile. Thanks to Pat Thoyts for contribution. check-in: 1dc6acc00d user: rolf tags: trunk
15:08
Clean up, to decrease (innocuous) compiler warnings (thanks to Pat Thoyts for triggering input and patch). check-in: 557cc56ed2 user: rolf tags: trunk
2005-01-06
19:25
See file. check-in: 58221ebd8f user: rolf tags: trunk
19:24
Noted, that if the list bind the same prefix to different namespaces, then the first binding will win. check-in: 687db99f29 user: rolf tags: trunk
19:22
Added methods transform and delete to xsltCmds. check-in: 272d1209c5 user: rolf tags: trunk
19:21
Added some 'selectNodes -namespaces' tests. check-in: dfe76f6946 user: rolf tags: trunk
19:20
Handle multiple -namespaces option to selectNodes method. Added methods transform and delete to xsltCmds. Ensure, that documents created with the [dom createDocument* methods] are created as docCmds in case of 'auto' creation mode. check-in: 66fc252099 user: rolf tags: trunk
18:21
See file. check-in: cab4e74d39 user: rolf tags: trunk
18:21
Added a few tests: related to createNodeCmd (dom), node text method (domNode), chancing callback from within a callback (element, parser) and catching of recursive xsl include/import (xslt). check-in: 330a5b833e user: rolf tags: trunk
2004-12-21
12:52
See file. check-in: b1a6b651ae user: rolf tags: trunk
12:51
xsl:key with match expressions, which matches attributes, did not work. Prevent, that a stylesheet import/include itself. Editorial changes. check-in: a741ba098f user: rolf tags: trunk
02:13
See file. check-in: fd1ada9540 user: rolf tags: trunk
02:12
domAppendNewElementNode(): Set the namespace of a per xslt transformation generated node wrong under certain circumstances. This fixes http://groups.yahoo.com/group/tdom/message/1008. Removed leftover (former local used) define TNODE. check-in: 2c65ed39b6 user: rolf tags: trunk
2004-12-12
16:09
See file. check-in: ac54b13067 user: rolf tags: trunk
16:09
xpath expressions ancestor-or-self::node() and parent::node() returned wrong result if the context node is /. check-in: 5fecb1d987 user: rolf tags: trunk
2004-12-10
18:58
See file. check-in: 472f3f4e8f user: rolf tags: trunk
18:56
Don't allow the methods parse, parsechannel, parsefile, free and reset from within a callback of the parser be used but raise a tcl error. check-in: a3f7814234 user: rolf tags: trunk
2004-10-26
01:07
See file. check-in: ffcfdc3866 user: rolf tags: trunk
01:06
Added documentation for the '-namespaces' option of the selectNodes method. check-in: 61c0ee194f user: rolf tags: trunk
01:05
Added a note to the -externalentitycommand option of the parse method, that the programmer is responsible for closing the channel, if the resolver script returns a channel. check-in: 8c5b6c1329 user: rolf tags: trunk
2004-10-22
16:55
Fixed typo. check-in: da2d774c77 user: rolf tags: trunk
2004-09-29
12:18
See file. check-in: 0c5aedde96 user: rolf tags: trunk
12:18
First [load] the lib, which has [package provide tdom], so that a [package require tdom] within the script lib doesn't loop. check-in: 057873f79a user: rolf tags: trunk
11:41
See file. check-in: 0dbc5d3fd5 user: rolf tags: trunk
11:41
Added the with 0.8 added doc methods to the doc_usage. check-in: b15c8c65bb user: rolf tags: trunk
2004-09-21
01:46
See file. check-in: a008835f13 user: rolf tags: trunk
01:43
Added the '-namespaces' option to the selectNdoes method. Not resolved namespace prefixes within the xpath expression now raises an error. *** POTENTIAL INCOMPATIBILITY *** check-in: b08cb7d224 user: rolf tags: trunk
01:06
Add documentation for 'selectNodes' option. check-in: b0902bcbc3 user: rolf tags: trunk
2004-09-13
17:29
See file. check-in: b4607b15a8 user: rolf tags: trunk
17:29
Corrected a typo in an error msg. check-in: 7a9fd4dba5 user: rolf tags: trunk
2004-09-08
03:12
See file. check-in: cdabc49f0a user: rolf tags: trunk
03:12
Editorial changes. check-in: df3edb8558 user: rolf tags: trunk
2004-09-02
17:08
See file. check-in: 152b5c5f6b user: rolf tags: trunk
17:07
toXPath method: fixed bug with non-element top level nodes, closed mem leak. check-in: e5074c2f5d user: rolf tags: trunk
2004-08-31
01:56
Regenerated with current tmml HEAD, to change encoding from utf-8 to iso-8859-1. check-in: 407398a157 user: rolf tags: trunk
2004-08-23
13:03
See file. check-in: 43b8613180 user: rolf tags: trunk
13:01
Corrected typos (thanks to G. Neumann). check-in: 31fa51d7d6 user: rolf tags: trunk
2004-08-21
03:27
See file. check-in: 34f04803c7 user: rolf tags: trunk
03:23
Update to expat 1.95.8. check-in: 413ab3d861 user: rolf tags: trunk
2004-08-19
01:06
See file. check-in: 3d08e75435 user: rolf tags: trunk
01:06
Made tDOM work out of the box on 64-bit systems like Itanium 2 (though --disable-tdomalloc configure option at build time is still needed). check-in: c69e6f98cd user: rolf tags: trunk
2004-08-17
19:54
Fixed rolfs mail address for the last few entries. check-in: 12b7b3da93 user: rolf tags: trunk
19:53
See file. check-in: 50ccd5b249 user: rolf tags: trunk
19:52
Added fluff, to fix build problemx on AIX w/ xlc compiler. check-in: 0d0da079bd user: rolf tags: trunk
19:37
Removed unused variables. check-in: c55ee6bc39 user: rolf tags: trunk
2004-08-16
03:18
See file. check-in: 199df0f142 user: rolf tags: trunk
03:13
See file. check-in: e4e93d50ef user: rolf tags: trunk
03:12
Pass external entity resolver script around in string representation, (insteand of Tcl_Obj), to avoid problems with mt builds. check-in: fe5093d90c user: rolf tags: trunk
2004-08-14
14:42
Use 'Id' cvs keyword (instead of 'Header') in the file heads. check-in: 53f68b654a user: rolf tags: trunk
2004-08-11
15:21
Use Id not Header cvs keyword in the file heads. check-in: e933944ab5 user: rolf tags: trunk
02:16
See file check-in: 886900dcec user: rolf tags: trunk
00:56
Corrected a spelling mistake check-in: d656833f9d user: rolf tags: trunk
2004-08-10
19:49
Link against tDOM 0.8.0. check-in: 6c1d396a77 user: rolf tags: trunk
2004-07-28
19:29
See file. check-in: 47da660a54 user: rolf tags: trunk
18:50
[namespace export] the public procs in ::tDOM. Added a few more encodings to IANAEncoding2TclEncoding. check-in: cb6c094a97 user: rolf tags: trunk
17:22
Changed test according to the changed wording of the error msg in case of wrong mode arg to setObjectCommands. check-in: 8df6514f41 user: rolf tags: trunk
03:57
See file. check-in: 244b7c26a2 user: rolf tags: trunk
03:56
See file. check-in: 6809a487d0 user: rolf tags: trunk
03:52
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Better error msg in case of 'filename' and not valid file name. check-in: a62f1de836 user: rolf tags: trunk
03:49
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. New method createDocumentNode. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. Improved speed of the getAttribute shortcut '@attname' (and, not so notable, of tcl coded methods of the dom, domDoc and domNode cmds). Corrected typo in domNode usage msg for getElementByID. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes). check-in: 76c8406dfe user: rolf tags: trunk
03:48
New (experimental) method setObjectCommands. check-in: 507cb84752 user: rolf tags: trunk
03:46
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 63ec828117 user: rolf tags: trunk
03:44
More tests for script errors in external entity handler or errors in the requested external entities. check-in: a40d2d0cf8 user: rolf tags: trunk
03:43
Documented behaviour in case of using (senseless, wrong) 'xslt variable' in selectNode exprs. check-in: 0f334692af user: rolf tags: trunk
03:42
Better error msg in case of 'filename' and not valid file name. check-in: 38246a9641 user: rolf tags: trunk
03:41
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes) check-in: 09c30b9758 user: rolf tags: trunk
03:39
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 497d487e77 user: rolf tags: trunk
03:37
New (experimental) method setObjectCommands. New method createDocumentNode. check-in: d5e3779d2c user: rolf tags: trunk
03:35
Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes).Corrected appendChild, insertBefore, replaceChild: the new child must not be out of the fragment node, but could be a node out of the tree, check-in: af1c407048 user: rolf tags: trunk
03:31
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild,hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: b1f887f36f user: rolf tags: trunk
03:29
New (experimental) method setObjectCommands.New method createDocumentNode. check-in: f508d3015b user: rolf tags: trunk
2004-07-19
03:21
See file. check-in: 8302869bfd user: rolf tags: trunk
03:21
Better error msg in case of XML parsing errors in external entities. check-in: 26b90837e9 user: rolf tags: trunk
03:20
Bug fix: Check, if refnode given to insertBeforeFromScript is valid. check-in: d3a5b99bfd user: rolf tags: trunk
2004-07-13
03:33
See file. check-in: 75bce633fc user: rolf tags: trunk
03:32
Ensure, that the first element node of the result tree is the documentElement of the generated document. check-in: 85260eca80 user: rolf tags: trunk
03:28
See file. check-in: 5d0e3a4fc4 user: rolf tags: trunk
03:27
Empty CDATA sections should not create a node. check-in: 3c4659e86a user: rolf tags: trunk
2004-07-09
01:16
See file. check-in: 82e6cb11bf user: rolf tags: trunk
01:15
Test, if a non-mt tDOM is tried to load into a mt tclsh. check-in: 6aef2fc4a9 user: rolf tags: trunk
2004-05-26
14:41
Remove it check-in: 7a9789ba15 user: rolf tags: trunk
01:56
See file. check-in: d5704fb73e user: rolf tags: trunk
01:56
See file. check-in: f356b88094 user: rolf tags: trunk
01:51
Minor changes. check-in: 306c383ae9 user: rolf tags: trunk
01:50
Added this file. check-in: 400ba86a48 user: rolf tags: trunk
01:49
Minor editorial changes. check-in: 3dfa6b9f59 user: rolf tags: trunk
01:49
Uses the new domIsComment, domIsPINAME and domIsPIValue API functions of dom.c. Improved xsl:processing-instruction processing (now instantiating the content). check-in: ef7e89aa78 user: rolf tags: trunk
01:47
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags.

Bug fix in case of appendFromScript script. check-in: 765372d765 user: rolf tags: trunk

01:46
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: c53ae6acea user: rolf tags: trunk
01:46
Adapted to the new test files name schema. check-in: ed6185a4af user: rolf tags: trunk
01:45
Added this file. Includes mostly the tests out of the old dom.test.

Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: a2d01a9832 user: rolf tags: trunk

01:43
Moved the tests from this file to the new domNode.test and collected dom command tests here.

Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: 16ace97189 user: rolf tags: trunk

01:42
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global(thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names),text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: af5e03476b user: rolf tags: trunk
2004-05-12
16:11
Changed cvs keyword. check-in: b7bd91a7ef user: rolf tags: trunk
16:07
Editorial change. check-in: 9f510a232e user: rolf tags: trunk
11:41
See file. check-in: b5349f782c user: rolf tags: trunk
02:38
Fixed the test for running in a source dir with tcldomsh. (doh!) check-in: 6942b42f2d user: rolf tags: trunk
02:11
Changed cvs keyword. check-in: 2b304e6c36 user: rolf tags: trunk
2004-05-08
19:32
Minor editorial changes. check-in: 4716dc798a user: rolf tags: trunk
18:12
Fixed typos in comment. check-in: 4c171a2964 user: rolf tags: trunk
00:57
See file. check-in: 1d150e8fdd user: rolf tags: trunk
00:57
Fixed html-2.1 and html-2.2. (This html reader ist crusty stuff...) check-in: 64cb1af84b user: rolf tags: trunk
00:24
See file. check-in: 4f20b3aa56 user: rolf tags: trunk
00:24
Removed superfluous arg baseURI from XML_SimpleParse(). check-in: 5e019a13db user: rolf tags: trunk
2004-03-26
00:37
See file. check-in: 633220a331 user: rolf tags: trunk
00:36
Fix for the template priority calculation and clearing out of xpathGetPrio(). check-in: ba7f759018 user: rolf tags: trunk
2004-03-14
02:21
See file. check-in: 47d859b691 user: rolf tags: trunk
02:19
Fixed a few simple parser seg faults in case of not-wf input. See xmlconf/xmltest/not-wf/sa/022.xml, xmlconf/xmltest/not-wf/sa/042.xml for examples. check-in: 09134befbe user: rolf tags: trunk
2004-01-29
19:25
Added test case with mark knownBug, to not forget about this. check-in: cbb29b4e51 user: rolf tags: trunk
2003-12-30
19:25
See file. check-in: 1b10c89302 user: rolf tags: trunk
19:24
Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.) check-in: 7734f83bc6 user: rolf tags: trunk
19:24
Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.)

Editorial change: Removed some superfluous casts to (char*) from tdomstrdup result - its defined to return char*. check-in: 14a732182d user: rolf tags: trunk

19:22
Removed superfluous comma from the tdomMethod enum, which bothered the AIX xlc compiler. check-in: ad392b6a4a user: rolf tags: trunk
19:19
Doh! Undo the last changes; I fixed this already 2003-10-12. check-in: 2c422d33f6 user: rolf tags: trunk
2003-12-24
02:47
See file. check-in: 328f623e77 user: rolf tags: trunk
02:33
Bug fix: Protect against spaces in the path to the package. check-in: daa716781a user: rolf tags: trunk
2003-12-20
01:38
See file. check-in: ac8f1090e4 user: rolf tags: trunk
01:38
Also updated to new version nr 0.8.0. check-in: 1b784c6eaf user: rolf tags: trunk
2003-12-17
03:39
Fixed typo. check-in: 8b94b3c8cc user: rolf tags: trunk
03:38
See file. check-in: ca659ba188 user: rolf tags: trunk
03:38
Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) check-in: 50bb03d137 user: rolf tags: trunk
03:36
Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) check-in: 6fc03c62bd user: rolf tags: trunk
2003-12-16
22:36
See file. check-in: 2e0e74af7b user: rolf tags: trunk
2003-12-15
01:22
More fixes to ensure ns integrity of xslt result trees. check-in: 823c061625 user: rolf tags: trunk
2003-12-14
18:47
Corrected date entry of the last changes. check-in: fd41972ea3 user: rolf tags: trunk
18:45
See file. check-in: 9a001678b8 user: rolf tags: trunk
18:45
Build expected result of some tests with [list], instead of providing a string rep. This hides the changes in list string rep by TIP 148, so that the tests work both with pre- and post TIP 148 tcl. check-in: e0ae8be4a3 user: rolf tags: trunk
18:45
Made test results independent from the (undefined) order of [array get]. check-in: 64b8e2895f user: rolf tags: trunk
2003-12-11
18:42
See file. check-in: fe4f52e7bb user: rolf tags: trunk
18:41
Bug fix: double mem free in case of pattern w/ FQ element with positional dependent predicate. check-in: 56ba5cea1c user: rolf tags: trunk
13:38
See file. check-in: ca86fffc22 user: rolf tags: trunk
13:35
Bug fix: Don't quash white space of non white space only content in trim mode. check-in: 44db286071 user: rolf tags: trunk
2003-12-09
14:20
See file. check-in: 5d1e8fe7cd user: rolf tags: trunk
14:20
Improved regexp to extract encoding. Corrected typo. check-in: 593bdf17ef user: rolf tags: trunk
03:00
See file. check-in: 3af58d3d31 user: rolf tags: trunk
02:59
Bug fix in namespace handling: copy-of from result tree fragments could mess up ns handling, if a default namespace is already in scope in the result tree. check-in: 78d8620e97 user: rolf tags: trunk
2003-12-08
01:51
See file. check-in: 9d181e65a8 user: rolf tags: trunk
01:50
Also updated to verson nr. 0.8.0. check-in: 9b0188eac7 user: rolf tags: trunk
2003-11-28
01:27
See file. check-in: 602a50247f user: rolf tags: trunk
01:27
Switched back to Tcl_Panic() in one case, to make MT builds work. check-in: ceb4c394ff user: rolf tags: trunk
01:25
With MT tDOM, a domDoc extRefHandler script may be used within another thread. check-in: f4c9cc0cdb user: rolf tags: trunk
2003-11-27
12:59
See file. check-in: 3d1e8a2e7f user: rolf tags: trunk
12:58
Another fix, to ensure namespace integrity of the result doc. check-in: b768f8d2b6 user: rolf tags: trunk
2003-11-26
17:01
See file. check-in: 22e0504247 user: rolf tags: trunk
17:00
Fixed parentNode of documentElement and siblings of the result tree. check-in: 620ef29cbf user: rolf tags: trunk
16:01
See file. check-in: 897467a9b5 user: rolf tags: trunk
16:00
Fix, to ensure namespace integrity of the result doc. check-in: 8893c786c2 user: rolf tags: trunk
2003-11-24
10:39
Fixed new way of default output reporting. check-in: 0e3c1ad006 user: rolf tags: trunk
10:26
See file. check-in: 4466c5ef81 user: rolf tags: trunk
10:25
Added this file. check-in: 243e918376 user: rolf tags: trunk
10:25
Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. check-in: aab6352f01 user: rolf tags: trunk
10:24
Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. Always use domPanic as panic function. check-in: 325c92cf38 user: rolf tags: trunk
10:17
(Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. Fixed mem leak with -externalentitycommand. Fixed mem leak with parsing xml document with external entity and parsing error in an external entity. Minor code clean up. Always use domPanic as panic function. check-in: 62ed272244 user: rolf tags: trunk
10:15
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. check-in: 6c6717bce7 user: rolf tags: trunk
10:14
Fixed a mem leak with some sum() calls with NaN result. Fixed invalid memory read. check-in: b3e6e12689 user: rolf tags: trunk
10:13
Always use domPanic as panic function. check-in: 4e3ff629a3 user: rolf tags: trunk
10:12
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. check-in: aca3c61b35 user: rolf tags: trunk
10:12
Don't include PIs inside the internal subset into the tree. Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Always use domPanic as panic function. check-in: f35159af31 user: rolf tags: trunk
10:09
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. check-in: 7824526c34 user: rolf tags: trunk
10:08
Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. check-in: 7b137cffbb user: rolf tags: trunk
10:06
Minor addition. check-in: 0acdbe0b00 user: rolf tags: trunk
10:05
Don't include PIs inside the internal subset into the tree.

(Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. check-in: 6391024643 user: rolf tags: trunk

10:03
Permanently added forced memory clean up. check-in: ed136b8141 user: rolf tags: trunk
2003-11-20
16:55
Bug fix: Setting a top-level xslt param with -parameters and using this param for setting another top level var could end in seg fauld. Closed-Leaf check-in: c39e6700d0 user: rolf tags: trunk, rel-0-7-branch
13:01
See file. check-in: 40ec109262 user: rolf tags: trunk
13:01
Bug fix: Setting a top-level xslt param with -parameters and using this param for setting another top level var could end in seg fauld. check-in: 407a886de6 user: rolf tags: trunk
2003-11-10
23:11
See file. check-in: 08d28245c8 user: rolf tags: trunk
23:10
Replaced a C++ style comment with a C style comment. check-in: ff1ec96273 user: rolf tags: trunk
2003-11-03
00:21
See file. check-in: f40dc6d529 user: rolf tags: trunk
00:20
Fixed memory leak, if floor or ceiling are called with non-numbers. check-in: d543bb73af user: rolf tags: trunk
00:19
Added a few tests related to declarations to chapter 4.2 and 4.4 in the errata to the XPath rec. check-in: a7464f9aa0 user: rolf tags: trunk
2003-11-01
00:54
See file. check-in: c034eb6da9 user: rolf tags: trunk
00:54
Minor bug fix: Special handling is needed, if xsl:copy-of is used, to copy namespace nodes. check-in: 9237989bb0 user: rolf tags: trunk
2003-10-30
10:22
See file. check-in: f394ce35ce user: rolf tags: trunk
2003-10-26
17:57
See file. check-in: 2f91e0c3e6 user: rolf tags: trunk
17:57
Removed not needed code. check-in: a86f558a57 user: rolf tags: trunk
17:56
See file. check-in: 7c2b3bf4c2 user: rolf tags: trunk
17:46
Bug fix: Under some circumstances it was possible, that an URI change for a subtree was not stored in the tree (resulting in wrong base URI for that nodes). check-in: 023d387786 user: rolf tags: trunk
02:02
See file. check-in: 4457f995d6 user: rolf tags: trunk
02:01
Globalized the macro IS_XML_WHITESPACE. check-in: 3395bc4daf user: rolf tags: trunk
02:01
number() bug fix: Now works according to the XPath rec understanding of a Number, not with the libc understanding of a double. Globalized the macro IS_XML_WHITESPACE. check-in: c6a0b5c30c user: rolf tags: trunk
2003-10-24
00:53
See file. check-in: 534205a214 user: rolf tags: trunk
00:53
Improved error reporting, if an XSLT variable is tried to reset, although there is already such a variable in scope: now the name of the var is also reported in the error msg. check-in: 5963c051e2 user: rolf tags: trunk
00:51
Bug fix for document() func, if called with 2 args and first arg evaluates to the empty string. Improved error reporting, if an XSLT variable is tried to reset, although there is already such a variable in scope: now the name of the var is also reported in the error msg. check-in: e16cd79257 user: rolf tags: trunk
00:51
Updated to use the new asText option. check-in: cb1308db02 user: rolf tags: trunk
2003-10-23
10:35
See file. check-in: 14723dd7dc user: rolf tags: trunk
10:34
Update to expat 1.95.7. check-in: a1346da8f9 user: rolf tags: trunk
2003-10-22
15:35
See file. check-in: 58205ebba2 user: rolf tags: trunk
15:33
Bug fix in the xpath lexer: In a union expr, a NCName test with a name equal to an operator was wrongly interpreted as operator. check-in: c434fd2b49 user: rolf tags: trunk
2003-10-21
22:31
See file. check-in: 155f107849 user: rolf tags: trunk
22:31
Removed two unused variables. check-in: b6a7058e14 user: rolf tags: trunk
22:29
Changed handling of key node sets. It's a somewhat focused optimization, for the price of a very small overall cost. I've done it anyway, because it's an very notable speed up for an important xslt pattern (the so called Muenchian Method for grouping).

Fixed bug with current(), if it is used in the select expr of an xsl:sort. check-in: 59b059d709 user: rolf tags: trunk

22:26
Changed handling of key node sets. It's a somewhat focused optimization, for the price of a very small overall cost. I've done it anyway, because it's an very notable speed up for an important xslt pattern (the so called Muenchian Method for grouping). check-in: b2c6dec8ca user: rolf tags: trunk
2003-10-17
19:35
See file. check-in: ee6b25c94c user: rolf tags: trunk
19:34
Added again some recently implemented methods to domObj_usage and node_usage, which got accidentally removed by the lately editorial changes. check-in: a45af57c18 user: rolf tags: trunk
19:32
Fixed dom parse -channel option, which got accidentally broken, due to the lately switch from Tcl_GetStringFromObj() to Tcl_GetString(). check-in: 317f0af5b2 user: rolf tags: trunk
08:46
See file check-in: ecba84b534 user: zoran tags: trunk
08:45
Attempt to enforce (where feasible) the right 78-char margin check-in: f06a133591 user: zoran tags: trunk
08:44
Added "dom detachDocument" and implemented support for domDoc command check-in: 3bd1b9e90c user: zoran tags: trunk
08:43
Changed lock caching to accomodate for situation with huge number of created documnents check-in: be54f999f2 user: zoran tags: trunk
2003-10-12
01:59
See file. check-in: 0cc90ecb27 user: rolf tags: trunk
01:59
Removed not used vars. check-in: fc30d07ea2 user: rolf tags: trunk
01:57
Merged domCreateEmptyDoc() and domCreateDoc(), now there is only one API proc: domCreateDoc(). check-in: 7f2fefd0c2 user: rolf tags: trunk
2003-10-10
20:15
See file. check-in: fc55e3ff74 user: rolf tags: trunk
20:14
Added documentation for method normalize. check-in: e219c484f4 user: rolf tags: trunk
20:05
See file. check-in: dc2b4ec7ea user: rolf tags: trunk
20:04
Fixed pkgIndex.tcl problem, if the path to the packages contains a space. check-in: 717a0d14d8 user: rolf tags: trunk
00:25
Forgot to remove some testing/debugging code... :-( check-in: 35c8ac3269 user: rolf tags: trunk
00:22
See file. check-in: b614d3201e user: rolf tags: trunk
00:20
Added implementation for new method "normalize" (and as a by-product a C implementation for the method appendData). check-in: 652229bedb user: rolf tags: trunk
2003-10-09
00:22
See file. check-in: d6c62c3145 user: rolf tags: trunk
00:21
Made code robust against renaming of domDoc cmds (well, unlikely, not to say very unlikely, but at least it also simplified code and reduced obj size by a few bytes). Changed sharedDocs hash table (only MT build) from TCL_STRING_KEYS to TCL_ONE_WORD_KEYS. check-in: 4cf12e5b6f user: rolf tags: trunk
2003-10-08
16:17
See file. check-in: c13c20759d user: rolf tags: trunk
16:16
Fixed the preliminary (and MT only) method renumber. check-in: a6cdb344f3 user: rolf tags: trunk
2003-10-07
00:23
See file. check-in: 122a85a130 user: rolf tags: trunk
00:23
Added new method insertBeforeFromScript to domNodes. check-in: cea520a657 user: rolf tags: trunk
00:21
Added new method insertBeforeFromScript to domNodes. Bug fixes for appendFromScript: In case of error in the script, the tree will not be altered. The appendFromScript may only be used for ELEMENT_NODEs. check-in: d903e8efaa user: rolf tags: trunk
2003-10-04
19:08
See file. check-in: cac0f22d64 user: rolf tags: trunk
19:08
Added new method 'asText' to domDocs and domNodes. Renamed pathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. check-in: a42e9cee15 user: rolf tags: trunk
19:06
Added new method 'asText' to domDocs and domNodes. Renamed xpathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. check-in: 08d7ad7cbc user: rolf tags: trunk
19:05
Added new method 'asText' to domDocs and domNodes. Renamed xpathGetTextValue() to xpathGetStringValue(), to be more according to the vocabular of the XPath rec. Removed prototypes of functions, which are not implemented. Editorial changes. check-in: 0ba57953f2 user: rolf tags: trunk
2003-10-01
16:38
See file. check-in: 0b9b5827a8 user: rolf tags: trunk
16:38
Removed unnecessary check of domModuleIsInitialized in domReadDocument(). Corrected typo in a comment. check-in: af459797bb user: rolf tags: trunk
2003-09-30
23:00
See file. check-in: c60bf8f217 user: rolf tags: trunk
22:58
Reworked usage of nodeNumber. It is now used only in one place, the new domPrecedes function. Also in domPrecedes is a fall-back mechanism, which is used if the document has an invalid node numbering. Removed the forced re-numbering in case of invalid node numbering of the doc for every single selectNodes. Added preliminary method renumber for MT-enabled builds. Carefully reviewed every rsAddNode usage in domxpath.c. Some minor editorial changes. check-in: e6bd173417 user: rolf tags: trunk
2003-09-28
00:35
See file. check-in: a22e65386d user: rolf tags: trunk
00:34
Removed two unused vars. check-in: 615337ddc0 user: rolf tags: trunk
00:32
See file. check-in: 963dda2b7a user: rolf tags: trunk
00:32
Changed type of domNameSpaceIndex, domNodeFlags, domAttrFlags, domDocFlags and info in dom*Node structs from int to unsigned int. This fixes bug with docs with more than 128 different namespaces. check-in: 56d4785a2e user: rolf tags: trunk
2003-09-27
23:34
See file. check-in: 9316872c5c user: rolf tags: trunk
23:33
Bug fix: preceding-sibling axes could give wrong results in case the context node is a child of rootNode (e.g the documentElement). check-in: 8bf9c107c2 user: rolf tags: trunk
23:28
See file. check-in: ca169b431a user: rolf tags: trunk
23:24
Bug fix for replaceChild: If the node to replace was wrong, the doc got mangled. Bug fix for appendChild, replaceChild: the new node could not be a sibling or child of node. Speed improvment in some cases for removeChild, replaceChild, appendChild. check-in: 181e84b469 user: rolf tags: trunk
2003-09-22
01:06
Corrected typo in the last commit. check-in: 0928bb8bfe user: rolf tags: trunk
01:05
See file. check-in: 1d92e1db7c user: rolf tags: trunk
01:04
insertBefore method: Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. check-in: 67b8a9f3b0 user: rolf tags: trunk
01:02
Reworked insertBefore: Bug fix: If the refNode was invalid, the involved documents got mangled. Bug fix: Dead loop, if the node to insert was the node itself. Bug fix: the rootNode of node's document could be used as node to insert. Bug fix: It was not possible, to insert a node before refNode, which was already a children of node. Bug fix: It was not possible, to insert a sibling of node. Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. Optimization: Average speed was O(n/2) (n: number of childs of node) in case the node to insert was out of the tree, and 0((n+m)/1) (m: number of nodes in the fragments list) in case the node to insert was out of the fragments list. Now its O(1).

Removed 'knownBug' constraint from two tests, which documented known bugs, that are fixed in the meantime. check-in: ee928a0701 user: rolf tags: trunk

01:00
Reworked insertBefore: Bug fix: If the refNode was invalid, the involved documents got mangled. Bug fix: Dead loop, if the node to insert was the node itself. Bug fix: the rootNode of node's document could be used as node to insert. Bug fix: It was not possible, to insert a node before refNode, which was already a children of node. Bug fix: It was not possible, to insert a sibling of node. Feature enhancement: If the refnode is the empty string, the newNode is inserted at the end of the children list of node. Optimization: Average speed was O(n/2) (n: number of childs of node) in case the node to insert was out of the tree, and 0((n+m)/1) (m: number of nodes in the fragments list) in case the node to insert was out of the fragments list. Now its O(1). check-in: 502f04d441 user: rolf tags: trunk
2003-09-16
22:59
See file. check-in: d3a05e7548 user: rolf tags: trunk
22:58
Added a few tests related to the new flexibility of the -elementstartcommand, -elementendcommand and -characterdatacommand scripts. check-in: 87dde9d70b user: rolf tags: trunk
22:56
Added documentation for the now implemented cget method. Added information about the default for the -paramentityparsing option. check-in: e3239e08a4 user: rolf tags: trunk
22:54
Enhanced the new cget method of parserObjs to also report the state of -noexpand, -useForeignDTD, -paramentityparsing (those by doing the bookkeeping with an enhanced TclGenExpatInfo struct, because the expat parser do not proived an API to request this settings) and -namespace. Improved argument check of the parser obj method calls. Optimization for calling handler scripts. check-in: 46291ef738 user: rolf tags: trunk
22:53
Enhanced the new cget method of parserObjs to also report the state of -noexpand, -useForeignDTD, -paramentityparsing (those by doing the bookkeeping with an enhanced TclGenExpatInfo struct, because the expat parser do not proived an API to request this settings) and -namespace. check-in: 58a2c22703 user: rolf tags: trunk
19:23
See file check-in: c75d4d0c1e user: zoran tags: trunk
19:20
Added "-fPIC" option to compiler so linker wont bark at us when producing a shareable image check-in: 7e0af5ba9c user: zoran tags: trunk
2003-09-14
17:06
See file. check-in: d7f96dea6a user: rolf tags: trunk
17:06
Fixed scripting bugs in ::dom::domDoc::importNode and ::dom::domNode::length. check-in: c3fce0f7cd user: rolf tags: trunk
14:50
See file. check-in: f9d2ed4525 user: rolf tags: trunk
14:49
dist target: Don't include CVS dirs and hidden files into the distribution file. check-in: 8830f473cb user: rolf tags: trunk
11:18
Rats! A small order problem in configure.in fixed. check-in: 4089fb272f user: zoran tags: trunk
11:09
See file check-in: b97bd270c0 user: zoran tags: trunk
11:09
Cleanup of example build setups check-in: 956983fa1e user: zoran tags: trunk
11:08
Simplified. Just re-route users to the unix build. check-in: 4f3d88accf user: zoran tags: trunk
11:08
Imported the latest version from SF project. check-in: 2c69e01972 user: zoran tags: trunk
11:06
Made more TEA-2 compatible by removing tcldomsh from default build and by using some more pre-calculated variables from tcl.m4. The configure regenerated with autoconf 2.52. check-in: 8d1744303b user: zoran tags: trunk
01:35
See file check-in: 63ed4d108c user: rolf tags: trunk
01:16
Included 0.7.8 fixes from the rel-0-7-branch check-in: 63b1313111 user: rolf tags: trunk
00:17
Added cget method implementation for all parser options with the exceptions of -namespace, -useForeignDTD and -paramentityparsing. Revamped behind the scene code for handling of the -elementstartcommand, -elementendcommand and -characterdatacommand options. Up to now, the arguments to this options must have been the name of an already defined tcl proc. This allowed a special high performance calling of that procs. The new code behaves exactly the same way for every script, which worked with previous versions. Additionally it allows, to specify a not already defined tcl proc and, probably more important, allows 'arbitrary' tcl scripts as argument to that options. All in this checkin in the work of Harry Moreau (hmoreau@online.ie). Many thanks for this contribution. check-in: 2117d656ff user: rolf tags: trunk
2003-07-08
19:14
Removed domAppendChild1 in favour of domAppendChild check-in: fc36e1970c user: zoran tags: trunk, rel-0-7-branch
16:17
Used != instead of the modern 'ne', for older tcl versions. check-in: 368c84013a user: rolf tags: trunk, rel-0-7-branch
16:00
Added contraint need_uri, so that the few tests, which needs the tcllib uri package are skipped, if the uri package isn't present. check-in: c6138985fa user: rolf tags: trunk, rel-0-7-branch
2003-07-07
19:53
Updated version Nr. to 0.7.8. check-in: f02fa69261 user: rolf tags: trunk, rel-0-7-branch
18:20
Fixed typo check-in: 5e133f9520 user: zoran tags: trunk, rel-0-7-branch
2003-07-06
22:44
See file. check-in: 59dbc8bd21 user: rolf tags: trunk, rel-0-7-branch
22:43
Fixed error reporting in tDOM::extRefHandler. check-in: 53412c6513 user: rolf tags: trunk, rel-0-7-branch
22:36
See file. check-in: d7127058c3 user: rolf tags: trunk, rel-0-7-branch
22:36
Fixed bug in the subtree skipping feature of event handlers. Should be merged with HEAD. check-in: d21e076a81 user: rolf tags: trunk, rel-0-7-branch
22:34
Backported from HEAD: Added an argument check for XSLTCmds. check-in: a8f44917c4 user: rolf tags: trunk, rel-0-7-branch
22:33
Backported from HEAD: Fixed a bug in xsl:number. If there is no 'count' attribute given to xsl:number, it must default to the pattern that matches any node with the same node type as the current node and, if the current node has an expanded-name, with the same expanded-name as the current node. But in case of PROCESSING_INSTRUCTION_NODEs as the current node and no 'count' attribute, it counted all pi's regardless of the name. Now, the name is respected, as it should be. check-in: bf096e452a user: rolf tags: trunk, rel-0-7-branch
2003-07-04
18:17
Fixed version string to 0.7.8 check-in: 66b65c5ffd user: zoran tags: trunk, rel-0-7-branch
2003-07-03
19:18
See file check-in: add8b6d8d0 user: zoran tags: trunk, rel-0-7-branch
19:17
Fixed variable tracing issues for node object commands. Allows same thread to make several "attachDocument" calls on the same doc. check-in: ed52b2f7fc user: zoran tags: trunk, rel-0-7-branch
19:16
fixed double mutex unlock. check-in: 149395b557 user: zoran tags: trunk, rel-0-7-branch
2003-06-13
10:38
See file. check-in: f1436a6ee9 user: rolf tags: trunk
10:38
Added an argument check for XSLTCmds. check-in: 936d29eba1 user: rolf tags: trunk
2003-06-11
18:35
Fixed a bug in xsl:number. If there is no 'count' attribute given to xsl:number, it must default to the pattern that matches any node with the same node type as the current node and, if the current node has an expanded-name, with the same expanded-name as the current node. But in case of PROCESSING_INSTRUCTION_NODEs as the current node and no 'count' attribute, it counted all pi's regardless of the name. Now, the name is respected, as it should be. check-in: 10e814d3c7 user: rolf tags: trunk
18:35
See file. check-in: 7edd8b732d user: rolf tags: trunk
15:04
See file CV: ---------------------------------------------------------------------- check-in: ce0954a8b4 user: zoran tags: trunk
15:02
Fixed domLocksDetach; was wrongly unlocking mutex twice instead of locking it on start and unlocking it on exit. check-in: c10aa7098b user: zoran tags: trunk
2003-05-19
12:55
See file. check-in: b95af358d1 user: rolf tags: trunk
12:55
Corrected the documentation of the createDocumentNS method: the args uri and docElementName were documented in the wrong order (reported by Vico Klump). Minor markup changes. check-in: 286cf6abe4 user: rolf tags: trunk
2003-05-16
14:40
See file check-in: 8c1949e1e2 user: zoran tags: trunk
14:39
fixed preprocessor directive when compiling under AOLserver check-in: 6cb6245b08 user: zoran tags: trunk
14:36
Fixed to compile correctly when -NS_AOLSERVER defined. Also fixed some obvious typos (Zoran) in dom.h (phew!) check-in: 25004cbac0 user: zoran tags: trunk
11:54
See file. check-in: 5d9166cf39 user: rolf tags: trunk
11:52
Switched to use XML_ParserCreate_MM(), to be able (at tDOM build time) to make the expat parser use custom *alloc/free() functions (macro MEM_SUITE in dom.h). For TCL_MEM_DEBUG and NS_AOLSERVER builds the mem functions, used by the parser default now to Tcl_Alloc()/Tcl_Realloc()/Tcl_Free(). Switched to XML_FreeContentModel(), for freeing stored element content models. check-in: 9afca81854 user: rolf tags: trunk
2003-05-10
22:17
See file. check-in: aa04611d61 user: rolf tags: trunk
22:15
Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. Removed the arg xs from sortNodeSetFastMerge(), because it isn't used. check-in: 71830d068c user: rolf tags: trunk
22:10
Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. check-in: dab1effe06 user: rolf tags: trunk
2003-04-20
10:50
See file. check-in: 66141ddcaa user: rolf tags: trunk
10:50
Proc newdoc: New optional argument (list of names of local variables) allows the use of local variables (in the scope of the caller of newdoc) in the script argument of newdoc. Contributed by Chuck Ferril. check-in: 8634886d0d user: rolf tags: trunk
2003-04-16
20:05
See file. check-in: f4b5296847 user: rolf tags: trunk
20:04
Optimization: Improved caching of external documents. check-in: 1240b0cab4 user: rolf tags: trunk
2003-04-12
02:28
See file. check-in: 1cc368bd62 user: rolf tags: trunk
02:24
Bumped version to 0.8.0 (alpha). check-in: b4ea22bb2b user: rolf tags: trunk
02:20
Bumped version to 0.8.0 alpha. check-in: edc7d63c4b user: rolf tags: trunk
2003-04-09
20:18
See file. check-in: fdd34c6f65 user: rolf tags: trunk
20:06
Added test which documents the bug prior to domxpath.c r1.63. check-in: 8c30521612 user: rolf tags: trunk
20:05
Fixed a bug in the value parsing of the -paramentityparsing option. check-in: 34abc1809a user: rolf tags: trunk
20:02
Added documentation for the toXSLTcmd method and the resulting xsltCmds. Corrected the documentation for the xslt method (missed -ignoreUndeclaredParameters and -xsltmessagecmd in the method syntax). check-in: 953bfabb7d user: rolf tags: trunk
20:01
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added 'package require tdom' to the syntax decription (http://groups.yahoo.com/group/tdom/message/446). check-in: 7ceca71c15 user: rolf tags: trunk
19:59
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Removed an unused variable. Improved error reporting in case of not found attribute. Better options check for the 'xslt' methods. Changed implementation of the dom method isQName to use the lately introduced API function domIsQNAME. check-in: b1dd756571 user: rolf tags: trunk
19:57
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added tests for the interface of the xsltCmds. check-in: 0231e6fe49 user: rolf tags: trunk
19:56
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). check-in: d3a1a78a90 user: rolf tags: trunk
19:40
Fixed a bug in the creation of the error msg in case of parsing errors in an external entity. Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). check-in: 803d0d341b user: rolf tags: trunk
2003-04-05
17:46
See file. check-in: 2dd42f3330 user: rolf tags: trunk
17:46
Bug fix: If the parsing state is already not TCL_OK return in the notstandalonehandler immediately success, otherwise the error msg will be overwritten with a false diagnostic. A few editorial changes. check-in: 8cecf9b419 user: rolf tags: trunk
2003-04-03
23:08
See file. check-in: d132a66738 user: rolf tags: trunk
23:07
Added domIsQNAME. check-in: 157305e7e9 user: rolf tags: trunk
23:07
Added domIsQNAME. Bug fix: For textNodes getLine/getColumn method report the position of the first char of the text node. check-in: d6adb7f78c user: rolf tags: trunk
23:06
Bug fix: Detects now some erroneous XPath expressions. Added parameter number check to XPath functions substring and concat (the last two XPath functions, without such check, they must have slipped thou somehow, up to now). check-in: a4cd1d36a9 user: rolf tags: trunk
23:05
Improved interal function reportError(), can now be used with all kind of nodes not only element nodes. Improved behavior in case of dubious numbering (negative roman number or latin letters fall back to default latin numbers). Fixed a potential memory leak (in case of overwriting named templates without match attribute with an other named template). Improved error reports: for more detected errors there is now a line/column number given. Plenty of improvements in detecting erroneous stylesheets: more checks for format-number formatting patters (although especically format-number patterns are still a can of worms), added parameter number check for additional XPath function current(), template, paramter, variable, sort, choose, copy, and message elements. check-in: 98a8b451d5 user: rolf tags: trunk
2003-03-26
01:16
See file. check-in: 8a74cc4c0c user: rolf tags: trunk
01:14
Fixed some memory problems, mostly in case of erroneous stylesheets. check-in: 3e4fa7daf1 user: rolf tags: trunk
2003-03-25
22:48
Bumped the version number to 0.7.7. check-in: 6713546dad user: rolf tags: trunk
22:46
See file. check-in: 504b0a44b5 user: rolf tags: trunk
22:46
See file. check-in: b7ba190d3c user: rolf tags: trunk
22:31
Bumped the version number to 0.7.7. check-in: 628ec6edb9 user: rolf tags: trunk
14:41
See file. check-in: 4d6003df0a user: rolf tags: trunk
14:39
Fixed error, which prevents building 0.7.6 with -DTCL_THREADS=1. (Arrrg.) check-in: a433fa7ab1 user: rolf tags: trunk
2003-03-24
20:06
See file. check-in: 8a59bd662f user: rolf tags: trunk
20:05
Noted modification of expat.h. check-in: 35f80b1c76 user: rolf tags: trunk
20:01
Updated to an after 1.95.6 version, which fixes the problem, that some compilers had with the 1.95.6 version. check-in: 804cc57b9d user: rolf tags: trunk
19:57
Final tweaking for 0.7.6. check-in: c3f651a34b user: rolf tags: trunk
2003-03-23
02:07
Fixed editorial slip throu. check-in: c90afec5b8 user: rolf tags: trunk
02:06
See file. check-in: 64b2c2958a user: rolf tags: trunk
01:21
Updated to the new version number 0.7.6 check-in: b5e5329db1 user: rolf tags: trunk
01:19
Updated to new version number 0.7.6. check-in: 1ada227aba user: rolf tags: trunk
01:16
Removed in favor of a version-less tDOM output directory. check-in: 2626074683 user: rolf tags: trunk
2003-03-22
18:56
tdomstub_BUILD_SPEC must point to the plattform specific build dir. check-in: fa1e69f5de user: rolf tags: trunk
17:46
tdomstub_BUILD_SPEC must point to the plattform specific build dir. check-in: 1ebd0f7597 user: rolf tags: trunk
16:27
Updated for 0.7.6 release. check-in: ba1800a649 user: rolf tags: trunk
02:13
See file. check-in: 437ff62f67 user: rolf tags: trunk
02:11
Updated to new version 0.7.6. check-in: 079c509dde user: rolf tags: trunk
02:07
See file. check-in: 3eec272632 user: rolf tags: trunk
01:38
Removed hard coded version number, uses now VERSION define check-in: 1384262645 user: rolf tags: trunk
01:31
Updated to new version number 0.7.6. check-in: 35fe76bc88 user: rolf tags: trunk
00:25
Added marker for 0.7.5 release. Beside this see file. check-in: 824de765e7 user: rolf tags: trunk
00:16
Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. check-in: 7d7a0eaa64 user: rolf tags: trunk
00:14
Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. check-in: 6dbe77ea42 user: rolf tags: trunk
00:05
Added code needed to handle effects of the -useForeignDTD option. check-in: 4b30dbc927 user: rolf tags: trunk
2003-03-19
14:14
See file. check-in: 3059d7be0c user: rolf tags: trunk
14:10
Changed pathes to point to the location of mondial-europe.xml. check-in: b9bdea4b97 user: rolf tags: trunk
14:08
Added option -useForeignDTD to dom parse and expat. check-in: 571811ec65 user: rolf tags: trunk
14:05
Added method 'startBefore', to compare the relative order of two nodes out of the same document. Added a reminder for a minor known memory problem. check-in: 5ce44fc040 user: rolf tags: trunk
14:03
Added this file (used by the usage example of xe). check-in: 8bce07abd4 user: rolf tags: trunk
13:55
Added method 'startBefore', to compare the relative order of two nodes out of the same document. check-in: 16f004bf75 user: rolf tags: trunk
13:52
Added option -useForeignDTD to dom parse and expat. check-in: 10d8023a21 user: rolf tags: trunk
13:50
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed potential memory problem while processing erroneous stylesheet. Improved error msg in case of script errors in the -externalentitycommand script. Added method 'startBefore', to compare the relative order of two nodes out of the same document. check-in: f1e13ac49c user: rolf tags: trunk
13:47
Added explicit memory clean up of the nodecmd stack, to reduce 'noice' while memory leak debugging. check-in: 5d57e5e112 user: rolf tags: trunk
13:46
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed several potential memory leaks while processing erroneous stylesheets. Bug fix: added missing memory clean to grouping-separator/grouping-size support. check-in: 7a8fadc97a user: rolf tags: trunk
13:42
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. check-in: 3a026610b6 user: rolf tags: trunk
13:41
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Fixed a mem leak in handling external entities. Added option -useForeignDTD to dom parse and expat. check-in: c1c952bd76 user: rolf tags: trunk
08:54
See file check-in: a05e1f6a20 user: zoran tags: trunk
08:53
Installs the tdomConfig.sh into $libdir (whatever that points to) check-in: 1d51a34b86 user: zoran tags: trunk
2003-03-08
15:48
Hegh.... check-in: fa7ad49c92 user: zoran tags: trunk
15:48
See file check-in: dac6b201ca user: zoran tags: trunk
15:47
Disabled FASTCALL & friends check-in: 9238bc913a user: zoran tags: trunk
11:51
Fixed issues when setting --libdir and/or --prefix check-in: a09ac5e5f0 user: zoran tags: trunk
11:50
Simplified 4.0 setup again. check-in: 316ff345cb user: zoran tags: trunk
10:15
Fixed some prefix/exec-prefix stuff check-in: f18e54ace5 user: zoran tags: trunk
10:15
Fixed AOLserver 4.0 setup check-in: ccc92b8246 user: zoran tags: trunk
09:38
Cosmetics check-in: 42ad3d167a user: zoran tags: trunk
09:32
New set of files check-in: b3a0b2f57c user: zoran tags: trunk
09:27
Cosmetic check-in: a7c169e0bd user: zoran tags: trunk
2003-03-06
15:52
Removed TEA_INIT because we wo not need it for this minimal make check-in: 817310aa70 user: zoran tags: trunk
15:51
First import check-in: a0757227e3 user: zoran tags: trunk
14:28
See file check-in: 66c9feb161 user: zoran tags: trunk
14:25
First import of Bernard files for CodeWarrior check-in: 9371d69091 user: zoran tags: trunk
14:24
Added Bernard files for CodeWarrior build check-in: b0a821471a user: zoran tags: trunk
14:22
See file check-in: 520460eb27 user: zoran tags: trunk
14:22
First import check-in: 1aaea3ddcd user: zoran tags: trunk
14:07
First import check-in: 943c93879a user: zoran tags: trunk
14:01
See 06.03.2003 check-in: c747a35e0d user: zoran tags: trunk
13:58
Removed malloc.h since not needed and not found on macosx check-in: bd4b0f207d user: zoran tags: trunk
13:58
Fixed alternative use of libdir check-in: 3ccbba9506 user: zoran tags: trunk
2003-03-02
23:38
See file. check-in: 25aaa164ae user: rolf tags: trunk
23:37
Fixed bug with using the 'domNode' cmd without argument (spotted by Bernard Desgraupes). check-in: a9f37ef8bf user: rolf tags: trunk
2003-02-27
02:31
See file. check-in: e78962ebbd user: rolf tags: trunk
02:30
xsl:number attributes grouping-separator and grouping-size now also interpreted as attribute value templates. (The last two (missing up to now only by mistake) attribute value templates under the recognized xsl attributes.) check-in: 59b589e432 user: rolf tags: trunk
2003-02-26
19:44
See file. check-in: 365ed006ee user: rolf tags: trunk
19:43
Made some functions static. Removed a TODO note, which already was done. Improved some error msgs (now with line/column info, if avaliable). Bug fix: xsltXPathFuncs must return -1 to signal error, because if the source of the function call was inside of domxslt.c the result code (rc) check rule is rc < 0. Fixed text in a xsl:attribute error msg. Fixed memory leak in error case in ExecAction, case forEach. Added a missing result code check in ExecAction, case procinstr. Bug fix: Even literal result element subtrees are relevant for xslt variable scope (default case of ExecAction). Bug fix: the expression context of the match expr of a xsl:template is the xsl:template node. Now the xslt white space stripping is done before the top level processing (was done after toplevel processing). check-in: 85ed2e2506 user: rolf tags: trunk
19:11
Improved ::tDOM::xml(Read|Open)File. Now handles also utf-16 files with BOM right. check-in: 858ccf022d user: rolf tags: trunk
19:10
Removed unused variables. check-in: 34d56d9c5f user: rolf tags: trunk
2003-02-25
21:00
See file. check-in: 16d442fdba user: rolf tags: trunk
15:16
Applied proposed patch to internal.h, to fix compiler warnings with gcc on solaris. check-in: a94747ebad user: rolf tags: trunk
15:15
Updated to expat 1.95.6. check-in: 272c05015d user: rolf tags: trunk
2003-02-22
23:53
See file. check-in: a987fd45af user: rolf tags: trunk
23:52
Smaller fixes. Changed the values of the system-properties xsl:vendor (included me) and xsl:vendor-url (to http://www.tdom.org). check-in: 955041a024 user: rolf tags: trunk
23:41
Small corrections. check-in: 098df7643f user: rolf tags: trunk
21:55
See file. check-in: cc43f2700a user: rolf tags: trunk
21:47
Added new tnc method getValidateCmd. check-in: 0ecf226b17 user: rolf tags: trunk
21:19
Started test suite for the tcl interface of the tnc command and the validator commands. check-in: a2b9a24f38 user: rolf tags: trunk
21:06
Added new tnc method getValidateCmd. Changed to use the same memory allocator/free defines as the tDOM core. Bumped the version to 0.3. check-in: 1aa803e20b user: rolf tags: trunk
21:01
Better eContents cleanup. Bug fix: of course we have to call the parserResetProcs of the registered C handler sets while reseting the expat parser command. check-in: 155f101390 user: rolf tags: trunk
20:52
Added tcldom_getNodeFromName(), tcldom_getDocumentFromName() and the dom.h typdefs to the tDOM stubs table. Needed for the new tnc feature (and elsewhere, on the long run). check-in: b5b3d96a0d user: rolf tags: trunk
09:40
See 2003-02-22 comment check-in: 75977d17b4 user: zoran tags: trunk
09:38
Added cast to (char*) when calling Tcl_Free on FREE macro. This avoids some compiler warnings. check-in: e2e1b18754 user: zoran tags: trunk
09:37
Added some casts to MALLOC to avoid compiler warnings check-in: 43e91df26e user: zoran tags: trunk
09:15
Added remark about CC=gcc for Solaris builds. check-in: a7bd0b637a user: zoran tags: trunk
09:14
Fixed invalid reference to TCL_DBGX at building tdomConfig.sh. check-in: c59d2bfd99 user: zoran tags: trunk
2003-02-21
20:06
See file. check-in: 9e151a215c user: rolf tags: trunk
20:05
Bug fixes: Return after detecting the error (xsltPathFuncs), ensure that savedLastNode is always set right (ExecAction, case copy). Editorial changes. check-in: d2918070f8 user: rolf tags: trunk
19:57
See file. check-in: 25377bfed5 user: rolf tags: trunk
19:54
Don't remove tdomConfig.sh with a 'make clean', only with a 'make distclean'. check-in: b52f8d7e19 user: rolf tags: trunk
2003-02-09
16:44
See file. check-in: b9739ea64f user: rolf tags: trunk
16:43
Updated to use the new -xsltmessagecmd option of the xslt method and the -doctypeDeclaration of the asXML/asHTML methods. Added a few comments. check-in: 4c19d22118 user: rolf tags: trunk
16:37
See file. check-in: 60fb10d1d8 user: rolf tags: trunk
16:33
Update to expat 1.95.6. check-in: 88da2466db user: rolf tags: trunk
16:30
Update to expat-1.95.6. check-in: 09c960a150 user: rolf tags: trunk
02:26
Editorial change. check-in: 5f744c8f11 user: rolf tags: trunk
02:25
See file. check-in: f222eca95d user: rolf tags: trunk
02:19
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level(even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. check-in: b01319a94b user: rolf tags: trunk
02:17
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. check-in: 192dc1121a user: rolf tags: trunk
02:15
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing.

Bug fix: invalid memory read. check-in: 57286a402a user: rolf tags: trunk

02:13
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing.

Bug fix: Hold ID => node mapping consistent even after resetting or removal of known ID attributes. check-in: 885f793791 user: rolf tags: trunk

2003-01-30
00:38
See file. check-in: b36ec36a3b user: rolf tags: trunk
00:36
Fixed bug reported by Wilhelm Klink (http://groups.yahoo.com/group/tdom/message/404 see test xslt-4.1). Again a problem (sideeffect) of renumbering node->nodeNumber (which is necessary after modification of the tree for some XPath expr to work). The keys of the entries in the baseURIs hash table of the documents where the nodeNumber of the (subtree root) nodes with new baseURI. Since this nodeNumber isn't necessarily constant over the lifetime of a node (because of the possibility of re-numbering the tree), this could not work anymore. Instead the nodeNumber, we now use the pointer to the node structure as Key for the baseURIs hash table. This pointers stay always constant, even if the nodeNumber changes. Additional code was added to domFreeNode(), to ensure, that an entry in the baseURIs hash table gets freed, if the related node is in deed freed. Removed the yesterday added reseting of the domUniqueNodeNr counter, because it turned out in testing, that there are problems with sorting of resultSets, which includes nodes from different documents (which may happen with some special XSLT constructs (document() calls with a nodeset as argument)). The reseting of the domUniqueNodeNr is still desirable, but it turned out, that it should be carefully considered, when it should be done. check-in: d439fe172c user: rolf tags: trunk
2003-01-29
02:42
See file. check-in: 6b52088c26 user: rolf tags: trunk
02:28
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. check-in: 0f29634d2e user: rolf tags: trunk
02:27
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users.

Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications.

Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). check-in: 62ae741b82 user: rolf tags: trunk

02:25
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. check-in: 9fe0cf4a50 user: rolf tags: trunk
02:23
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users.

Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1).

Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. check-in: 0b89d72668 user: rolf tags: trunk

02:21
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. check-in: 8df732f1ef user: rolf tags: trunk
02:19
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. check-in: fdebe05f71 user: rolf tags: trunk
2003-01-11
00:22
See file. check-in: 89d683fc46 user: rolf tags: trunk
00:21
Editorial change (Typo in comment). check-in: 43b3931c21 user: rolf tags: trunk
00:20
Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. Fixed a bug introduced during rework of the white space stripping for XML sources. check-in: c5f0735eff user: rolf tags: trunk
00:18
Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. check-in: 0587720af1 user: rolf tags: trunk
2002-12-27
23:44
See file. check-in: 892a7f9a91 user: rolf tags: trunk
23:43
Editorial changes. check-in: 9e4ab919e4 user: rolf tags: trunk
23:40
The xslt method now understands also the options -ignoreUndeclaredParameters and -xsltmessagecmd. check-in: 9f5c3aa51b user: rolf tags: trunk
2002-12-23
03:12
See file. check-in: e9de6ca07a user: rolf tags: trunk
03:12
Reworked the white space stripping for XML sources a bit. Better white space handling in token lists. check-in: d0a4e69e9c user: rolf tags: trunk
2002-12-21
20:45
See file. check-in: c3782f2bbb user: rolf tags: trunk
20:44
Fixed the changes by me in rev. 1.60 in the XPath Lexer. check-in: 868915c3d1 user: rolf tags: trunk
2002-12-20
13:40
See file check-in: 3ad7ebca74 user: zoran tags: trunk
13:36
Added DBG wrapper arround some lingering fprintf's check-in: c5ee64163a user: zoran tags: trunk
2002-11-28
01:03
See file. check-in: 1187e5fcc5 user: rolf tags: trunk
00:31
Reuse already parsed trees only if it is requested again for the same matter (as stylesheet or as source dir), otherwise create a new tree, because of the different white space stripping rules for stylesheets and source documents. check-in: 84d0c40a05 user: rolf tags: trunk
2002-11-27
22:44
See file. check-in: 0ab237447c user: rolf tags: trunk
22:44
Added this file. VC++ 6.0 makefile to compile against tcl8.0.5, contributed by Sumit Pokhariyal check-in: c41471283c user: rolf tags: trunk
22:38
Fixed typo in previous check in. check-in: 3ed9ce2ec3 user: rolf tags: trunk
22:37
See file. check-in: d6a62d43eb user: rolf tags: trunk
20:37
FQ names with a localname equal to a XPath 'keywork' (for example ns1:div) are now recognized as node test (they raised error up to now). check-in: d8e9714e8a user: rolf tags: trunk
2002-11-24
18:23
See file. check-in: e21dd9ea73 user: rolf tags: trunk
18:21
Changed the order of the include dir, to avoid clash with tcldom.h out of TclDOM-2.4, which will be installed in the same directory as tcl.h check-in: da1315af55 user: rolf tags: trunk
2002-11-22
15:00
See file. check-in: 74c58acb9f user: rolf tags: trunk
15:00
Updated notes for Tcl8.0.5 users. check-in: cf0be9fdaf user: rolf tags: trunk
14:59
Added this file. Special configure for Tcl8.0.5 users. check-in: 3762eb3181 user: rolf tags: trunk
2002-11-21
23:46
Corrected the date of the last entry. check-in: 91cbb9c9e1 user: rolf tags: trunk
20:38
See file. check-in: 3252f716e0 user: rolf tags: trunk
20:36
We don't have a 'provide expat' anymore, it's all tdom. Fixed a typo. check-in: 29140476fa user: rolf tags: trunk
2002-11-18
01:03
Fixed a typo. check-in: ac96399c2f user: rolf tags: trunk
00:44
See file. check-in: d08dacc8eb user: rolf tags: trunk
00:43
Better wording. check-in: 98a0311a68 user: rolf tags: trunk
2002-11-17
19:24
See file. check-in: 015219de3a user: rolf tags: trunk
19:23
Report error, if xsl:import elements not come first. check-in: ed88fecbb3 user: rolf tags: trunk
2002-11-16
14:28
See file. check-in: e089aa2964 user: rolf tags: trunk
14:25
A bit final tweaking for 0.7.5. check-in: af82543903 user: rolf tags: trunk
11:00
See file check-in: 646bc40a8b user: zoran tags: trunk
10:57
Added 8.0.5 compilation notes check-in: 27359722a2 user: zoran tags: trunk
10:53
Replaced "panic" with Tcl_Panic for 8.2+ since stubbed. Fixed some 8.0.5 compilation issues. check-in: 9f62a9d469 user: zoran tags: trunk
01:41
See file. check-in: beb79aeb31 user: rolf tags: trunk
01:36
Updated documentation. check-in: 64aecf24a6 user: rolf tags: trunk
01:31
Made test suite also running under tcl8.0.5. Added constraint to the tests, which uses i18n tcl features. check-in: 3bafc24e57 user: rolf tags: trunk
01:23
Fixed bugs, which only raised there head if compiled against tcl8.0.5. check-in: 0c4b1d5468 user: rolf tags: trunk
2002-11-15
19:39
See file check-in: f832de9a41 user: zoran tags: trunk
19:38
Added per-document deleted-nodes list. This list is used to collect nodes deleted from the document, but being referenced from some other threads/interpreters check-in: f1b90ac63a user: zoran tags: trunk
02:27
See file (still on the way to 0.7.5!) check-in: b6c44655ec user: rolf tags: trunk
02:23
Added simple debugging feature to tDOM::extRefHandler. check-in: 0007ec7503 user: rolf tags: trunk
02:20
Changed 'attributes' method to return the empty string als result for non element nodes, according to the DOM 2 rec, chapter "Interface Node". Fixed a seg fault in hasAttributeNS. Closed a mem leak in appendXML. check-in: 839d0457e4 user: rolf tags: trunk
02:05
Minor fix: added tcltest cleanup. check-in: 9ff66e5c34 user: rolf tags: trunk
02:03
Added some tests for as yet not covered dom methods. check-in: 5893e3edda user: rolf tags: trunk
2002-11-14
08:24
See file check-in: 99fadb9b9a user: zoran tags: trunk
08:21
Fixed uninitialized memory read (UMR) report. check-in: 0f5d43a14f user: zoran tags: trunk
2002-11-13
01:08
Updated to the new version nr and the lib name convention of the new TEA 2 build system. check-in: b1e475c1f8 user: rolf tags: trunk
01:08
See file (Where heading against 0.7.5, finally. This VC++ 6.0 makefiles still are hacks - for example, the link (hardcoded) against tcl8.3. But anyway.) check-in: 82361a8c83 user: rolf tags: trunk
01:03
Updated to the new version nr and the lib name convention of the new TEA 2 build system. check-in: 5b93a81fd6 user: rolf tags: trunk
2002-11-09
01:57
See file. check-in: 5f8092432d user: rolf tags: trunk
01:49
Minor changes. check-in: 811dadeb7e user: rolf tags: trunk
01:46
HTML serializer: No content escaping for the HTML tags script and style, according to XSLT rec 16.2. Fixed a memory problem during interp deletion. check-in: f95b2c528e user: rolf tags: trunk
2002-11-06
13:24
Fixed broken test target check-in: b353cce0c1 user: zoran tags: trunk
12:41
New file check-in: 678f7df00c user: rolf tags: trunk
2002-11-03
20:15
See file check-in: 5e01ac88a9 user: rolf tags: trunk
20:14
tDOM::xmlOpenFile fix for files < 4 Byte size. check-in: 1509c8ffdc user: rolf tags: trunk
14:36
See file. check-in: af8b78f125 user: rolf tags: trunk
14:32
Fixed ridiculously long runtime of certain // expr on certain documents. During analysis and testing, it turned out, that it would have been an even simpler approach, to simply expand the abbreviation // in the according productions. Though, the choosen implentation seems often to be (slightly) faster and is a start to collect experiences with early predicate evaluation. check-in: fde4487199 user: rolf tags: trunk
2002-11-01
22:56
See file check-in: 12d5e1b529 user: zoran tags: trunk
22:41
Added TCL_LD_SEARCH_FLAGS option when linking the tdom shell. This allows for simpler handling when used with dynamic linker. check-in: cd324d32d4 user: zoran tags: trunk
21:35
Fixed typo on line 328 (node->document >> node->ownerDocument) check-in: 4ebeecc376 user: zoran tags: trunk
21:27
See ChangesLog check-in: 577afd3a4f user: zoran tags: trunk
21:26
Removed traces of tdomhtml.tcl; it now lives in it's own extension. check-in: b3bbbbda5d user: zoran tags: trunk
21:19
Now part of a separate extension to tdom. check-in: 3029ae7379 user: zoran tags: trunk
21:14
Added new extension package "tdomhtml" instead of having the sole file somewhere in tdom lib area which needs to get loaded sperately. check-in: 283f266fb6 user: zoran tags: trunk
01:31
See file. check-in: d465e9d75b user: rolf tags: trunk
01:30
Fixed 'missing saperator' problem (using tab instead of white space). check-in: ff819c68ef user: rolf tags: trunk
01:06
See file. check-in: 5a4467abf2 user: rolf tags: trunk
01:06
Updated function-available, corrected ridiculous typo by my (element-avaliable -> element-available). Somewhat fixed and updated element-available. check-in: d47f560cbf user: rolf tags: trunk
00:47
See file. check-in: a038af3c6d user: rolf tags: trunk
00:44
Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). check-in: e27d352ceb user: rolf tags: trunk
00:38
Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). check-in: ed9663deb0 user: rolf tags: trunk
00:26
Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. check-in: 871af13bd5 user: rolf tags: trunk
2002-10-31
22:48
See file check-in: 89530e0423 user: zoran tags: trunk
22:42
See file check-in: 27c472246d user: zoran tags: trunk
22:42
Changed order of loads in the pkgIndex.tcl. First the C-module is loaded, followed by the tdom.tcl library file, followed by the tdomhtml.tcl library file. Thus, the tdomhtml.tcl has become the first class citizen. check-in: eaa186cfb0 user: zoran tags: trunk
22:41
Renamed version of domhtml.tcl file. Also did some simplification in html2tcl, renamed some internal private functions and added namespace-wide definitions of html command names. The _2tcl procedure now creates the missing elementNode commands as it parses the html code, on the fly. check-in: 07a217196b user: zoran tags: trunk
22:33
Does now "package require tdom" only, instead of "package provide". The "package provide" with a correct version is done by the C-module. Some cosmetic changes as well. check-in: b72b93595a user: zoran tags: trunk
20:30
Renamed to tdomhtml.tcl check-in: 2477aeb484 user: zoran tags: trunk
20:29
This is the older domhtml.tcl (was renamed to better suit pkgname) check-in: 399dbb8de0 user: zoran tags: trunk
20:20
See file check-in: b77fe437a9 user: zoran tags: trunk
11:53
Fixed problems reported by Oleg Oleinick via private mail. check-in: b44f6f216f user: rolf tags: trunk
11:49
Added a few tests for appendFromList. dom-14.1 documents the former seg fault bug in case of a wrong list format, reported by Oleg Oleinick. check-in: 49ba3aebe3 user: rolf tags: trunk
11:47
Fixed argument check of domObj method documentElement. Fixed domNode method appendFromList (wrong list format could result in seg fault). Thanks to Oleg Oleinick, for reporting both problems. check-in: a6cdb38efc user: rolf tags: trunk
07:55
Resolved CVS clashes check-in: 2064805b61 user: zoran tags: trunk
07:47
Added to contain "user-visible" changes, incopatiblities, etc. check-in: d9e8bb8760 user: zoran tags: trunk
00:42
Fruit of the regular memory checking (for the first time with valgrind; seems to be a good tool, I probably put the up to now used mpatrol by the side and eventually change to valgrind). check-in: a0583e6b34 user: rolf tags: trunk
00:31
Corrected text of an error msg. check-in: ab30ad2ee4 user: rolf tags: trunk
00:28
Fixed memory leak (in template clean up; introduced with the new template matching handling). check-in: 9771d8bef6 user: rolf tags: trunk
00:25
Fixed memory leak with preceding-sibling axes. Massaged rscopy code, to pacify memory debugger. Removed old (dead) code. check-in: a577ce8226 user: rolf tags: trunk
00:22
Fixed a possible invalid memory read. check-in: a94300e910 user: rolf tags: trunk
2002-10-30
17:13
Added proper cast to arguments passed to FREE() macro to avoid compiler barking at us check-in: 93918db222 user: zoran tags: trunk
15:54
node_usage and domObj_usage update. check-in: f6c9b37856 user: rolf tags: trunk
15:50
Added -escapeNonASCII and -htmlEntities also to node_usage and domObj_usage. check-in: 17581ec1e5 user: rolf tags: trunk
13:28
Added changes from 2002-10-29 und 2002-10-30. check-in: b881de2bd1 user: rolf tags: trunk
13:21
Updated to using domDoc xslt method, -escapeNonASCII for asXML and as HTML and additionally -htmlEntities for asHTML. check-in: b2942824ba user: rolf tags: trunk
00:56
Added a few minimal tests for -escapeNonASCII and -htmlEntities. check-in: c8870f601d user: rolf tags: trunk
00:53
Arrg. Removed now superfluous. check-in: 86784666a7 user: rolf tags: trunk
00:52
Preliminary update. check-in: 2893500445 user: rolf tags: trunk
00:43
Synced with current xml version. check-in: 5777f4feb7 user: rolf tags: trunk
00:42
Fixed documentation bug in the sample code for the -externalentitycommand optoin. check-in: 537f5e2fc8 user: rolf tags: trunk
00:40
Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Minor editorial changes. check-in: 8678b8d3aa user: rolf tags: trunk
00:38
Now actually documented the new -htmlEntities option of the asHTML method. check-in: cb973ba4e9 user: rolf tags: trunk
00:25
Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Documented new xslt method. Minor editorial changes. check-in: abb5e9c266 user: rolf tags: trunk
00:21
Documented new -returnNodeCmd option of the createNodeCmd method. Minor editorial changes. check-in: ebc96762ac user: rolf tags: trunk
00:00
Implemented "Forwards-Compatible Processing" (XSLT rec 2.5), with limitations: xsl:version attributes on literal result elements are not supported (well, we currently doesn't support any xsl:* attribute on lre). Implementation is together a small optimization for stylesheet with lots of included or imported stylesheets. Fixed a bug in the xslt XPath function format-number. XsltProcess now accepts also a domDoc. Improved the setting of the documentElement of the resultDoc. check-in: 6c93e4035d user: rolf tags: trunk
2002-10-29
23:44
Added -escapeNonASCII as option to the asXML and asHTML methods and -htmlEntities as option to the asHTML method. Added "xslt" method to domDoc commands. check-in: 3ec7beb84e user: rolf tags: trunk
23:36
Better error reporting in case of parsing errors in external entities. check-in: 2d8d929036 user: rolf tags: trunk
17:11
Added "-returnNodeCmd" option to "dom createNodeCmd". check-in: 49799dd247 user: zoran tags: trunk
11:16
Added this file check-in: 9d23357e70 user: zoran tags: trunk
2002-10-27
10:40
Editorial changes. check-in: a2099532cb user: zoran tags: trunk
10:31
Complete rewrite using "domNode appendFromScript" mechanism check-in: 575c686dfd user: zoran tags: trunk
2002-10-26
21:14
Small optimization: Set node tags once, while traversing the xslt trees for white space stipping and use later only the already set node->info tag, instead of calling getTag. check-in: 81c111c74c user: rolf tags: trunk
2002-10-25
01:07
Added simple helper procs: a simple externalentitycommand "tDOM::extRefHandler" and tDOM::baseURL. Editorial changes. check-in: 472555c9a9 user: rolf tags: trunk
01:04
Simplified the code a lot, using the new methods and tdom.tcl procs. check-in: ef7656d0a5 user: rolf tags: trunk
01:02
Introduced TESTFLAGS. check-in: 8866fb4843 user: rolf tags: trunk
01:00
Bug fix: Handling of external sources, accessed via xsl:import, xsl:include or document() could result in 'wrong' errors (or probably even crashes) in the case, the externalentitycommand returned the data as string, because the pointer to the string got to far invalid. check-in: 2545280ae2 user: rolf tags: trunk
2002-10-22
10:09
Resync with dom.xml check-in: df082ae194 user: rolf tags: trunk
06:45
Done some proof-reading. Corresponding dom.n and dom.html should be synced. check-in: 340239cc56 user: zoran tags: trunk
2002-10-20
15:57
Added new methods isName, isNCName, isQName and isCharData to the 'dom' command. check-in: 0e9f53dac9 user: rolf tags: trunk
15:53
Adjusted the size of the hash table for the known entities. check-in: c01edd680e user: rolf tags: trunk
15:50
Added new interface function domIsChar and some infrasturcture, needed for this. Fixed XML character class macros. check-in: 54810a31e1 user: rolf tags: trunk
15:45
Added new interface function domIsChar, which checks, if a given string consists of XML Chars. check-in: 6a3d82bc9c user: rolf tags: trunk
15:40
A few editorial changes and new tests. check-in: 080f877f0e user: rolf tags: trunk
15:39
Moved some dom command related tests to the new domCmd.test. check-in: 3072a8047f user: rolf tags: trunk
15:37
Added for dom command related tests. Moved some tests from dom.test; added tests for isName, isNCName, isQName and isCharData. check-in: 8a1da0c24b user: rolf tags: trunk
15:35
Added documentation for the new methods isName, isNCName, isQName and isCharData. Added a bit documentation for the createNodeCmd method (should be proove readed by Zoran). Added information about the limitations of the simple parser. Some editorial changes. check-in: e0224d942a user: rolf tags: trunk
2002-10-17
00:30
Fixed a bug in key handling: Empty node sets are not "" (the empty string) neither in the key data build nor the key() functions, but simply no value. Removed a superfluous strcpy. Since the key() implementing function uses rsAddNode (which is fixed, in between and now hopefully in deed work as expected), there's no need to sort the result node set. The fix of rsAddNode disclosed, that a part of the numbering code relied on the wrong behavior of rsAddNode (well, since I knew, throu hand checking, the right results of really a couple of test cases, what the right result should be, it seems, I massaged the code as long, until it gave the expected result, discarding all doubts, why this is this obvious wired way at this place - I'm obviously a weak human). Fixed this. Unfortunately, the old way may be way more faster, for lot's of numbering in deep documents. There may be optimization potential for this cases, yet again, but I have first to thing about, if it's really work in all cases. Exchanged a few rsAddNode with rsAddNodeFast, which is almost pointless in this cases. There're a lot of cases, in which a node is added to a freshly initialized nodeset. The adding of this node to a emtpy nodeset could be inlined, for a (real small, according to my profiling) effect. But I pushed tDOM more than 10 percent over all in the xsltmark, and made it at least more than double as fast as before for bigger docbook documents in the last week; I omit this fishing for lesser then a percent speed up for now. check-in: 6e6741bad7 user: rolf tags: trunk
00:07
Removed bogus code (which may not harm compliance, but speed in a few cases). check-in: 051984cb16 user: rolf tags: trunk
2002-10-16
21:59
Bug fix in rsAddNode: if the node to insert into the nodeset was befor all the nodes, already in the nodeset, the new node was inserted at the end. Now, it's correctly inserted as first node. check-in: c4edde30c3 user: rolf tags: trunk
11:44
If sourced from tcldomsh, ensure, that the tdom script lib is also loaded. check-in: f367501255 user: rolf tags: trunk
00:12
Added docObj methods asXML and asHTML. check-in: 51ccedf49c user: rolf tags: trunk
00:08
Minor bugfix for attribute creation. check-in: 587edc41f2 user: rolf tags: trunk
00:05
A few documentation updates check-in: a7870ef616 user: rolf tags: trunk
2002-10-15
12:27
Removed some old defines check-in: 976ea89d00 user: zoran tags: trunk
2002-10-14
23:56
A few minor (and mostly not even notable) optimizations, partly of dubious value. At least the improved match pattern predicates optimizations point to the right direction (and are real winner for some stylesheets and real big input data), even if this hole predicate optimization business should reworked to a more general solution, instead of the current 'handle some common cases and try to be on the secure side for all other' approach. check-in: b1dc4a4d34 user: rolf tags: trunk
2002-10-13
00:54
Minimal code tweaking, needed for VC++ 6.0 build. check-in: 4a8cfb7247 user: rolf tags: trunk
00:08
Updated to the new build system. check-in: fd09eaa553 user: rolf tags: trunk
00:02
Made format-number() i18n aware (for Tcl >= 8.1). Together with that reworked format-number a bit and fixed some bugs. This format-number thingy is definitely one of the more annoying parts of the XSLT rec. Such a functionality is undoubted important, but it was a bad idea, to specify it with a reference to a Java 1.1 class. Well, the Java folks don't care, they just use this class (I assume). But what the link to the Java 1.1 doc out of the spec gives, is far away from a complete description of the required behavior (at least for an implementor). The Java books (at least, to one, I saw) are not of any help; typically they provide even lesser info. Kay, in contrary, does provide a bit additional info in his XSLT Programmer's Reference, but unfortunately let also some questions open. Therefor the only way in some cases is, to study the output of the java engines and to try to understand there formating rules. check-in: f4771d1e04 user: rolf tags: trunk
2002-10-11
22:02
Removed unuse astType type 'Str'. check-in: 37983a92fc user: rolf tags: trunk
2002-10-09
22:51
CONSTyfied tnc. check-in: 1cc88b03f7 user: rolf tags: trunk
20:22
Update to expat-1.95.5. check-in: 203c9d7cbd user: rolf tags: trunk
20:17
New file in expat-1.95.5. check-in: 91d3c0816f user: rolf tags: trunk
01:41
As in r1.50 presumed, there's always more to do with resultset. Now, I hope, I got it somewhat finaly right (and fixed a few bugs, which just wasn't triggered by the tests up now). We expect at several points, that every result set is given in document order. Now, rsAddNode takes care, that this is in deed the case. (Experience shows, that it is seldom needed, to insert a node into the set; in almost all all day cases, the node must simply appended to the result set.) Removed the nowhere used step type "Str". Fixed the steppattern optimization code. Removed some dead code. check-in: a5019185cc user: rolf tags: trunk
01:19
Mostly some optimization work. Depending on what you do a debatable one. There's a small group of stylesheets, that are perceptible slowed down by this chances. Bitten are really small stylesheets with only a few templates. An example would be the classical identity.xsl, given already in the XSLT rec and in a variation in the xsltmark test suite, which has only one template. The identity.xsl stylesheet out of xsltmark for example is slowed down around 20 Percent. Which is probably a very extreme example. Such extremly simple XSLT stylesheets are uncommon in daily practice. Due to already present small positiv effects, the overall result of the xsltmark is lightly improved. The point of this changes is to improve the finding of the matching template. Additional to the already metioned penalty for stylesheets with only a few templates there is another penalty for the needed additional analyzing and preparation work, during the initial XSLT stylesheet data processing. This additional work is needed once, and pays back relatively fast. The transformation of very small docbook documents (for which the size of the document is much smaller then the sum of the docbook xslt stylesheets) will be slowed down by around 25 percent (but due to the fast parser and DOM parts and the over all still slim XSLT overhead, we're still around double as fast as any other OS solutions, I'm aware off). The more templates the XSLT stylesheet has and as bigger the document is, the more important are normaly this optimizations. For example they more than halves the processing time for a nearly 2 MByte docbook document. The changes also includes a fix for a very old problem. Now the priority of a match, which contains alternatives (something like match="a|b|node()") is determined for each alternative separately. check-in: 78b1dcdc6e user: rolf tags: trunk
00:26
MutationEvent() is a define, that currently is replaced to a noop by the preprocessor. They are a preparation for DOM 2 events. There isn't a callback to tcl level for them, up to now, but Jochen claims, that they are at the according places. Removed a erroneous MutationEvent(), inserted by me. check-in: 3f4740e079 user: rolf tags: trunk
2002-10-02
00:14
Better memory clean up in case of erroneous XPath expression. check-in: cee5915867 user: rolf tags: trunk
2002-10-01
12:28
Checks if we are in the correct platform directory when doing configure check-in: e8db0b1af9 user: zoran tags: trunk
11:02
"make test" target fixes environment for doing package test before actual "make install" check-in: 6ec76aea49 user: zoran tags: trunk
11:01
Just bare-bones loader; now works with "make test" as well check-in: 0578b383a6 user: zoran tags: trunk
11:00
Removed traces to old tdom loader check-in: 1be5bdd642 user: zoran tags: trunk
11:00
Added RCS string to comment check-in: e66725042a user: zoran tags: trunk
10:07
Resolved TCL_DBGX in tdomConfig.sh instead of propagating the original Tcl value. This makes like simpler for tdom extensions. check-in: 4de5447229 user: zoran tags: trunk
07:56
Relaxed rules for specifying key/value pairs to nodecmd. We now allow both "-key" and "key" specifications. check-in: 9b7a6d8de2 user: zoran tags: trunk
2002-09-30
23:27
Added a few tests of moving namespaced nodes from one tree to another. check-in: 2769a45244 user: rolf tags: trunk
23:26
Adjusted tests to the changed behavior of getElementsByTagName. Added more tests for getElementsByTagNameNS. Added a few tests for cloneNode method. Tests for setting multiple attributes at once. Added a few tests for appendFromScript. check-in: 64e35793a3 user: rolf tags: trunk
23:17
Changed getElementsByTagName behavior again. Now it inspects every node, namespaced or not (of course only looking at the tagname). This should be according to the DOM rec. Bug fix fpr getElementsByTagNameNS if uri is "" (no namespace). check-in: 69fa7aee8e user: rolf tags: trunk
23:12
Implemented optional flag -disableOutputEscaping for TEXT_NODE creating nodeCmds inside appendFromScript scripts. Minor bug fix: now errorInfo is returned, in case of script errors inside a appendFromScript script. Editorial change: removed the log info, as in all other source files. check-in: 9b3f2ced93 user: rolf tags: trunk
23:08
Make moving namespaced nodes and attributes from one tree to another work. This is not allowed by the DOM rec, but it always worked intentional for not namespaced subtrees, because it's pretty handy in some cases. Additional, if subtrees are moved around in one document, namespace declarations are inserted, if necessary, to make the result a namespace correct result. Again, this does not follow the letters of the DOM rec, which requests, that the application is responsible for this. But it's much more convenient (at least for the application programmer), if the DOM layer takes care about this. If someone really insist in messing up namespace declarations, it still has any chance to do this with changing or removing namespace declaration attributes. check-in: e95a142242 user: rolf tags: trunk
2002-09-28
17:29
Fixed broken test 11.6. check-in: 81a93a0e3b user: rolf tags: trunk
00:44
Added a few tests for the ne domNode method disableOutputEscaping. check-in: 4e816d173a user: rolf tags: trunk
00:42
Added documentation for the new domNode method disableOutputEscaping. check-in: e888f5e0bc user: rolf tags: trunk
00:40
Added new domNode method disableOutputEscaping. check-in: 4573670b04 user: rolf tags: trunk
2002-09-27
20:44
Added documentation for setStoreLineColumn check-in: dde8a0bf1b user: rolf tags: trunk
20:37
Lots of minor updates and minor fixes. check-in: 5f24880800 user: rolf tags: trunk
20:35
More tests. Especially new tests, that tests the setting of multiple attributes with one setAttribute call (was not working for more than 4 attrName attrValue pairs). check-in: 8e10d54b19 user: rolf tags: trunk
20:28
A lot of miner bug fixing of the domNode cmd. Now setAttribute could be used with arbitrary pairs of attrName Value. SetAttributeNS now also allows arbitrary triples of uri attrName Value as args. The @attr shortcut does not make sense for PROCESSING_INSTRUCTION_NODEs. SetAttributes requires now at least one attrName Value pair. Added args checks for several methods. NodeValue now works (according to the DOM rec) also for COMMENT_NODEs and PROCESSING_INSTRUCTION_NODEs. check-in: fcb04c3d83 user: rolf tags: trunk
14:11
Changed asHTML serialization. Up to now, CDATA nodes are simply ignored. OK, HTML doesn't have CDATA sections. But since the CDATA nodes are content of the document, they are now simply serialized to text (with the necessary escaping). check-in: 94d42f1d9c user: rolf tags: trunk
2002-09-20
01:52
Changed the handling of call-template. Up to now the complete list of templates was scanned to find the requested named template. The hole list must be scanned, because it is possible, that different templates have the same name but different precedence. Now the template with the highest precedence for a given name is dectected at 'startup' and stored in a tcl hash table (prefixed with the namespace, if present). The lookup of a named template now has more or less 'constant' execution time costs, throu the lookup in the tcl hash table. This is probably a small slow down for short XSLT stylesheets with only a few templates but is somewhat important for stylesheets with a lot of templates (as the docbook stylesheets). check-in: 1d45960b0d user: rolf tags: trunk
2002-09-18
22:07
Further tinkering with rsAddNode, which is most of the problem, that heftix has reported (http://groups.yahoo.com/group/tdom/message/273). This changes are probably not the hole story, but this version passes all my standard tests. check-in: 877829fd76 user: rolf tags: trunk
2002-09-14
16:00
Fixed the tcldom_docTrace prototype (CONSTYfing). check-in: e4366dc400 user: rolf tags: trunk
2002-09-12
17:13
Fixed problem with appendChild and node crossing doc boundaries for MT-builds. Thanks to Harray Moreau for the patch. check-in: 29057ac4f2 user: zoran tags: trunk
2002-09-11
15:28
Fixed document teardown problem when compiled with threads. Thanks to Harry Moreau for the report. check-in: 49d0197ac3 user: zoran tags: trunk
2002-09-10
13:55
Added tests, which documents bug reported in http://groups.yahoo.com/group/tdom/message/240 (and the fix). check-in: e4b54425b6 user: rolf tags: trunk
13:51
Fix for seg fault, if somebody provides an erroneous XPath (something $node selectNodes {*[1}). Bug reported by "Bart Teeuwisse" <bart-yahoo@7-sisters.com>. Now, returns sensible error msg. check-in: 2e36e10845 user: rolf tags: trunk
13:47
Code change to pacify gcc -Wall. check-in: e497d3576f user: rolf tags: trunk
2002-09-08
20:12
mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. CONSTyfied tcldom_docTrace() and tcldom_nodeTrace(). check-in: 1e9eb8feaf user: rolf tags: trunk
20:10
mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. check-in: 1f8a0f0d11 user: rolf tags: trunk
18:21
Added a test. check-in: 0379bd8d82 user: rolf tags: trunk
2002-09-07
16:26
Editorial change. check-in: 6998863dc4 user: rolf tags: trunk
16:25
Fixed the sorting by doc order for nodesets, which includes attribute nodes. check-in: 33833391a2 user: rolf tags: trunk
2002-09-06
21:20
Fix. check-in: 711bc77d57 user: rolf tags: trunk
2002-09-03
21:00
Improved the error msg, if an unknown XPath function was called: now return also, which function is unknown. check-in: 53688c2c65 user: rolf tags: trunk
2002-09-01
00:14
Initial check in. check-in: f8700bbb5a user: rolf tags: trunk
00:11
Added check to domFreeNode() is needed under some circumstances while using the tdom command. Initialised a var in setDomDocumnet, to pacify -Wall. Fixed docNode handling of the tdom command. check-in: bc0742b883 user: rolf tags: trunk
00:07
Removed unused var. check-in: d08c40ed32 user: rolf tags: trunk
00:05
Fixed a couple of bugs related too the usage of multiple tcl scripted handler sets and the tdom command. See stackedhdl.test. check-in: 399d6e7a5b user: rolf tags: trunk
2002-08-31
18:48
Added cleanup of the already builded DOM tree in case of an XML parse error. Fixed the completely broken tdom command (r1.20 removed the "return TCL_OK" at the end of the case's, instead of replacing them with "break".) This means, the tdom command is broken in 0.7.4! check-in: 850c8fd9f2 user: rolf tags: trunk
2002-08-20
23:50
If a tcl coded XPath function returs nodes, we have to sort the result set, because we haven't any guaranty from where in the tree this nodes are and we always asume the resultset to be in doc order.

Tcl_DecrRefCount(Tcl_GetObjResult(interp)) seems to have fooled the interp. With it, test xpath-4.9 seg faults. check-in: 4a61df19da user: rolf tags: trunk

23:44
The new 1.95-4 needs expat_config.h. check-in: ab838fca4d user: rolf tags: trunk
23:43
Was needed by expat 1.95.1. The new 1.95-4 has renamed this to expat_config.h. check-in: 119e5ceddb user: rolf tags: trunk
23:41
Editorial/typo fixes. check-in: 999508dd49 user: rolf tags: trunk
23:39
Added a few tests for Tcl coded XPath functions. check-in: a551b99b29 user: rolf tags: trunk
23:34
Added BYTEORDER define needed by expat 1.95-4. check-in: 6027fd23d1 user: rolf tags: trunk
23:29
m4 macros for byte order check. It's out ouf the expat 1.95-4 distribution (with small modification). check-in: 4a032d3921 user: rolf tags: trunk
23:26
Added check for byte order. Define needed by expat 1.95-4. check-in: 50ccf9f14e user: rolf tags: trunk
23:24
Update from expat 1.95.1 to 1.95.4. check-in: d14d944e90 user: rolf tags: trunk
23:23
Not valid any more, because of the change from expat 1.95.1 to 1.95.4. (I wonder, what it was in the first place.) check-in: 552e8be473 user: rolf tags: trunk
2002-08-19
00:33
Bug fix: for every node type other than element nodes the type given to a tcl coded extension function was "attrnodes", which was cleary wrong for text nodes etc. Added error msg, if the result type of the tcl coded XPath function was not known. check-in: 3636f23b8c user: rolf tags: trunk
00:27
Package version bumped to 0.2. check-in: 745b6729b7 user: rolf tags: trunk
00:26
Small opitimization: Now we store the Attribute informatation for an element direct in the TNC_Content structure, and don't look them up every time, they are needed any more. Package version bumped to 0.2. check-in: f5b11e7270 user: rolf tags: trunk
00:23
Completely new build stuff, following the lines of TEA 2 and building on the great groundwork of Zoran. check-in: 215772d6dc user: rolf tags: trunk
00:20
Not longer needed for the new build stuff. check-in: b04dc7e8af user: rolf tags: trunk
2002-08-09
00:41
More getElementsByTagName and getElementsByTagNameNS Fixes: it worked on the descendant-or-self axes, now works on descendant axis. Special handling of namespace ""; this now the same as getElementsByTagName. getElementsByTagName does not return any element, that is in a namespace. Plus editorial change. check-in: cc052ed3ac user: rolf tags: trunk
00:34
More getElementsByTagName and getElementsByTagNameNS tests. check-in: 026953d29f user: rolf tags: trunk
2002-08-07
22:38
Fixed problems, if there are was no -baseurl given while parsing the stylesheet document. check-in: 7d087beae7 user: rolf tags: trunk
2002-08-06
02:35
Added doc for new method getElementsByTagNameNS check-in: b086ab2cc1 user: rolf tags: trunk
02:35
getElementsByTagNameNS: made clear, that the user have to give uri and localname. check-in: 72641c4794 user: rolf tags: trunk
02:27
Added a few tests for getElementsByTagName and getElementsByTagNameNS (we need more!). check-in: ec10501831 user: rolf tags: trunk
02:26
Changed the ref handler so, that absolute urls under w32 (file://C:/...) also work. check-in: 1f7c74236a user: rolf tags: trunk
02:23
Editorial change: Removed the log out of the file header. check-in: 44551d1078 user: rolf tags: trunk
02:22
Changed the version number to 0.7.5 check-in: c2d843993a user: rolf tags: trunk
02:21
Fixed the getElementsByTagNameNS node method, which was not standard compliant, incomplete and broken in several ways. Added a getElementsByTagNameNS method to the doc interface, according DOM 2. Added a few arg checks to methods. check-in: 83a955723a user: rolf tags: trunk
02:17
Fix in domLookupNamespace(). doc->nsptr points to the last used namespace. It is initialized with -1. There for the new <= is right and secure. check-in: 4e160a0dad user: rolf tags: trunk
2002-08-05
00:15
Bumped the 'little help' by Zoran an me to the more realistic 'major contributions'. Added a few things to the features list and w2k to the platforms list. check-in: 1491270150 user: rolf tags: trunk
2002-08-04
23:49
Add the 'build-in' namespace prefix "xml" also for documents parsed with the simple parser. check-in: ae0c6f4b12 user: rolf tags: trunk
23:47
Fix for the format-number() code. Fix for the notorious (notorious what? - Hm, to complicated, to slow) variable/parameter handling. In cases like <xsl:call-template name="PrintNSPrefix"> <xsl:with-param name="prefix"> <xsl:call-template name="GetElementPrefix"> <xsl:with-param name="element" select="$element"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> ie we call a template with a parameter, which setting template calls another template, there was a var scope problem. Code to handle differences between node and attrnode structures at a few places. check-in: 88aeb96b3f user: rolf tags: trunk
23:35
Bugfix for absolute path starting with full qualified elementname. Notorious Problem: the attribute nodes structure is substantial different from the node structure - no ownerDocument pointer, parent node pointer at different place. This means type check at all places, where the context node could also be an ATTRIBUTE_NODE. This is already done at, well, as this example shows shows, almost all places. Now it's also done for selectRoot. Minor editorial changes. check-in: 12bab8d699 user: rolf tags: trunk
23:27
domCreateXMLNamespaceNode() is now also used by xmlsimple. Editorial change: removed the cvs log, as in the other files. check-in: 1f6a4c4f40 user: rolf tags: trunk
23:23
Fixed handling of the 'build-in' namespace prefix "xml". check-in: 1541e67085 user: rolf tags: trunk
2002-08-03
20:54
Fixed clean files (added the tdomConfig.sh to the list) check-in: 8d8d823606 user: zoran tags: trunk
20:53
Added definitions for generating entries in the config file. check-in: 1cd97562f4 user: zoran tags: trunk
20:52
First import. Used for extensions building check-in: b42d6e52ff user: zoran tags: trunk
20:51
Added some targets for locating and loading the config file. check-in: aa0bf0d9a0 user: zoran tags: trunk
2002-08-02
21:20
Shouldn't this actually be the Mozzila license? check-in: bd3a38e641 user: zoran tags: trunk
21:19
Added this file. It references the MPL 1.1 so we might add this one also. check-in: f4eea6df9d user: zoran tags: trunk
21:19
Added the *bare bones* README. check-in: 4204a31929 user: zoran tags: trunk
19:09
Added tests for memmove and bcopy early in the configuration sequence. check-in: 0689db8101 user: zoran tags: trunk
2002-07-29
21:58
Changed a few remining isnan to IS_NAN. check-in: ce90ca7c2b user: rolf tags: trunk
16:01
Uses normal Tcl allocator for aolserver check-in: eb1fda13df user: zoran tags: trunk
2002-07-28
23:22
Moved external files used by some tests from tests/ to tests/data. check-in: 7bdad16ac2 user: rolf tags: trunk
17:28
Updated the [package provide tdom <version>] to the patch level given by the configure. check-in: 871000ae8d user: rolf tags: trunk
17:20
New versions of the man pages, generated with the -soelim option enabled (that means, the man.macros are not included with .so man.macros, but in deed included in every man page, as the tcl core man pages also do, because of some problems at some systems with the .so directive). check-in: 0cbcc81d53 user: rolf tags: trunk
17:17
Removed, because this file is not needed to build the man pages with the standard tmml tools and since the man pages are now build with -soelim, the man pages even don't need man.macros (so .so of them anymore). check-in: 4731c5683f user: rolf tags: trunk
17:14
Removed footer.xml and index-chars.xml. They are not needed, if the HTML doc is build with the standard tmml tools. check-in: e3812f2935 user: rolf tags: trunk
08:43
Fixed reference to old expat directory check-in: 8b287177a8 user: zoran tags: trunk
08:32
Moved here for the TEA builds check-in: 1524fd9d1a user: zoran tags: trunk
08:27
Moved to new memory allocation macros. check-in: 6eb6a47711 user: zoran tags: trunk
08:15
Added for new TEA build check-in: d6a65d5b13 user: zoran tags: trunk
08:13
Now moved to the ../expat directory check-in: f0cb3c6ac0 user: zoran tags: trunk
08:11
Now moved to ../expat directory check-in: da3ad62e7d user: zoran tags: trunk
08:10
Added. Content is the expat version used. check-in: 6983356974 user: zoran tags: trunk
08:09
Files from the expat-* directory should now live under the "expat" since this eases build scenarios. check-in: 416ed0f90d user: zoran tags: trunk
08:06
Removed in preparation for new TEA build. Some files are now moved to the source dir, some to tclconfig. check-in: c1325838b3 user: zoran tags: trunk
08:04
Added new TEA build check-in: ae05a9d2c2 user: zoran tags: trunk
2002-07-25
00:47
Closed a memory leak, if the data to parse turns out to not be well-formed XML. check-in: e81a5db4b2 user: rolf tags: trunk
2002-07-22
13:28
Added the "-soelim" option, so that the created man pages inlcudes the man.macros (and not per .so command). That's necessary, to display the man page correct on certain systems. Introduces the problem, that processing the TMML doc requires the soelim tool. Since this more or less matters only the maintainer and the developers, that's regarded as a minor problem. check-in: 246e713d28 user: rolf tags: trunk
2002-07-19
14:58
Removed excess CR's since it is confusing the suncc check-in: 1855514489 user: zoran tags: trunk
2002-07-17
15:01
Corrected strange constructs [$doc documentElement $doc]. (Problem found bei Zoran.) check-in: 83d8ed76cc user: rolf tags: trunk
01:44
Fixed some memory problems (which could result to seg fault, for invalid documents, because after detection of the validation error some structures would have been not filled, as expected by free proc. Got rid of the ridiculously zero/one pointers. Start overhaul of the hole thing. check-in: 289784d373 user: rolf tags: trunk
01:34
Closed a small memory leak. check-in: 481bc0be4b user: rolf tags: trunk
01:34
Fixed both a memory leak and seg fault problem (depending on circumstances). check-in: f8d7ad35d7 user: rolf tags: trunk
01:31
Initializing xs.stripInfo.hasData and xs.preserveInfo.data avoids unnecessary traversal of the XML sources (if no white space must be stripped) check-in: ca7eb95e35 user: rolf tags: trunk
01:28
Fixed opaque memory allocation. check-in: 0ae5ead236 user: rolf tags: trunk
2002-07-14
14:41
Removed the free'ing of the element content modes, returned by expat. They are now free'ed in tclexpat.c. check-in: 2eb1aee07c user: rolf tags: trunk
07:07
Was including WRONG stub file (should test more before commit!) check-in: b7613f9f1e user: zoran tags: trunk
07:02
Revert to standard Tcl_Alloc/Tcl_Free for AOLserver builds. This is because those are redierected to AOLserver own memory management functions which are better suited for MT operation check-in: 6fc22941f1 user: zoran tags: trunk
07:00
Added small comment describing what aolstub.cpp does. check-in: 1016ea7901 user: zoran tags: trunk
06:59
Loads the stub only inf NOT compiled within the tdomtdp extension check-in: 32397fe9f1 user: zoran tags: trunk
06:20
Changed order of loading h files (dom.h comes before domalloc.h) check-in: 274aaa63df user: zoran tags: trunk
2002-07-12
17:19
Fixed some typos. check-in: 1df636f8dd user: rolf tags: trunk
2002-07-11
23:37
A few more tests for setAttributeNS check-in: bb2be003a5 user: rolf tags: trunk
23:35
First short instructions, how to create HTML files and man pages from the TMML documentation. check-in: 213b5ccd1b user: rolf tags: trunk
23:09
Enhanced the setAttributeNS documentation. (Hopefully) clearyfied the other *AttributeNS methods check-in: 3226478015 user: rolf tags: trunk
23:07
Initial commit check-in: beb9fcfc8c user: rolf tags: trunk
23:06
Initial commit of the dtd of the tmml files. Handy, to have it in the doc dir, for validation. check-in: 7e9e1e12d5 user: rolf tags: trunk
21:31
Added a test for the new HTML entities. check-in: 355e36034a user: rolf tags: trunk
21:31
Corrected "yacute" entity (\335) to "Yacute". Added all HTML entites known by XHTML 1.0 (see http://www.w3.org/TR/2000/REC-xhtml1-20000126/#dtds A.2 Entity Sets.) check-in: 6d4b7b7e9c user: rolf tags: trunk
06:56
First import. check-in: a7bb097f96 user: zoran tags: trunk
06:40
Updated AppendResult macro (was broken by the previous checkin check-in: 41b20aaa8d user: zoran tags: trunk
05:10
Fixed SetResult (and friends) again: previous change did forget to set the interp result after copying the (shared) object. Huh! check-in: f805904693 user: zoran tags: trunk
01:25
Fixed character entity handling for tcl >= 8.1. Fix for documents, that only have a documentElement "<doc/>" - there was not rootNode added for this documents. check-in: cafc0dd27c user: rolf tags: trunk
01:22
Fix for setAttributeNS check-in: a4afd7f729 user: rolf tags: trunk
01:14
Optimization for xpath expr of the form 'foo[1]' or 'foo[position() < 3]': build the result node set only up to the point, needed for the filter predicate. check-in: da21eba74d user: rolf tags: trunk
01:08
Fixed handling of character entities for tcl >= 8.1 check-in: 70b8ed2449 user: rolf tags: trunk
01:00
Fix for setAttributeNS: Added more tests of the arguments check-in: c862db14a7 user: rolf tags: trunk
00:54
Added tests for method setAttributeNS check-in: 4788565b3a user: rolf tags: trunk
00:53
Started a test file for the HTML parser check-in: ce1970c310 user: rolf tags: trunk
00:52
Started a test file for the simple parser check-in: 33bbc21f67 user: rolf tags: trunk
2002-07-10
16:38
Fixed macros fiddling with object result: now they properly check if the object in the interp result is shared or not and do a proper object duplicate before changing the value. check-in: ce2fe80370 user: zoran tags: trunk
03:19
Reset interp result in nodecmd_appendFromScript to leave the clean object rep because tcldom.c SetResult and friends macros fail to check the object found in interp result for being shared (or not) check-in: 277ce9b1b7 user: zoran tags: trunk
2002-07-07
21:15
Added NaN/Infinity handling related tests. check-in: 3348afa16c user: rolf tags: trunk
21:12
More changes and fixes related to the NaN/Infinity problem. check-in: 936b72d814 user: rolf tags: trunk
2002-07-05
12:18
Changed handling of nan/inf/-inf. Should now work on a wide(r) range of plattforms and (hopefully) not any more a build problem. check-in: d04dfd3362 user: rolf tags: trunk
2002-07-04
15:06
fixed reference to unsigned* to char since Sun compiler barfs at it. check-in: e48709c4b3 user: zoran tags: trunk
12:32
Removed a not reached return NULL to satisfy (picky) Sun compiler. check-in: c82a4bbb4f user: rolf tags: trunk
11:28
Changed some switch logic to satisfy (picky) Sun compiler. check-in: 895fec6100 user: zoran tags: trunk
2002-07-03
13:47
Cosmetic changes, to pacify some compilers (compile warnings). check-in: 791f0f1c94 user: rolf tags: trunk
10:12
Fixed conditional for Sun compilation; now properly checks both __sun__ and __sun to satisfy both GCC and Sun's own compiler. check-in: ee41562449 user: zoran tags: trunk
10:11
Added some comments so one could better understand the output of the Sun's compiler; most notably lines of code never reached. check-in: 3dd7939827 user: zoran tags: trunk
10:10
Removed spurious ctrl-m; heh, windows users ... check-in: f6aae9285b user: zoran tags: trunk
2002-07-02
22:52
Fixed a compilation error on AIX. check-in: e8d68632ba user: rolf tags: trunk
20:20
Added test, that documents the childAppend bug (and that it's fixed). check-in: a0b24cf429 user: rolf tags: trunk
19:25
Fixed references to CONS'ified Tcl API (8.4 and later) Also, fixed (disappeared) NODE_NO references which broke the threaded build (mainly in the dom.c) check-in: cf121768d4 user: zoran tags: trunk
07:06
Fixed some make/compile problems (reported by Larry Virden) check-in: b39c6efc96 user: loewerj tags: trunk
2002-06-26
17:39
Fixed `make install` and pkgIndex.tcl. check-in: ddd751a059 user: rolf tags: trunk
2002-06-25
23:35
Re-added the improved reuse of namespace indexes, that was removed by mistake with the previous commit. check-in: 4f4e1b94f3 user: rolf tags: trunk
13:06
fixed ugly appendChild bug. check-in: 70a1200332 user: loewerj tags: trunk
2002-06-24
15:19
Bug Fix in error handling code. check-in: c8e83afb83 user: rolf tags: trunk
2002-06-23
20:51
new enhancements for better robust parsing check-in: c632e9437a user: loewerj tags: trunk
20:49
fixed problem when parsing single tag check-in: 7547293c07 user: loewerj tags: trunk
08:36
Made -DTDOM_NO_UNKNOWN_CMD the default. check-in: c6d2cbfa28 user: rolf tags: trunk
00:25
Removed tclDummyMathPtr. Not needed since tcl7.6, and would break build with upcomming tcl8.4. check-in: 42237afcd2 user: rolf tags: trunk
00:23
Made -DTDOM_NO_UNKNOWN_CMD the default. check-in: 6e10b49cd5 user: rolf tags: trunk
00:21
Made simple parser -baseurl and -externalentitycommand aware. check-in: ce6236ad2e user: rolf tags: trunk
00:20
Made simple parser namespace awareness work. Made simple parser -baseurl and -externalentitycommand aware. check-in: f39edd49bb user: rolf tags: trunk
00:16
Changed findBaseURI(), that it works also with the now -baseurl aware simple parser. Removed dom -ns option, which was senseless since some time and even would break anything, if used, because DOM keeps track on namespaces by it's own. (-ns even wasn't documented.) check-in: b790da375b user: rolf tags: trunk
00:11
Minor bug fix. check-in: 68a83dd4ee user: rolf tags: trunk
00:05
Improved reuse of namespace indexes. check-in: 10e1e38aa0 user: rolf tags: trunk
2002-06-21
10:38
Fixed node numbering to use document-private node-counter when compiled with -DTCL_THREADS. Node Tcl-command names are still defined in the usual fashion, by using the (unsigned int)(domNode*) in order to get unique command names within the process and accross thread/interp combi. check-in: 621b16c214 user: zoran tags: trunk
09:52
Added a importand missing break. check-in: cdc2797d0e user: rolf tags: trunk
2002-06-20
19:16
Re-inserted a varaible declaration needed for tcl >= 8.1 (compile error) check-in: e6be684d82 user: rolf tags: trunk
13:15
fixed compile warnings check-in: ee0db9b972 user: loewerj tags: trunk
13:14
fixed compile warnings check-in: 1a2378d93d user: loewerj tags: trunk
12:58
fixed compile warnings check-in: 2ea744e7bd user: loewerj tags: trunk
12:23
made namespace aware check-in: c0f5ca15e9 user: loewerj tags: trunk
12:22
fixed Tcl8.0.x compile problems check-in: d88f8c6893 user: loewerj tags: trunk
12:21
fixed typo (Tcl8.0.x compile problem) check-in: 243441d7da user: loewerj tags: trunk
12:20
fixed formatting check-in: d7cf9c525f user: loewerj tags: trunk
12:18
fixed indentation check-in: bf4ffaa595 user: loewerj tags: trunk
2002-06-19
23:55
Updated to the newest version from tmml head. check-in: e3de7b186c user: rolf tags: trunk
2002-06-14
23:48
Added documentation for new -parameters option for the xslt method. Fixed @attrName option. Bit cleanup. check-in: 99d0ac424e user: rolf tags: trunk
22:59
Added tests for setting FQ top-level parameters via the -parameter option. check-in: 193a375003 user: rolf tags: trunk
22:54
Now, if templates are called with with-params, for which they haven't a parameter, this with-params are ignored, as the spec requests. (Up to now the where wrongly visible.) Made FQ top-level params settable via the xslt -parameter option. Minor bug fix in numbering code. check-in: 07cd6b0eca user: rolf tags: trunk
2002-06-10
01:03
Mainly made xsl:decimal-format/format-number() somewhat work (no user defined per-mille sign at all (and no detetection even of the default per-mille special char for tcl8.0 users) and only 7 bit ASCII chars for all other special chars, but at least that seems to work, with changed default decimal-format and named decimal-formats and namespaced decimal-formats and such bells and whistles. check-in: 03f1a66395 user: rolf tags: trunk
01:02
Closed a few memory leaks. check-in: 4c0c694345 user: rolf tags: trunk
01:02
Namespace handling fix. check-in: c38384c9fa user: rolf tags: trunk
2002-06-07
08:51
Fixed memory leak in domFreeNode check-in: 09eb27be69 user: zoran tags: trunk
2002-06-06
11:27
Fixed a bug (typo) check-in: 000ea73aae user: rolf tags: trunk
2002-06-03
18:59
Fixed missing reference count on extResolver object in domReadDocument. check-in: 99bd7aa3a8 user: zoran tags: trunk
2002-06-02
06:37
Added domlock.obj check-in: 2d478cb11e user: zoran tags: trunk
06:36
Added thread safety with capability of sharing DOM trees between threads and ability to read/write-lock DOM documents check-in: 7077725403 user: zoran tags: trunk
06:34
Added reader/writer locks for threaded builds check-in: a9ea60df26 user: zoran tags: trunk
06:33
Added Tcl_StaticPackage call check-in: c7e52dd052 user: zoran tags: trunk
06:32
Updated to the version supplied with tcl8.3.4 since it contains setup from "-lpthread" for lib check-in: 0630d932dc user: zoran tags: trunk
06:31
Added domlocks.c file check-in: 575b3d81c4 user: zoran tags: trunk
2002-05-26
19:55
Fixed the fix about var scopes - the parameters set with with-param must of course not be visible in the scope of the caller (call-template, apply-templates). Better handling of error cases: pop the var frame always befor checking the result code of ExecActions. This should guarantee var memory cleanup even in error cases therefor prevents (even more) memory leaks. Don't free the baseURI's subdoc entries for the xml and xslt document, because this strings are owned by the documents. check-in: adaa1ca752 user: rolf tags: trunk
19:54
Prevent the extResolver Tcl_Obj from shimmering by copying. (I wonder, why incrementing the ref Count is not enough, but I got "UpdateStringProc should not be invoked for type cmdName" panics while stress testing, which vanished, after this change.) check-in: a95866d02a user: rolf tags: trunk
19:52
Better handling of xslt -parameter option (copying of the parameter list guarantees, that the pointer to the string reps of the list obj's remain valid, even if somebody tries to cheat or does something unusual at tcl level in some handler script). check-in: 5a21f73136 user: rolf tags: trunk
2002-05-24
13:51
Closed some really big leaks (incomplete cleanup of subdocs). Plus better cleanup in case of xslt errors. check-in: fa50653391 user: rolf tags: trunk
13:48
Copy the extResolver for every dom document. The reason, why this is needed, is deep inside of tcl's handling of Tcl_Obj's. Inrecementing the obj's refCounter doesn't protect the obj to 'shimmer' (to change his internal representation). TclCmdNameObj's don't know how to regenerate there string representation, if that string rep was invalidated. If that happens, tcl panics with "UpdateStringProc should not be invoked for type cmdName". check-in: 45964023c8 user: rolf tags: trunk
2002-05-23
22:27
Better code for xslt -parameter handling check-in: 1a0f855ef3 user: rolf tags: trunk
22:25
Fixed bug with var scope (a var/param is only visible inside his defining template). Closed memory leak (don't strdup -parameter names). Better cleanup in case of xslt errors. check-in: 1a77be3578 user: rolf tags: trunk
22:19
Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. New test in xslt (var scope bug). check-in: b5dd1d0555 user: rolf tags: trunk
2002-05-22
16:42
Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. check-in: 50118713e6 user: rolf tags: trunk
16:40
Fixed a memory leak (handling of element content models). check-in: 6b68d7b876 user: rolf tags: trunk
2002-05-19
00:41
Optimization for predicate handling. No visible effect with standard xsltmark test files, but a lifesaver for other cases out of the wild. For example, xmlconf.xml / xmlconformance.xsl out of http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.htm is speeded up more than six times. check-in: adc606e802 user: rolf tags: trunk
2002-05-17
14:24
With space is significant, in source documents. check-in: 4299a6eab1 user: rolf tags: trunk
2002-05-16
20:36
External entities, needed by the dtd tests. check-in: f59c38b4f0 user: rolf tags: trunk