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

981 check-ins using file extensions/example/install-sh or extensions/tnc/install-sh or unix/install-sh or extensions/tdomhtml/install-sh or tclconfig/install-sh version b087e5c4b9

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
2002-07-28
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
20:34
Added helper proc's, that read xml declaration, detect the encoding of the XML data and configures the input channel. check-in: 3e0659712a user: rolf tags: trunk
20:28
Removed reference to TclXML. Use [package require tdom] instead of [package require expat 2.0]. check-in: af8232dbf8 user: rolf tags: trunk
17:45
Added a xpath test non US-ASCII chars (uh, blame me, only one...) check-in: a25ac56080 user: rolf tags: trunk
17:30
Added tests for setting of global parameters. check-in: 33e13ca4d3 user: rolf tags: trunk
17:10
Updated tests to the changed createDocumentNS syntax. Added some tests. check-in: eed5e62bf7 user: rolf tags: trunk
13:16
There's something wrong, with the header files (well, at least VC++6.0 thinks so). Seems, it works in this include order. check-in: e60fa09baf user: rolf tags: trunk
12:46
Corrected version numbers. check-in: bda233a9c9 user: rolf tags: trunk
12:03
Corrected tdom stubs table export. check-in: d3a7fead57 user: rolf tags: trunk
2002-05-15
23:21
Updated after tdom.decls change (we don't have a hook). check-in: 36c50120a9 user: rolf tags: trunk
22:56
Changes needed for MS build. check-in: 9fde8342b2 user: rolf tags: trunk
22:54
Export tdom stubs table. check-in: cee75cca67 user: rolf tags: trunk
22:46
Inital commit check-in: c511c160a6 user: rolf tags: trunk
22:12
Use tdom stubs table. check-in: caa786e427 user: rolf tags: trunk
21:21
Initial check in. check-in: e787af70d9 user: rolf tags: trunk
20:19
Simplified QName check for creation of elements with xsl:element. Added QName check for creation of attributes with xsl:attribute. Report unresolvable prefixes in xml:strip-space / xml:preserve-space. check-in: 9c7ef4e572 user: rolf tags: trunk
20:15
Inital commit check-in: 35df4f33d8 user: rolf tags: trunk
19:42
New files needed for the tdom stubs table. (Under unix, tDOM still isn't build as stubs enabled extension, because that's a lot of define hassle, as log as Jochen need tcl8.0.5 support. But the extension stubs table is needed for the MS plattform, to make tDOM extensions - like tnc - work.) check-in: fcd3a5fdda user: rolf tags: trunk
16:19
*** empty log message *** check-in: 7913817752 user: rolf tags: trunk
2002-05-13
23:24
Ignore check-in: 2ebe7a8cbd user: rolf tags: trunk
2002-05-11
16:57
Made variable/parameter namespace aware. check-in: 53f9d10272 user: rolf tags: trunk
2002-05-10
21:52
Made modes namespace aware. check-in: 80c514621e user: rolf tags: trunk
20:29
Made key names namespace aware. check-in: 58cd284453 user: rolf tags: trunk
02:30
A few things at one: Made attribute set names namespace aware. If a literal result node has no namespace, and at the insertion point of the result tree is a default namespace in scope, unset the default namespace, while adding the node. Enhanced domSetDocument, that it not only set the ownerDocument right, but also resets the namespace indexes. check-in: 9e4ae2ec82 user: rolf tags: trunk
2002-05-09
01:17
Futher i18n-lization. Most basic stuff in xpathLexer() should be done no, though there is much room left for optimations. check-in: f376f8d74e user: rolf tags: trunk
2002-05-07
23:44
A NMTOKEN is always != the empty string (""); NMTOKENS are always at least one NMTOKEN. check-in: 559305970e user: rolf tags: trunk
2002-05-04
01:30
Inlined xpathRSInit (for speed). check-in: 378cc65ccb user: rolf tags: trunk
01:29
Some optimizations and a bit code cleanup. Removed all XPath functions code from xpathEvalStep() and packed it in a own xpathEvalFunction() function. Introduced a xpath function tag for fast identifying of the function; the tagging is done at xpath expression parse time (since the function name is already known, at this time) and therefor saves any strcmp() calls for any following calls to the function. Stripped the initialization of xpathResultSet's down to setting the type (to EmptyResult) and the nr_nodes (to 0) - that's all needed settings - and inlined the xpathRSInit(). check-in: 04590fa80c user: rolf tags: trunk
2002-05-03
01:23
Improvement for XPath substring(): Really only a corner case: postive infinity is a acceptable value for the third arg. (See XPath rec 4.2, it has an explizte example for this.) check-in: f5347c9ef2 user: rolf tags: trunk
2002-05-01
00:54
Introduced AxisDescendantLit and AxisDescendantOrSelfLit (a bit of a, aehm, let't call it workaround). With that, wie can distinguish between // and descencant or descendant-or-self. And reinsert the handling of the predicate filter with respect to the child axes for // in xpathEvalStepAndPredicates(). check-in: 24fb8a62ad user: rolf tags: trunk
2002-04-30
00:32
Better error detection in xsl:element: ":foo" isn't really a QName. Damned complicated check, for this single corner case, sigh. check-in: 883658ca7c user: rolf tags: trunk
00:26
Bug fix for XPath local-name(): the local name of a default namespace attribute (xmlns=".."") is the empty string "" (XPath rec 5.4) check-in: a6793350a4 user: rolf tags: trunk
2002-04-29
23:37
Bug fix for literal result elements and namespace copy from source to result: of course copy only the actual scope, not hidden namespaces (that ended in not wellformed results)! I thought, that is done already, but I simply was dreaming. Now we have this four interleaved while loops, which is quit a mess, in case of pathologic documents, like very deep one, lot's of namespaces declarations etc. check-in: 5c727a1687 user: rolf tags: trunk
20:49
Bug fix in domAppendNewElementNode(): if element uri is NULL, but there is a default namespace in scope, add xmlns="" (unset default namespace). check-in: c264ddc33a user: rolf tags: trunk
16:42
Bug fix in count(). Bug fix: corrected typo in unparsed-entity-uri() function name. check-in: 1de23925e3 user: rolf tags: trunk
16:26
Made xsl:call-namespace namespace aware. check-in: 3f260eddd1 user: rolf tags: trunk
15:56
Better propagation of (+/-)Infinity. check-in: bc58a13476 user: rolf tags: trunk
14:04
Cleanup in xpathEvalStep(): Use consistently xpathEvalStep() for every argument of XPath functions (instead of several xpathEvalSteps()). This is save, because XPath function calls are added with AddChildWithEvalSteps() in Production(FilterExpr). check-in: 003b2a37da user: rolf tags: trunk
03:29
Better propagation of NaN. check-in: c2d5fcb1eb user: rolf tags: trunk
02:29
Bug Fix: namespace attributes are not in a namespace. check-in: 92244eac07 user: rolf tags: trunk
02:12
Bug fix for XPath substring(). The type change of the var 'from' from unsigned int to int prevents an error, if from must be negative in the substring code. A bit code cleanup (and added handling of EmptyResult for two of the XPath functions. check-in: ba9ff2790f user: rolf tags: trunk
2002-04-28
23:56
Bug fixes in new UnaryMinus and full qualified attribute queries code. check-in: e1bad840e7 user: rolf tags: trunk
23:26
Bug fix for xpath round(): round(-2.5) should return -2. check-in: 9490c37af4 user: rolf tags: trunk
22:27
Improved xsl:elements: non QNAME name as element name is detected now. Bug Fix in domSetAttributeNS(). Small improvement of domCopyTo(): don't copy namespace attribute if it isn't necessary. Bug fix for xsl:copy. check-in: a9500c3a2b user: rolf tags: trunk
22:20
Added full qualified and namespace wildcard attribute queries. Fixed a Bug with following axis expression starting from an attribute. Added handling of UnaryExpr to xpathEvalStep(). Improved xpathGetPrio(). check-in: 48fafe5882 user: rolf tags: trunk
2002-04-26
01:14
Improved namespace support. New domCopyTo() for XSLT. Little improvement of xpathGetPrio(). check-in: 6925b06892 user: rolf tags: trunk
2002-04-23
23:55
Bug fix for following axis starting from an attribute. check-in: 40f2ded91f user: rolf tags: trunk
23:41
Bug Fix in xpathMatches check-in: 12a19a41ee user: rolf tags: trunk
22:01
Improved namespace handling for xsl:attribute. Improved attribute node set handling. Improved error detection: Unknown xslt elements and top level elements not in any namespace are reported. check-in: ae97545ffc user: rolf tags: trunk
20:46
domSetAttributeNS: if the attribute is in a namespace, check, if the namespace, actually bound to the attribute prefix is in deed the same, the attribute must be in. check-in: d7989bd111 user: rolf tags: trunk
20:42
Bugfix for FillNodeList: a match pattern with predicate may need a FillNodeList. Such a match pattern can now match the documentElement. check-in: 5a2a55be3e user: rolf tags: trunk
2002-04-22
21:33
Editorial changes. check-in: ab569aef00 user: rolf tags: trunk
21:32
Added xsl:namespace-alias. check-in: 5b62c9f047 user: rolf tags: trunk
00:54
Improved handling of literal result elements: now namespaces in scope are also copied to the result tree, if needed. exclude-result-prefixes and extension-element-prefixes of xsl:stylesheet elements are respected. (Still to do: xsl:extension-element-prefixes and xsl:exclude-result-prefixes attributes of literal elements.) check-in: 4ff4ec642f user: rolf tags: trunk
2002-04-19
20:48
Added handling of IS_NS_NODE flag set for an attribute node at a few more places. check-in: 084a5878bb user: rolf tags: trunk
18:55
Changed / enhanced namespace handling and namespace information storage. The namespace field of the domNode and domAttributeNode structurs is still set. But other than up to now, namespace attributes are now stored in the DOM tree as other, 'normal' attributes also, only with the nodeFlag set to "IS_NS_NODE". It is taken care, that every 'namespace attribute' is stored befor any 'normal' attribute node, in the list of the attributes of an element. The still saved namespace index in the namespace field is used for fast access to the namespace information. To speed up the look up of the namespace info, an element or attributes contains to, the namespace index is now the index number (plus offset 1) of the corresponding namespace info in the domDoc->namespaces array. All xpath expressions with the exception of the namespace axes (still not implemented) have to ignore this 'namespace attributes'. With this enhanced storage of namespace declarations, it is now possible, to find all "namespaces in scope" of an element by going up the ancestor-or-self axis and inspecting all namespace declarations. (That may be a bit expensive, for documents with lot of namespace declarations all over the place or deep documents. Something like http://linux.rice.edu/~rahul/hbaker/ShallowBinding.html (thanks to Joe English for that url) describes, may be an idea, if this new mechanism should not scale good enough.)

Changes at script level: special attributes used for declaring XML namespaces are now exposed and can be manipulated just like any other attribute. (That is now according to the DOM2 rec.) It isn't guaranteed (as it was), that the necessary namespace declarations are created during serializing. (That's also DOM2 compliant, if I read it right, even if this seems to be a bit a messy idea.) Because the old behavior have some advantages, from the viepoint of a programmer, it eventually should restored (as default or as 'asXML' option?). check-in: b5afde4623 user: rolf tags: trunk

2002-04-10
02:48
Optimization: Now handles xsltVarFrames and xsltVariables as stacks, instead of constantly malloc/free it. On the way removed xsltVariable->select (because it isn't used anywhere) and renamed xsltVariable->value to xsltVariable->node (because that's, to what this structur member points). check-in: e0fda7769a user: rolf tags: trunk
2002-04-09
17:20
Actual HEAD does not compile (!! arg). With this (intermediate) state it should. Some of the changes will be undo and replaced by others. check-in: e3ba6d222a user: rolf tags: trunk
01:59
xslt rec 5.2: "The string-value of an element node is the concatenation of the string-values of all text node descendants of the element node in document order." (Also true for root node.) The xpathGetTextValue() could not used for recursive getting of the text node descendants, because it also returns the text value of comment and processing instruction nodes. xpathGetTextValueForElement() does, what the spec requires. check-in: 69ed879f48 user: rolf tags: trunk
01:17
Corrected the check in log for the least check in... check-in: 78779edd38 user: rolf tags: trunk
01:14
Allowed reseting of variable in successive for-each loops (of course not in one loop) and inside template bodys of xsl elements. xt, xalan (and gnomexslt, for what is's worth) do, saxon don't - and the spec isn't really clear about this (I would say, it's right now). Anyway, there are only two clear ways, to handle this: allow it, or don't. tDOM does, but variable declarations inside the for-each (or other template bodies of xslt elements) polluted the var context outside the for-each or template bodies, which is clearly wrong (example: xalan tests: variable20, local: varscope). Unfortunately, the XSLT 2.0 WD is a bit clearer about this and does it the saxon way (no wonder, since Kay is the editor of that spec ;-)). But then XSLT 2.0 is another story, where currently definitely not in. check-in: 691495afd1 user: rolf tags: trunk
2002-04-08
03:43
Optimation: re-initialize current var frame in ApplyTemplates() loop only if necessary (i.e. if the applied template has "populated" it). check-in: 30ab7af562 user: rolf tags: trunk
02:11
Added -parameters option to domNode xslt method, to enable setting of top level parameters from tcl level. check-in: cf4305e95b user: rolf tags: trunk
02:01
Added optional -parameters option to domNode xslt method, to enable setting of top level parameters from tcl level. BugFix: Don't use direct calles to ApplyTemplate(), always go throw ApplyTemplates(), to get var context right (example: xalan tests variable35). check-in: 123891f1e6 user: rolf tags: trunk
2002-04-06
18:05
Bug fix for attribute value templates: "A right curly brace inside a Literal in an expression is not recognized as terminating the expression." (xslt rec 7.6.2) check-in: 1d7b74d309 user: rolf tags: trunk
00:44
Added a few more rsAddNodeFast and checkRsAddNode. check-in: d98de7757e user: rolf tags: trunk
2002-04-05
16:47
Bug fix for attribute value templates. Should now handle cases like attr="}}" and attr="{{" right. check-in: 18a313771b user: rolf tags: trunk
2002-04-02
00:36
Escape '\n' in Attribute Values while serializing, to fulfill the note in xslt rec. 7.1.3. check-in: bc13e06b37 user: rolf tags: trunk
2002-04-01
04:24
Closed a memory leak in not(). check-in: 1cf8371190 user: rolf tags: trunk
2002-03-31
03:27
Enhanced the useage of rsAddNodeFast(). Fixed a bug in Production(StepPattern) and closed a memory leak in xpathMatches(). check-in: b11313f86e user: rolf tags: trunk
03:22
Closed a memory leak in xsltFreeStats(). Changed xsl:element handling (work in progress). check-in: 5c2eaabf66 user: rolf tags: trunk
2002-03-25
13:56
Initial check in. check-in: eb5288f209 user: rolf tags: trunk
01:29
Closed some memory leaks. Fixed a bug in // handling. A bit code cleanup. check-in: 36b80d4fb1 user: rolf tags: trunk
01:28
Closed a cuple of memory leaks. A bit Code cleanup. check-in: 42fdb62c0c user: rolf tags: trunk
2002-03-23
00:31
Fix for multiple predicates on pattern steps. Patterns of the form foo[attr='c'][2] now work correct. check-in: a4ded5b2c6 user: rolf tags: trunk
2002-03-22
00:14
Removed some overseen debugging code. check-in: 88276c97b8 user: rolf tags: trunk
2002-03-21
01:47
Collected the various nodeSet Result types into "nodeSetResult" (there still exists a seperate emptyResult type). Reworked xpathEvalStep. Fixed memory leak in xpathMatches, added rsAddNodeFast(), if it's known for sure, that the node to add isn't already in the nodeSet. check-in: 0e6533ac59 user: rolf tags: trunk
2002-03-16
13:06
Optimised xsl:sort: the string or numeric value of the nodes to sort are computed only once and cached for further comparisons in the sort process. check-in: f00c8a6439 user: rolf tags: trunk
2002-03-14
13:28
Fixed the Fix of the last commit. check-in: cbe771bf12 user: rolf tags: trunk
01:27
Minimal Fix: doubled namespaceURI method corrected to prefix check-in: 7b7e247135 user: rolf tags: trunk
2002-03-10
01:21
Added documentation for the new dom command method createDocumentNS. check-in: 2fa449f347 user: rolf tags: trunk
01:20
Added tests for [dom createDocument] and the new [dom createDocumentNS]. Documented a bug (test dom-3.1). check-in: 473353233e user: rolf tags: trunk
01:17
Added method createDocumentNS to the dom command. check-in: ca9c194567 user: rolf tags: trunk
01:16
Added support for [dom createDocumentNS]. Added tests for correctness of document Element tag name. check-in: bd23419f09 user: rolf tags: trunk
01:14
Introduced distinction between XML Name and XML NC Name. check-in: 44b0ba5fd3 user: rolf tags: trunk
2002-03-08
23:49
Fixed small, obvious bug in DBG code. check-in: 6c5f787294 user: rolf tags: trunk
2002-03-07
22:16
Improved recognition of REALs (of the form .123). Made variable name recognition UTF-8 save. Freeze of actual state, befor feeding stuff to Jochen. check-in: 916956c205 user: rolf tags: trunk
22:11
Freeze of actual state, befor feeding stuff to Jochen. check-in: cf9a256595 user: rolf tags: trunk
22:09
Added infrastructur to be able to do NCNAME tests. Freeze of actual state, befor feeding stuff to Jochen. check-in: f180b1c8a2 user: rolf tags: trunk
22:04
Freeze of actual state, befor feeding stuff to Jochen. check-in: 80cde7bfa4 user: rolf tags: trunk
2002-03-05
16:15
Dummy config.h needed for expat. check-in: 687ef565b9 user: rolf tags: trunk
2002-03-03
20:08
Improved detection of improper stylesheets: now triggers error if any mandatory attribute of a xsl element is missing. The mandatory attributes are: xsl:stylesheet: version; xsl:transform: version; xsl:include: href; xsl:import: href; xsl:strip-space: elements; xsl:preserve-space: elements; xsl:call-template: name; xsl:namespace-alias: stylesheet-prefix result-prefix; xsl:element: name; xsl:attribute: name; xsl:attribute-set: name; xsl:processing-instruction: name; xsl:value-of: select; xsl:for-each: select; xsl:if: test; xsl:when: test; xsl:variable: name; xsl:param: name; xsl:copy-of: select; xsl:with-param: name; xsl:key: name match use check-in: 4b3d9115e0 user: rolf tags: trunk
01:02
tcltest test suite started. The expat related tests are mostly out of an older tclexpat test suite by Steve Ball (reviewed, bug fixed and adapted to tDOMs SAX interface). Plus a few tDOM specific tests. check-in: 8ba496bb01 user: rolf tags: trunk
2002-03-01
04:06
Improved detection of improper stylesheets: xsl:include xsl:import xsl:strip-space xsl:preserve-space xsl:apply-imports xsl:namespace-alias xsl:value-of xsl:number xsl:sort xsl:copy-of xsl:key xsl:decimal-format and xsl:output must be emtpy. check-in: 5350288274 user: rolf tags: trunk
01:30
No real code changes. Only to log additional change in 1.3: Fixed namespace overflow throu repeated (identical in prefix and uri) namespace declarations. check-in: 1ac62d594e user: rolf tags: trunk
01:18
Changed parsing. [dom parse ..] now uses Tcl_GetStringFromObj(), dom parse -channel now respects the encoding of the channel. check-in: 8cc106f218 user: rolf tags: trunk
01:16
Changed behavior of [<parserObj> parse <data>] and [<parserObj> parsechannel <Tcl channel>]. The method 'parse' now uses Tcl_GetStringFromObj(), the method 'parsechannel' now respects the encoding of the channel. check-in: 7f6fbcaa63 user: rolf tags: trunk
2002-02-28
00:57
Changed to new version number 0.7 check-in: 9874d60ad2 user: rolf tags: trunk
00:39
Added tcl coded xpath function element-avaliable. Changed function-avaliable accordingly. check-in: 5edd91ead4 user: rolf tags: trunk
2002-02-26
14:05
Updated the [load ...] to the new version number 0.7 check-in: 7d7e46a6ec user: rolf tags: trunk
14:04
Updated the [package provide] to the new version number 0.7 check-in: 5636300b8d user: rolf tags: trunk
2002-02-24
02:31
Fixed UTF-8 char byte length determination check-in: 9373983392 user: rolf tags: trunk
2002-02-23
01:13
Some code tweaking for a mostly warning free MS build check-in: 64a4af89f8 user: rolf tags: trunk
01:12
Removed some file noise check-in: 35a577fc36 user: rolf tags: trunk
01:08
Initial check in of win makefile. Tested on w2k with VC 6++ check-in: 0ce4795ef9 user: rolf tags: trunk
2002-02-22
01:05
tDOM0.7test with Jochens first set of patches Closed-Leaf check-in: 002482c973 user: rolf tags: demo, trunk
01:05
Initial revision check-in: 98cd4affb5 user: rolf tags: trunk