tDOM

Timeline
Login

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

75 descendants and 1307 ancestors of [6e4626b0b0]

2017-12-25
10:11
On Windows, install html docs, not manpages Leaf check-in: 76ab45e19d user: apnadkarni tags: trunk
07:42
Updated nmake to v1.1 from Tcl repository check-in: 367d3b204a user: apnadkarni tags: trunk, magicsplat-1.8.0
06:59
Streamline makefiles for new nmake system check-in: 7bfd42df88 user: apnadkarni tags: trunk
2017-12-13
23:47
Still not exactly the same output as the current serializer but close. Leaf check-in: 9c7e75e752 user: rolf tags: stackless_asXML
2017-12-12
21:58
Save work for discussion. check-in: dbf205286d user: rolf tags: stackless_asXML
2017-12-11
22:45
Ripped out stackless XML serialization from stacklessfs into own branch, while further working on it. This may be a worth thing for itself, since expat digests really deeply nested XML. wip. check-in: fe454a1b53 user: rolf tags: stackless_asXML
00:59
Test for CDATA section element with mixed content. check-in: 5f26ebf2dd user: rolf tags: trunk
2017-12-10
20:44
Fixed invalid memory read in case non-element node is called with appendFromScript. Leaf check-in: b5e7bcdab5 user: rolf tags: stacklessfs
2017-12-09
02:16
More work on stackless xml serialization. Still deep wip. check-in: 120e42774d user: rolf tags: stacklessfs
2017-11-26
02:21
Minor tweaks for default (non stackless) build. check-in: c92b24eb58 user: rolf tags: stacklessfs
2017-11-25
14:23
Working with deep nested XML data should also mean to be able to serialize it. Started implementation of non-recursive asXML. Wip. check-in: d04f2a20fe user: rolf tags: stacklessfs
14:20
Removed not used code. check-in: 1124913539 user: rolf tags: stacklessfs
02:27
Made xmlOpenFileWorker reporting the right encoding in case it is called by xmlReadFile. check-in: a29752b914 user: rolf tags: trunk
01:49
Botched tdom.tcl on trunk and nobody complained ... check-in: e42dab602e user: rolf tags: trunk
2017-11-23
00:59
Exploring stackless fromScript script code evaluation. check-in: 0a1f7977fe user: rolf tags: stacklessfs
2017-11-21
22:13
Replaced the deprecated Tcl_EvalObj with its successor. check-in: c4d91cd3e9 user: rolf tags: trunk
2017-11-18
15:33
Updated the README about the included expat version. Leaf check-in: 156eb276c9 user: rolf tags: expat-update
01:59
Added more sensitive detection of source of entropy for expat to the configure system. The default is to try to use the best available source for the build plattform. The new configure option -with-entropy allows to pick a certain source of entropy including XML_POOR_ENTROPY, which means use the old way of doing this. check-in: 2de0b19f93 user: rolf tags: expat-update
2017-11-16
22:47
Hallelujah. Can remove that knownBug test tag, after successfully nagging upstream. check-in: cbcf5049f7 user: rolf tags: expat-update
22:18
Updated to expat 2.2.5. check-in: 5034d18e1a user: rolf tags: expat-update
22:05
Merged from trunk. check-in: 2f825a10bb user: rolf tags: expat-update
2017-11-09
00:32
Added -keepCDATA to the tdom handler set based implementation of the [dom parse ...] API. Bug fix in arg check. check-in: 8cd193981c user: rolf tags: trunk
2017-11-07
23:36
Tweaked doc stuff. check-in: f4336d7b70 user: rolf tags: trunk
23:25
Added flag -keepCDATA to [dom parse ...], respected by the expat and simple xml parser. If not used together with -keepEmpties, white space only CDATA sections will not be included into the DOM tree. Used together with -keepEmpties, even empty CDATA sections will result into a node. Fixed the simple xml parser it now bulds an XPath/XSLT "ready" tree by default, as it the standard parser does. Added tDOM::xmlReadFileForSimple helper to read xml files for [dom parse -simple]. check-in: a0809eb3c1 user: rolf tags: trunk
22:22
Better interface to the "read the XML file for me" tcl helpers. xmlOpenFile/xmlReadFile stay as they are, a new xmlReadFileForSimple was added to be used together with [dom parse -simple ...]. Closed-Leaf check-in: d07b1bbc1c user: rolf tags: keepCDATA
00:47
Added a knob to the helper procs tDOM::xml(Read|Open)File so that they do the right thing for the simple parser in some cases. check-in: 4c688ab844 user: rolf tags: keepCDATA
2017-11-06
01:00
0.9.0 release mark in the CHANGES file. check-in: c630765b29 user: rolf tags: trunk
00:57
Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. check-in: 5809c91591 user: rolf tags: keepCDATA
2017-11-05
23:56
If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. check-in: d333be5a28 user: rolf tags: keepCDATA
18:27
Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. check-in: cde6b24b70 user: rolf tags: keepCDATA
01:15
Added some words of documentation about the new [dom parse ...] flag -keepCDATA. check-in: 43b6f8f843 user: rolf tags: keepCDATA
00:02
Made that work with the tdom expat handler set also. check-in: e320c2065d user: rolf tags: keepCDATA
2017-11-04
19:12
Added a few bench tests to check positional predicate optimization. check-in: e01e949947 user: rolf tags: trunk
02:00
Started implementation of a "keep CDATA sections" switch to [dom parse ...]. check-in: 1cd6dcbed5 user: rolf tags: keepCDATA
2017-10-29
18:34
Update from trunk. Leaf check-in: 4751836ea1 user: rolf tags: errorCode
18:27
Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. check-in: 33ee70bd11 user: rolf tags: trunk
2017-10-19
10:40
Updated tnc to new nmake system check-in: b226917ae3 user: apnadkarni tags: trunk
07:41
New nmake build system check-in: 78c6f9be15 user: apnadkarni tags: trunk
04:17
Create new branch named "vc-reform" Closed-Leaf check-in: ebc7fb932f user: apnadkarni tags: vc-reform
2017-10-06
00:03
Applyed spelling/ wording fixes in source code comments, error messages and even symbols (!) as reported by Debian lintian [9629f6d4fb8c9]. check-in: f8ced39e14 user: rolf tags: trunk
2017-10-05
23:48
Applyed spelling/ wording fixes (documentation part) as reported by Debian lintian [9629f6d4fb8c9]. check-in: 764b3d1ea0 user: rolf tags: trunk
2017-10-01
01:11
Musing: Provide useful errorCode information in case of [dom parse ...] error. check-in: 8dd6cf7f01 user: rolf tags: errorCode
2017-09-15
15:29
Added loadlibrary.c to Windows build. Minor update to README check-in: 2658b83255 user: apnadkarni tags: expat-update
2017-08-31
15:30
Reduced the fall out of this on user API level. $node delete now does the same as it does in threaded builds anyway. Restored "moving" subtrees between documents by copying the subtree over and delete it it after (that's of course slower), made appendXML also work (there's room for more improvement, even for the non-fastfree case). Even line/number info seems possible. Still some things to fix, check and improve. Leaf check-in: b17f640f6f user: rolf tags: fastFree
12:34
Added the new expat source file loadlibrary.c to the once to build; its needed on windows. check-in: 1caab6d4da user: rolf tags: expat-update
10:25
Cleanup of some no longer used typedefs. check-in: 88b7e885f8 user: rolf tags: fastFree
02:51
Merged from trunk. check-in: e5404d396d user: rolf tags: fastFree
02:47
Exploring optimization possibilities. Using doc specific simple mem pools speeds up a [dom parse $xml doc; $doc delete] by a factor of 1.25 (though, while DOM tree building is also slightly faster most of the gain is a much faster doc free). Test suite runs valgrind clean. Some tests fail but most of them do rightly so. Because this has a price: no subree move between documentes (the DOM recommendation doesn't allow this but tdom did, so far), no [domNode delete] (but this in fact freed the memory already only in non-threaded builds), no line/column information. Needs creation of nodeCmds in doc specific namespace for cleanup of the tcl commands in one go (to be implemented) and thread safety consideration. If all goes well and still looks as a gain could be integrated in a switch on/of at runtime way. check-in: 1965531605 user: rolf tags: fastFree
2017-08-30
15:21
Now the domNode method cloneNode does also copy the json type annotation of the node or subtree to clone. check-in: 784ff1de80 user: rolf tags: trunk
14:03
Plugged memory leak in case [dom createDocumentNS] is erroneously called with prefixed document element name and the empty string as namespace URI. check-in: 9352a1da41 user: rolf tags: trunk
11:44
Added new expat source files. check-in: f6b055a47b user: rolf tags: expat-update
2017-08-29
21:05
Merged from trunk. check-in: 367f9260b3 user: rolf tags: expat-update
21:05
There are a lot expat releases, lately. This is expat-2.2.4. check-in: 631d353e34 user: rolf tags: expat-update
2017-08-25
14:28
Changed version to 0.9.1. check-in: fa48078af4 user: rolf tags: trunk
2017-08-24
16:15
Merged from trunk. Closed-Leaf check-in: 84a004b5f0 user: rolf tags: expat-2.2.3
15:33
Release 0.9.0 check-in: 6c9e8589f1 user: rolf tags: trunk, tdom-0-9-0, release
13:57
Install also tdomConfig.sh. And since tdomConfig.sh is generated by configure, don't remove it with make clean but only with make distclean. Closed-Leaf check-in: 9ca8c82d0a user: rolf tags: prepare-release
2017-08-23
16:16
Changed a last comma. check-in: fe91db4e27 user: rolf tags: prepare-release
15:52
Hopfully final proof-reading of README. check-in: 1aaa919d6e user: rolf tags: prepare-release
14:45
Changed the link to / file name of the source distribution. check-in: 316eda6f67 user: rolf tags: prepare-release
14:10
Added a link to the repository and a meta content tag to the HTML documentation. check-in: 44f479fa12 user: rolf tags: prepare-release
13:34
Updated README. check-in: 6cdde781d5 user: rolf tags: prepare-release
03:40
Fixed misspelt package name (todm->tdom) in pkgIndex check-in: 792b1394bc user: apnadkarni tags: prepare-release
2017-08-22
22:25
tnc: (Re-)generate pkgIndex.tcl with make, since it could be removed by a prior make clean. check-in: 135a5c1e5f user: rolf tags: prepare-release
2017-08-21
23:51
Merged from trunk. check-in: f110e5331f user: rolf tags: prepare-release
2017-08-17
18:44
Merged trunk. check-in: e5d5c534b7 user: rolf tags: prepare-release
18:44
Changed my mind: next version will be 0.9.0. check-in: d9742bb60d user: rolf tags: prepare-release
18:05
Updated version nr at more places. check-in: 5d9e51455e user: rolf tags: prepare-release
17:58
Merged trunk. check-in: c75669c175 user: rolf tags: prepare-release
2017-08-14
12:51
Merged from trunk. check-in: ab19103901 user: rolf tags: prepare-release
2017-08-05
12:57
Merged from trunk. check-in: d9388d5e29 user: rolf tags: prepare-release
2016-10-08
23:19
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 2572154b1f user: rolf tags: prepare-release
2016-10-03
21:36
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 199b03a2dd user: rolf tags: prepare-release
21:25
Regenerated configure. check-in: 6e83087b3a user: rolf tags: prepare-release
2016-10-02
12:59
Removed build stuff for mac os 8/9. I have no way to test this and probably nobody uses this anymore. check-in: 63d1763330 user: rolf tags: prepare-release
12:32
Pre-release branch. check-in: 6e4626b0b0 user: rolf tags: prepare-release
2016-10-01
22:38
Fixed [b7fcebac73]. check-in: df00b99009 user: rolf tags: trunk
19:12
Added tests for bug [b7fcebac73] check-in: 9fd45f15ab user: rolf tags: trunk
17:54
Updated to expat 2.2.0. check-in: 9e5f3982f6 user: rolf tags: trunk
2016-05-12
19:06
Fixed configure option --with-expat. check-in: 3ef47f8eca user: rolf tags: trunk
16:45
If not on windows include unistd.h unconditional. Fixes a warning on FreeBSD. check-in: f163795f4d user: rolf tags: trunk
16:28
Fixed long standing problem: Report undefined xml namespace prefixes as parsing error. check-in: 6d4a7d62c1 user: rolf tags: trunk
2015-09-11
00:44
Added options -xmlDeclaration and -encString to the asXML method of the domDoc and domNode commands. check-in: 400d92fee5 user: rolf tags: trunk
2015-09-07
14:08
Fixed HTML serialization of CDATA Sections. check-in: 230278ccf5 user: rolf tags: trunk
2015-08-28
21:55
More doc tweaks. check-in: d44a180b35 user: rolf tags: trunk
17:52
Added documentation for the new xslt transformation option -maxApplyDepth. Regenerated man and html files. Other minor doc tweaks. check-in: fe3d23e7ad user: rolf tags: trunk
17:45
Added limit (default 3000) for depth of nesting xslt apply templates. Added -maxApplyDepth option to xslt transformation, to set this limit. check-in: a52f940880 user: rolf tags: trunk
14:56
More detailed report and and more fancy external entity resolver for OASIS-suite.tcl. check-in: f773081411 user: rolf tags: trunk
2015-08-25
22:19
More work on and with OASIS-suite.tcl. check-in: e68b5e234f user: rolf tags: trunk
2015-08-21
13:23
Prevent, that circular attribute-set references blow up the stack. Return error msg instead. check-in: 44ca1203de user: rolf tags: trunk
13:21
More work on OASIS-suite.tcl. check-in: b682c5e4a2 user: rolf tags: trunk
2015-08-20
17:00
Fixed ridiculous errors in option handling of OASIS-suite.tcl. check-in: 50f3871fd6 user: rolf tags: trunk
2015-08-19
23:58
Removed code cruft. check-in: d68f0946b1 user: rolf tags: trunk
23:22
An xpath expression with more then one step after a // could return the matching nodes not in document order. check-in: 5ce8894ca4 user: rolf tags: trunk
2015-08-05
14:30
Removed another unnecessary variable initialazation. check-in: 16e874d04d user: rolf tags: trunk
14:02
Removed unnecessary variable initialazation. check-in: a406be0187 user: rolf tags: trunk
14:00
Guard against null pointer dereference in case of invalid stylesheet (template mode attribute is prefixed, but the prefix isnt bound to a namespace in scope). check-in: 34148043ce user: rolf tags: trunk
13:57
Removed unused (and unnecessary) code. check-in: 78df30fe04 user: rolf tags: trunk
2015-05-17
00:27
Brought CHANGES up to date. check-in: c27818aee3 user: rolf tags: trunk
2015-05-16
21:00
Brought info text files of the included expat version in sync with the actually used version 2.1.0. Missed to copy this files, while updating the code to expat 2.1.0. check-in: 8dfb0f574a user: rolf tags: trunk
2015-04-14
23:43
Added argument check for the boolean expecting tdom cmd option setter methods. Fixed the ignorexmlns method. check-in: c5f26a45cf user: rolf tags: trunk
2015-04-11
00:22
Changed behavior wrt to result code of a called -xsltmessagecmd script. Up to now, the result code of that script evaluation was ignored. Now, any other return code of that script then TCL_OK terminates the xslt transformation and returns error. Purposeful termination may be signaled with return -code break, for which the error message will be empty. check-in: 8438342bf7 user: rolf tags: trunk
2015-04-10
23:59
Sorted out how it will be, for now. Documented it somewhat. Closed-Leaf check-in: be9cfa8f2d user: rolf tags: xsltmsg
2015-04-04
12:58
Save changes. check-in: d296766c6c user: rolf tags: xsltmsg
2015-04-02
00:11
Merged from trunk. check-in: a441d3472d user: rolf tags: xsltmsg
2015-04-01
23:14
Added option -ignorexmlns to the dom parse method. check-in: 1fddc58c07 user: rolf tags: trunk
23:10
Initialize ignorexmlns for tdom cmd. Closed-Leaf check-in: 4cada4420f user: rolf tags: TDOM_NS
23:00
Merged from trunk. check-in: 4ac7a71245 user: rolf tags: TDOM_NS
22:40
Corrected typo. check-in: 65c1350cd7 user: rolf tags: trunk
22:12
Added new expat parser cmd method currentmarkup. check-in: 2b183ffd3f user: rolf tags: trunk
21:46
Added lokal clean-up to every test (as it should be) and removed general clean-up, which was interfered by other test helper procs. Closed-Leaf check-in: d501542ab8 user: rolf tags: parser-defaultcurrent
21:35
Corrected typo. check-in: 6f3daefad3 user: rolf tags: parser-defaultcurrent
19:13
Documented parser cmd method currentmarkup more precisely. check-in: e6bbca7bff user: rolf tags: parser-defaultcurrent
18:12
Plugged memory leaks in case of defective XPath expressions. check-in: 6cae756100 user: rolf tags: trunk
03:01
Handle calls from -characterdatacommand. Added tests. check-in: 4bb38582f8 user: rolf tags: parser-defaultcurrent
00:44
Merged from trunk. check-in: 9a616f0d21 user: rolf tags: parser-defaultcurrent
2015-03-26
11:29
Enforce value range for -indentAttrs value. check-in: ac03b8c44e user: rolf tags: trunk
01:23
Added option -indentAttrs to the domDoc/domNode method asXML. check-in: 3245a04ed5 user: rolf tags: trunk
01:17
Now, -indentAttrs expects an argument, 0..8 or no/none and indends the attributes relative to their element by the given value. Closed-Leaf check-in: ca5b82767d user: rolf tags: indentAttrs
2015-03-25
23:00
Merged from trunk. check-in: 3b71a11611 user: rolf tags: indentAttrs
21:59
Minor cleanup: Removed extraneous parentheses around comparison check-in: a57050673a user: rolf tags: trunk
2015-03-01
03:48
Made node detection from string token more reliable. check-in: 3401eb3d6b user: rolf tags: trunk
03:04
Clarified the xpath data type of tcl var references in xpath expressions. check-in: 9391fc5fe9 user: rolf tags: trunk
2015-02-27
02:31
Documented: Using tcl var reference in expr predicate. check-in: ff88c83a7b user: rolf tags: trunk
02:04
Documented: detecting node from string token isn't reliable. check-in: b41c199b1e user: rolf tags: trunk
02:01
Document: detecting node from string token isnt reliable. check-in: 2de2b4f0a1 user: rolf tags: xsltmsg
2015-02-15
01:29
Added bench tests to show the speed problem with large current nodelist argument. check-in: c6c85b25c2 user: rolf tags: trunk
00:45
Added tests to demonstrate the problems with modifying xmlns attributes and afterwards moving around the node. check-in: 6e2396d92b user: rolf tags: trunk
2015-02-14
15:34
Started to add ability to terminate xslt processing by return code of the xsltmsgcmd. check-in: 18189825f9 user: rolf tags: xsltmsg
2015-01-25
13:17
Better error msg. check-in: 6bb4eda2c7 user: rolf tags: trunk
01:01
Still hardening the xpath engine against random input. check-in: cda6ae28c1 user: rolf tags: trunk
00:09
Fixed / better handling of over- or underflow integers given literal within the xpath expression. check-in: a34b1c1dff user: rolf tags: trunk
2015-01-21
00:37
Save bytes and be more general. check-in: 9bec85810d user: rolf tags: trunk
2015-01-20
23:08
Fixed even more possible seg faults in case of "random" xpath input. check-in: e44ca3a81b user: rolf tags: trunk
2015-01-18
20:34
Fixed more possible seg faults in case of 'random' xpath input. check-in: 66eccc9114 user: rolf tags: trunk
01:57
Fixed seg fault in case of special crafted XPath expressions. check-in: 987b9125a2 user: rolf tags: trunk
2014-12-11
22:49
Fixed XPath bug, if logical comparing nodesets with numbers. If some node in the nodeset has a string value, that looks like a double in some other standards but is not a number according to XPath, the result of the comparsion could be wrong. check-in: 9c3092c53e user: rolf tags: trunk
15:32
Added some words of documentation for the new parse option -ignorexmlns. check-in: 8a3978d548 user: rolf tags: TDOM_NS
2014-11-27
14:58
Merged from trunk. check-in: a154b27b05 user: rolf tags: TDOM_NS
2014-11-19
21:59
Cleaned up test naming, removed a few duplicated tests. check-in: 34b677ad0b user: rolf tags: trunk
2014-11-06
01:35
More scripted XPath function tests. check-in: 9f3c84cdb3 user: rolf tags: trunk
00:27
A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. check-in: 00c36ac1c9 user: rolf tags: trunk
2014-11-05
23:53
Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. check-in: 55e2fefda5 user: rolf tags: trunk
2014-11-02
23:30
Editorial corrections. check-in: 0f71f6ce74 user: rolf tags: trunk
2014-10-31
17:54
Added at least one test for the expat parser cmd method parsefile. check-in: 96de69454e user: rolf tags: trunk
2014-10-16
23:17
Added configure option --with-expat, to build and link against the system or a custom expat lib. Default is, to use the included sources. check-in: e008f28a6e user: rolf tags: trunk
21:58
Saved work in progress. check-in: 3cc840358e user: rolf tags: parser-defaultcurrent
2014-10-09
15:38
Update parser.test to the new method name currentmarkup (in fact, missed to save the file prior to commit the method name change. check-in: f7c8e4e77f user: rolf tags: parser-defaultcurrent
2014-10-08
00:45
Renamend method defaultcurrent to currentmarkup. check-in: 0337e934ea user: rolf tags: parser-defaultcurrent
00:28
Tried to document defaultcurrent. check-in: 358cff26da user: rolf tags: parser-defaultcurrent
00:06
Merged from trunk. check-in: fb8b793fef user: rolf tags: parser-defaultcurrent
2014-10-07
23:50
Reworked parser cmd method defaultcurrent to work much simpler. Instead of getting the result of the method by another handler, which may be, since its there, get called otherwise also (so you may have to flag, that this handler is called by defaultcurrent) just return currentdefault. check-in: f5b29530ef user: rolf tags: parser-defaultcurrent
2014-10-03
23:46
Added a first test of the new defaultcurrent method. check-in: e47ccd2f2f user: rolf tags: parser-defaultcurrent
00:07
Fixed a seg fault if tdom $parser enable is called in a callback of the parser it works on. check-in: dd44c6e0e0 user: rolf tags: trunk
2014-10-02
23:09
Editorial change. check-in: 4afd32f535 user: rolf tags: trunk
22:57
added a "parser defaultcurrent" subcommand that calls XML_DefaultCurrent check-in: 0cb35638d1 user: evilotto tags: parser-defaultcurrent
21:45
Fixed seg fault, if expat parser cmd method get is called without argument. check-in: a5417947d1 user: rolf tags: trunk
2014-06-25
18:42
Added test. check-in: 7f6a517aba user: rolf tags: TDOM_NS
2014-05-02
00:25
Simplyfied test suite infrastructur. check-in: dd0926133d user: rolf tags: trunk
2014-05-01
12:33
Added more minimal xslt doc tests. check-in: 73c26eb87f user: rolf tags: trunk
12:28
Added minimal xslt doc tests. check-in: 3f2c9c70c6 user: rolf tags: trunk
12:16
Added minimal xslt doc tests. check-in: d05e85a15f user: rolf tags: trunk
2014-04-10
14:39
Started to migrate the build time TDOM_NS hack to a runtime parse option. check-in: 93da576a41 user: rolf tags: TDOM_NS
2014-03-07
00:25
added "indentAttrs" option to domNode asXML that adds newlines in between attributes check-in: 190f3c4596 user: evilotto tags: indentAttrs
2014-01-18
18:39
Removed unused define. check-in: cbd75ded2b user: rolf tags: trunk
2014-01-10
01:11
Improved speed of operations in node token mode notable. This is achieved by introducing a Tcl_Obj type tdomNodeType. Tcl_Objs of type tdomNodeType are created without string representation, saving malloc costs until string representation is needed (which typically isn't needed). Additionally, DOM node identification from token is faster with tdomNodeType Tcl_Objs. check-in: 8f70a39a92 user: rolf tags: trunk
2014-01-01
22:08
Enhanced bench suite. Closed-Leaf check-in: 7148e12240 user: rolf tags: tdomNodeType
04:03
Made tcldom_returnNodeOjb static. check-in: 40b95f4a60 user: rolf tags: tdomNodeType
2013-12-31
18:01
Most obvious, low hanging fruits of the tdomNodeType Tcl_Obj reform are harvested now. A lot of (if not most) operations in token mode are faster (some micro-benchmark measurements say roughly double speed (or even more)). Even operations in cmd mode seem to be a little bit faster, for whatever reasons. Valgrind checked test suite run is still fine. Because this are changes within the heart of the extension, I'll test this futher in real-live applications, before merging this into trunk. check-in: 9b93825de2 user: rolf tags: tdomNodeType
2013-12-30
19:52
Return tdomNodeType Tcl_Objs from a couple of methods (still some to do), if in token mode. check-in: 7d85454598 user: rolf tags: tdomNodeType
2013-12-29
23:47
Continue work: tdomNodeType works, next step will be to use that. check-in: bb9692ad56 user: rolf tags: tdomNodeType
01:29
Update from trunk. check-in: 6b6f0a48b7 user: rolf tags: tdomNodeType
01:25
Minor test suite correction and addition. check-in: 12ce2296e4 user: rolf tags: trunk
2013-12-28
14:51
Start tdom Tcl_ObjType reform. check-in: 06841faa5b user: rolf tags: tdomNodeType
2013-12-27
21:56
More #ifdefery, to handle tip 388 changes to tcl.h. check-in: ebe56a3001 user: rolf tags: trunk
2013-12-24
01:07
Improved handling of characters beyond BMP. check-in: ea86851d90 user: rolf tags: trunk
01:00
Improved check for binary compatibility. Closed-Leaf check-in: f8a539484c user: rolf tags: beyondBMP
2013-12-23
22:27
More tests in this area. check-in: 0061b52914 user: rolf tags: beyondBMP
02:19
Handled this mess even further. New dom method isBMPCharData, to check, if a string has only characters out of the BMP. With TCL_UTF_MAX > 3 even 4 byte utf-8 character will be serialized as character entities only with -escapeNonASCII. With TCL_UTF_MAX = 3 (the default of the core) 4 byte utf-8 character will always be serialized als character entities, even if -escapeNonASCII is not given. If tDOM was build against a core with other TCL_UTF_MAX then the interpreter, which [load]s it, it complains and raises error. New dom featureinfo subcommand TCL_UTF_MAX, which returns the TCL_UTF_MAX value of the tcl core, tDOM was build with. check-in: ab3fea493c user: rolf tags: beyondBMP
2013-12-22
18:16
Some more minor modifications to make tdom handle 4 byte utf-8 characters right (if one gets them into a dom tree, by character entities within the xml or using parsefile). Still, accessing such pcdata beyond BMP with dom methods or xpath queries and using the result at script level will not work correctly with current tcl default build (mangled results without notification by error). check-in: 57d6c144cc user: rolf tags: beyondBMP
2013-12-21
13:21
Don't panic while serializing 4 bytes utf-8 chars, just write them as character enities. check-in: 24d35f6835 user: rolf tags: beyondBMP
2013-12-20
14:36
Added pointer to the CHANGES file. check-in: 104046edbb user: rolf tags: trunk
14:28
Updated CHANGES. check-in: 38bc0537ec user: rolf tags: trunk
14:09
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. A return -code break from the -feedbackcmd causes the parser to almost immediatly abort parsing and let the [dom parse] call return the empty string (instead of a document) and no error. For expat parser objects: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: 611c50075f user: rolf tags: trunk
13:48
Documented behaviour of the new, special handled handler script return code -return. Added some test. Closed-Leaf check-in: 55c9bb1681 user: rolf tags: abortableParse
03:45
Handler script return codes other than -code ok, -code continue or -code break causes parse abort (via XML_StopParser). New feature: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: f8cab49830 user: rolf tags: abortableParse
01:48
Added documentation for -feedbackcmd. check-in: 45571cd469 user: rolf tags: abortableParse
2013-12-19
18:31
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. check-in: db8378c250 user: rolf tags: abortableParse
2013-12-16
10:37
Correted test description. check-in: 7e27b29b15 user: rolf tags: abortableParse
01:12
Improved error msg handling for recursive external entities. check-in: 4b9e219335 user: rolf tags: abortableParse
2013-12-15
01:13
Removed debugging code. check-in: 847fe0e7c5 user: rolf tags: abortableParse
2013-12-14
15:45
Added another test. check-in: 32853b1ede user: rolf tags: abortableParse
15:40
Fixes and improvements in case of external entities. check-in: 5cdd39dc5a user: rolf tags: abortableParse
02:50
Futher work. check-in: b9ee715299 user: rolf tags: abortableParse
2013-12-08
22:58
New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc). check-in: fd2b6b294a user: rolf tags: abortableParse
2013-12-06
23:12
Worked through compiler warnings, removed or cleand up some cruft. Less noisier build (at least for my current tool chain). check-in: 99765c41e5 user: rolf tags: trunk
2013-12-05
23:17
Minor corrections in comments and the reason for a compiler warning removed. check-in: d168f6f959 user: rolf tags: trunk
00:35
More gardening ... :-} check-in: 9d0ae0bb38 user: rolf tags: trunk
00:33
Gardening. check-in: 8d14c9884b user: rolf tags: trunk
2013-12-04
23:39
Make tdom cross-compile on linux for windows (w32/w64) with mingw-w64. check-in: 0026eb9d33 user: rolf tags: trunk
2013-11-03
22:06
Improved handling of node deletion in mt builds (fixed memory corruption, if document is attached more than one time and deleted node is other than ELEMENT_NODE type, fixed memory clean up). Still room for improvement. check-in: a77a362003 user: rolf tags: trunk
01:07
Corrected some test names. check-in: 10f0972864 user: rolf tags: trunk
2013-11-02
00:33
Document github issue 14. check-in: d2c4737409 user: rolf tags: trunk
2013-09-26
01:35
Added dom method featureinfo. check-in: 9ab65ed6fc user: rolf tags: trunk
01:30
Added tests. Documentation tweak. Closed-Leaf check-in: d40d0f4c10 user: rolf tags: dom_featureinfo
2013-09-25
00:47
Updated and regenerated doc. check-in: 8ccb6f120b user: rolf tags: dom_featureinfo
00:09
Updated from trunk. check-in: 3a3b825826 user: rolf tags: dom_featureinfo
00:03
More work on OASIS-suite.tcl. check-in: 02675cd3c8 user: rolf tags: trunk
2013-09-24
22:50
Added a Relax NG compact tmml schema definition (generated by trang from the tmml.dtd and a minor modification. check-in: 1189b8bada user: rolf tags: trunk
00:27
Added INDEX.MAP to be more in sync with README. check-in: 49ccac621d user: rolf tags: trunk
00:24
Basic tmml cleanup. check-in: b1f1aba98e user: rolf tags: trunk
00:20
Editorial change. check-in: 80ce5f7895 user: rolf tags: trunk
2013-09-22
11:27
Corrected tmml syntax errors in domNode.xml. Started documentation of dom featureinfo. check-in: aecda7733d user: rolf tags: dom_featureinfo
2013-09-21
23:44
Added dom method featureinfo. check-in: 2877d5b58a user: rolf tags: dom_featureinfo
2013-09-20
23:44
Integrated toXPath bug fix. check-in: 85d99b56af user: rolf tags: trunk
23:35
More tests. Minimal documentation. Closed-Leaf check-in: 9da0732eb4 user: rolf tags: toXPath
21:18
Updated from trunk. check-in: 697274d232 user: rolf tags: toXPath
21:17
xslt.tcl better usable for memory debugging. check-in: 5bb0267890 user: rolf tags: trunk
2013-09-19
00:10
Made OASIS-suite.tcl better usable. Started comparing with the provided ref output. check-in: 1387f10c23 user: rolf tags: trunk
2013-09-08
23:32
Skeleton to run the OASIS xslt 1.0 test suite. check-in: 1e5a9b3310 user: rolf tags: trunk
22:47
Bug fix: apply-imports could run wild, if there is an overwritten template with the same import precedence. check-in: da559675c5 user: rolf tags: trunk
2013-09-06
22:44
Added new option -legacy to the domNode cmd error msg text. check-in: e799d2e8c5 user: rolf tags: toXPath
22:41
Spell fix. check-in: 94beb1bc99 user: rolf tags: toXPath
22:36
Fixed toXPath, which didn't worked at all for namespaced nodes without a prefix and with namespaced nodes with prefix not for patholotical cases. Because the string result of the toXPath method changed even in cases, which did work there is a new option -legacy, that returns the old string value.The -legacy option will go away, in future clean ups, if it show. check-in: 1745c828bc user: rolf tags: toXPath
2013-08-31
18:23
Raised the limit of maximum number of different XML namespaceses within one DOM tree to what a signed int can hold. New configure switch --enable-lessns restores old code. This may mean (depending on the used malloc) that the DOM tree of an XML file may need a bit more memory (even if you don't have any XML namespace declaration within your documents) than before. check-in: 981c0340e2 user: rolf tags: trunk
2013-08-29
14:44
Added configure switch to build tdom with the old (much smaller) limit of different XML namespace declarations within one document while building a dom tree (and restore the old lesser memory demands). Closed-Leaf check-in: dd4f2b0aae user: rolf tags: more-xml-ns
2013-08-28
12:50
Raise the limit of maximum number of different xml namespace declarations within an xml document. check-in: a689b0c326 user: rolf tags: more-xml-ns
2013-08-17
12:49
Noted the TEA update in CHANGES. Declared Changelog as obsolete. check-in: 6c1a36e58f user: rolf tags: trunk
2013-08-16
14:59
Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16). check-in: d5664646d6 user: rolf tags: trunk
2013-08-15
01:16
Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16. check-in: 97f6f2f627 user: rolf tags: trunk
2013-07-21
16:36
Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update"). check-in: 67628d28e2 user: rolf tags: trunk
16:32
Made the example extension "example" work again. Closed-Leaf check-in: 21aeb4698d user: rolf tags: tea-update
15:25
Build of working tcldomsh finally restored. check-in: a95bf4cf89 user: rolf tags: tea-update
2013-06-13
21:29
More work on tea update for extensions. check-in: 7dab1bfb78 user: rolf tags: tea-update
2013-06-08
12:15
Started tea update of extensions. check-in: d0ce231bf9 user: rolf tags: tea-update
2013-06-06
01:49
Updated TEA for tdom core. tcldomsh seg fault makes that retarded. check-in: f5d136bd2f user: rolf tags: tea-update
2013-05-16
00:03
Update to expat 2.1.0. check-in: 90dd28722d user: rolf tags: trunk
2012-05-17
21:21
Updated check-in: a842228559 user: rolf@point.pointsman.de tags: trunk
21:12
Compatibility with Tcl 8.6 - Beginning with 8.6, interp->errorLine isn't public visible anymore (TIP 330). check-in: 411908be4f user: rolf@point.pointsman.de tags: trunk
20:30
Fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*)) check-in: c62dffee03 user: rolf@point.pointsman.de tags: trunk
2011-12-20
00:54
fix minor grammar typo in domDoc check-in: 22a1a70a31 user: jeff@bovine.net tags: trunk
2011-03-30
16:17
as per email exchange with Richard Hipp on March 29th, 2011, we can move the license of his very old XML parsing code (from TMML) into public domain: " Call it public domain. Do whatever you like with it. (Just please remove my name from the comment.) " drh@sqlite.org check-in: 1968382659 user: jolo@osslab-jl.emea.hpqcorp.net tags: trunk
2009-11-10
20:49
See file. Leaf check-in: 3e8527de8c user: rolf tags: trunk, origin
20:47
Fix for possible DoS attack (see CVE-2009-3720) check-in: 156458f135 user: rolf tags: trunk, origin
2008-08-27
11:40
See file. check-in: 171f741ae8 user: rolf tags: trunk, origin
11:39
Added missing space in target pkgIndex.tcl-hand. Thanks to Gustaf Neumann for reporting the problem and providing a fix. check-in: f72751fb57 user: rolf tags: trunk, origin
2008-05-24
22:01
See file. check-in: b4d7122edf user: rolf tags: trunk, origin
21:59
The XPath function element-available() should, aroding to the rec, return true "if and only if the <argument> is the name of an instruction". That is, not for all known XSLT elements. check-in: eb05498afc user: rolf tags: trunk, origin
2008-03-04
21:04
See file. Leaf check-in: 1b5b7e10e4 user: rolf tags: tdom-0.8.3-postrelease, trunk
21:03
Added a few casts, to pacify picky compliers. check-in: 43b903a3b0 user: rolf tags: trunk
20:58
See file. check-in: 45cb0ea256 user: rolf tags: trunk
20:52
Added a cast, to pacify picky compliers. check-in: 33c186a204 user: rolf tags: trunk
20:35
See file. check-in: 5abde0c7a3 user: rolf tags: trunk
20:34
Editorial changes. check-in: ed2de2fd5c user: rolf tags: trunk
2007-12-25
23:19
See file. check-in: 88b105d155 user: rolf tags: trunk
23:18
Fixed a memory leak in case of --enable-threads. check-in: 96ee41816c user: rolf tags: trunk
2007-10-30
11:49
See file. check-in: 1a8b351623 user: rolf tags: trunk
01:05
See file. check-in: 804488f478 user: rolf tags: trunk
01:04
ID Attributes in HTML documents parsed with -html do what you expect: you find it with getElementById. check-in: 4ce79736e0 user: rolf tags: trunk
2007-10-29
19:10
See file. check-in: 6f35ae3850 user: rolf tags: trunk
19:07
Fixed documentation error in the documentation of the replaceChild method. check-in: 335a3354ed user: rolf tags: trunk
2007-10-08
16:23
See file. check-in: 9d006c9b12 user: rolf tags: trunk
16:23
Fixed handling of attributes without value. Now, an attribute without value gets the attribute name as value. check-in: d11d12aebe user: rolf tags: trunk
2007-10-04
17:48
See file. check-in: 0141ef9e02 user: rolf tags: trunk
17:48
Fixed test domDoc-1.2: Test was broken in case of locale != ISO-8859-1 (or -15). check-in: 7d6119c645 user: rolf tags: trunk
2007-10-03
11:16
See file. check-in: 68b613a1f1 user: rolf tags: trunk
11:16
makefile.vc generated a pkgIndex.tcl file, that didn't work in case of spaces in the install path. Thanks to Koen Danckaert. check-in: 030301a147 user: rolf tags: trunk
2007-09-27
23:19
See file. check-in: 220f9aa9b2 user: rolf tags: trunk
23:17
Added this files: Start of a benchmark suite. check-in: e327e2dd7b user: rolf tags: trunk
2007-09-24
23:36
See file. check-in: 3f97b142e5 user: rolf tags: trunk
23:35
Updated. (Thanks to Pat Thoyts.) check-in: 9fdf326a15 user: rolf tags: trunk
23:31
See file. check-in: cb867d5532 user: rolf tags: trunk
23:30
Fixes tnc building against uninstalled tdom (Thanks to Daniel A. Steffen.) check-in: a4268b4f7d user: rolf tags: trunk
2007-09-21
12:35
Bumped version number to 0.8.3. check-in: 0e9efad745 user: rolf tags: trunk
2007-08-23
16:35
See file. check-in: dd26df8a4e user: rolf tags: trunk
16:34
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). check-in: 5d08962991 user: rolf tags: trunk
16:33
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). Checked the code for similar spots and fixed a few. Replaced a fprintf(stderr, ..) called in an 'impossible' case with a more appropriate domPanic call. check-in: 7614ab937d user: rolf tags: trunk
2007-08-18
19:45
See file. check-in: 22f69747ad user: rolf tags: trunk
19:44
Code cleanup in document() implementation. check-in: beb97872f7 user: rolf tags: trunk
12:52
See file. check-in: 21ff9cd6fa user: rolf tags: trunk
12:51
More constification and clean up. check-in: a3bd6b4470 user: rolf tags: trunk
00:33
See file. check-in: c77a449cd1 user: rolf tags: trunk
00:33
Big const ification. check-in: d68baf7688 user: rolf tags: trunk
2007-08-15
21:49
Doh! It's still 2007-08-15! check-in: 9655a52fdc user: rolf tags: trunk
21:44
See file. check-in: bce8238427 user: rolf tags: trunk
21:42
New default build: --disable-tdomalloc. check-in: 1cc5318f8e user: rolf tags: trunk
21:40
See file. check-in: b13b9c529a user: rolf tags: trunk
21:40
New default build: --disable-tdomalloc. check-in: 984d64380a user: rolf tags: trunk
21:07
See file. check-in: 549783a376 user: rolf tags: trunk
21:06
Updated. check-in: fb0051746c user: rolf tags: trunk
21:05
See file. check-in: f8cf723db4 user: rolf tags: trunk
20:53
Bumped version to 0.8.3. check-in: 8e7e1eb103 user: rolf tags: trunk
2007-08-14
23:22
See file. check-in: 61c43e99fc user: rolf tags: trunk
23:22
Bumped version to 0.8.2 check-in: 4852addeb4 user: rolf tags: trunk
2007-08-12
11:55
See file. check-in: 205a9e2f16 user: rolf tags: trunk
11:55
Updated the asXML related parts of the doc and node cmd usage msg. Corrected a typo in the error msg in case of wrong # of args to asXML. check-in: f5076031ca user: rolf tags: trunk
11:30
See file. check-in: f273b0e834 user: rolf tags: trunk
11:29
Ensure that the new code build also with tcl8.0.x (although that old versions doesn't have extension stubs tables.) check-in: addc00e739 user: rolf tags: trunk
2007-08-11
23:11
See file. check-in: a7cde3fcae user: rolf tags: trunk
23:10
Tweaks to build tnc with win/msys/mingw. check-in: 93fa66332f user: rolf tags: trunk
23:08
Removed irritating breaks in TDOM_PATH_CONFIG. check-in: 084ad3d90a user: rolf tags: trunk
22:20
See file. check-in: 35882199d9 user: rolf tags: trunk
22:20
Editorial fix. check-in: fcd1946f1b user: rolf tags: trunk
22:15
See file. check-in: 0d808b808a user: rolf tags: trunk
22:15
Rewritten from the scratch. check-in: 3af502623e user: rolf tags: trunk
00:39
See file. check-in: 2b38339d0a user: rolf tags: trunk
00:39
Code cosmetic. check-in: 8257fa162c user: rolf tags: trunk
00:12
See file. check-in: 144a742fb9 user: rolf tags: trunk
00:04
See file. check-in: 576601d1ab user: rolf tags: trunk
00:04
Updated error msg in case of wrong # of args to the asXML method to the new added option -escapeAllQuot. check-in: 1b47625393 user: rolf tags: trunk
00:01
See file. check-in: 0f03f9df2d user: rolf tags: trunk
00:00
Fixed build problem with the build environment win/msys/mingw. check-in: cd06b33d20 user: rolf tags: trunk
2007-08-10
22:46
See file. check-in: a40a203b67 user: rolf tags: trunk
22:46
Fixed editorial mistake in comment. check-in: f20f436aeb user: rolf tags: trunk
22:40
See file. check-in: bddfeb7bfb user: rolf tags: trunk
22:38
Rewritten from the scratch. check-in: 097560b234 user: rolf tags: trunk
2007-08-08
15:52
See file. check-in: 3e3cd4f70e user: rolf tags: trunk
15:52
Another change needed, to complete the new type of domDoc->documentNumber. check-in: 44a3ae9ffd user: rolf tags: trunk
2007-08-07
20:32
See file. check-in: b3fe57ee36 user: rolf tags: trunk
20:32
See file. check-in: 59d99d938e user: rolf tags: trunk
20:32
Correction for 64 bit systems. check-in: ef534410d7 user: rolf tags: trunk
20:12
See file. check-in: 5754fc9ae9 user: rolf tags: trunk
20:10
Changed domDoc->documentNumber, domUniqueNodeNr and domUniqueDocNr to unsigned long, to prevent hard to debug / reproduce problems on 64 systems. check-in: 47be960351 user: rolf tags: trunk
19:59
Don't use precompiled headers. check-in: 8d89644b7b user: rolf tags: trunk
18:09
See file. check-in: 9dc5b2a8c3 user: rolf tags: trunk
18:09
Brought in sync with tdom core. check-in: 37a883998f user: rolf tags: trunk
17:54
See file. check-in: 6f42ee9aa9 user: rolf tags: trunk
17:54
Compiler pacifying. check-in: 6bb6d68fde user: rolf tags: trunk
17:27
Editorial correction. check-in: 4648b6e894 user: rolf tags: trunk
17:26
See file. check-in: 0960c6afa1 user: rolf tags: trunk
17:26
Fixed a wrong function signature. check-in: 3ca432a232 user: rolf tags: trunk
17:25
Made the compiler happy. check-in: e2883d0b25 user: rolf tags: trunk
00:06
Corrected typo. check-in: 6e8a4fd524 user: rolf tags: trunk
2007-08-06
23:56
See file. check-in: 51e46e37b0 user: rolf tags: trunk
23:55
Still problems on 64bit /w -externalentitycommand. This health the biggest pain. check-in: 577fa61eff user: rolf tags: trunk
23:55
Corrected an error msg. check-in: 73bf9fdbb0 user: rolf tags: trunk
2007-08-05
19:34
See file. check-in: 7e56787f3d user: rolf tags: trunk
19:33
Bumped version to 0.8.2. Missed that in 0.8.2rc1 check-in: 42acc3a56c user: rolf tags: trunk
18:51
See file. check-in: aa8aed96e3 user: rolf tags: trunk
18:47
Bumped version to 0.8.2. check-in: ed3492aa0b user: rolf tags: trunk
18:09
See file. check-in: f5a6c26e8e user: rolf tags: trunk
17:53
See file. check-in: cb17e14a8d user: rolf tags: trunk
17:52
Casted arg of ctype.h is* macros/function calles to unsigned char to reduce compiler warning noise. check-in: 523049bfc6 user: rolf tags: trunk
17:27
In case of asXML with indentation: indent XML comments as well. check-in: afb7224400 user: rolf tags: trunk
17:04
See file. check-in: eb764ed238 user: rolf tags: trunk
17:04
Added documentation to the new variable references feature of the selectNodes method, for the deleteXPathCache method and the -escapeAllQuot option of the asXML method. check-in: 06328981a1 user: rolf tags: trunk
16:52
See file. check-in: 35cc194bda user: rolf tags: trunk
16:52
Fixed a mem leak introduced by deleteXPathCache. Added option -escapeAllQuot to the asXML method. check-in: 6f8271b479 user: rolf tags: trunk
02:12
See file. check-in: ce2548d4aa user: rolf tags: trunk
02:11
Added method deleteXPathCache: basic control over the xpath expression cache. check-in: 4ff79014b6 user: rolf tags: trunk
01:17
See file. check-in: 12a65f6735 user: rolf tags: trunk
01:15
Variable references (at the places allowed by the XPath syntax) will now be resoved as Tcl variables, relative to the scope of the expression. Ignoring the XPath syntax rules at this point, any valid Tcl variable name will work. check-in: 3843d517af user: rolf tags: trunk
2007-08-02
23:44
See file. check-in: b13684706a user: rolf tags: trunk
23:43
Added doc method renameNode, without XML namespace awareness. There will be a final (XML namespace aware) method implementation after 0.8.2, therefore, this will slip in as hidden or 'unsupported' and at least undocumented method. check-in: 5f42d91a2e user: rolf tags: trunk
2007-07-31
00:58
See file. check-in: a475d9f6c2 user: rolf tags: trunk
00:57
Bug fix: floats in xpath expressions starting with . could have an additional (erroneous) dot in it without detection. check-in: 2d062126ae user: rolf tags: trunk
00:25
See file. check-in: 07090a77a3 user: rolf tags: trunk
00:23
Update to expat 2.0.1; minor build cosmetic. check-in: 8ef882fd3e user: rolf tags: trunk
00:16
Update to expat 2.0.1; minor build cosmetic. check-in: 5658159fd7 user: rolf tags: trunk
2007-07-26
23:52
See file. check-in: dd449f00e1 user: rolf tags: trunk
23:51
Updated to TEA 3.6. Rebuild configure. check-in: 14aa2aca24 user: rolf tags: trunk
23:46
See file. check-in: 7799570581 user: rolf tags: trunk
23:44
Updated to TEA 3.6. Rebuild configure. check-in: 23a07048b3 user: rolf tags: trunk
2007-07-25
15:28
Editorial change to the entry 2007-07-23. check-in: fd547f1d52 user: rolf tags: trunk
15:27
See file. check-in: 0af172693d user: rolf tags: trunk
15:27
Fix for the -externalentitycommand problems on (some) 64-bit plattforms. check-in: 65346f35d7 user: rolf tags: trunk
12:12
See file. check-in: ecdd09eca5 user: rolf tags: trunk
12:12
Added a few tests related to white-space in XPath expressions. check-in: fb68977404 user: rolf tags: trunk
2007-07-22
23:50
See file. check-in: fbfe73de5f user: rolf tags: trunk
23:45
Fix for problem reported by http://tech.groups.yahoo.com/group/tdom/message/1666 check-in: bf1ece8716 user: rolf tags: trunk
2007-04-19
10:57
Entry 2007-04-18: I changed the doc/domDoc.* files, not the domNode.* ones. check-in: b536ac904b user: rolf tags: trunk
2007-04-18
00:03
See file. check-in: 12afacb38d user: rolf tags: trunk
00:02
Emendation. check-in: b56663a551 user: rolf tags: trunk
2007-03-02
23:44
See file. check-in: 5c41729798 user: rolf tags: trunk
23:43
Fixed (at least for most of the cases) bug in test target, in case the user builds in a dir elsewhere. check-in: 4459974038 user: rolf tags: trunk
2007-02-06
00:18
See file. check-in: c38607bb3d user: rolf tags: trunk
2007-02-04
19:55
See file. check-in: cf32e1aa7c user: rolf tags: trunk
19:54
Fixed bug in xsl:fallback handling. check-in: 7c656e1620 user: rolf tags: trunk
19:45
See file. check-in: 45bcc639c6 user: rolf tags: trunk
19:44
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and a pointer to that to README. check-in: 57121ebec7 user: rolf tags: trunk
19:43
Fixed the loading of the tDOM scripted library in case of run with tcldomsh. check-in: 8a6220e665 user: rolf tags: trunk
19:40
Minor editorial changes. check-in: 8ef295c71f user: rolf tags: trunk
19:36
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and an pointer to that to README. check-in: 2758739247 user: rolf tags: trunk
2007-02-02
15:22
See file. check-in: 33f0ef70e3 user: rolf tags: trunk
15:21
Corrected spelling error in tdom.m4, re-generatedconfigure. Thanks to Larry Virden for reporting. check-in: 128d38605b user: rolf tags: trunk
2007-01-16
00:16
See file. check-in: 5bcce284e1 user: rolf tags: trunk
00:16
The build tool combination TEA/cygwin/VC++ needs a crude hack. check-in: 4ece8812d4 user: rolf tags: trunk
2007-01-10
19:05
See file. check-in: 122a61e08b user: rolf tags: trunk
19:04
Now uses @PKG_LIB_FILE@ for the dll name. check-in: 4239e87aa6 user: rolf tags: trunk
18:15
See file. check-in: 320e611268 user: rolf tags: trunk
18:15
Fixed the name of the shared lib. check-in: fc23a77adf user: rolf tags: trunk
18:14
Don't call target install-doc while installing - the tnc doc is in the top level doc dir. check-in: 12288e9463 user: rolf tags: trunk
18:13
More corrections: Did not install the tDOM stubs library. Minor other corrections related to distclean. Again thanks to Andreas Kupries. check-in: 4d9e87bcdb user: rolf tags: trunk
2007-01-09
17:58
See file. check-in: 8e6c3338b3 user: rolf tags: trunk
17:58
Did not install tdomConfig.sh anymore, which causes trouble building tDOM extensions (including tnc). Thanks to Andreas Kupries for reporting the problem with analysis. check-in: 7de609e50c user: rolf tags: trunk
2007-01-05
13:36
See file. check-in: b94c45eca0 user: rolf tags: trunk
13:35
In XPath expressions: Whitespace between the abbreviated attribute axis specifier @ and the attribute name is allowed. check-in: cdce3c4ffa user: rolf tags: trunk
2006-11-22
16:40
See file. check-in: 8c536c37f9 user: rolf tags: trunk
16:40
Normalize case of attribute also (not only elements). Accept space on both sides of the = of attribute values. check-in: 749a4d3019 user: rolf tags: trunk
2006-11-08
00:20
See file. check-in: f5a107046d user: rolf tags: trunk
00:19
Fixed seg fault in XPath expr parser for a certain kind of erroneous XPath expressions. check-in: 7a36c0d787 user: rolf tags: trunk
2006-08-27
21:47
See file. check-in: d6b799ebb3 user: rolf tags: trunk
21:12
Updated the TEA build system to 3.5. check-in: 034a85acb8 user: rolf tags: trunk
2006-05-24
11:32
See file. check-in: 1cbe237abe user: rolf tags: trunk
11:32
Fix of the isQName method: Strings with valid prefix and non-NCNameStart char as first char after the ':' wasn't detected as invalid QName. check-in: 4333e15e90 user: rolf tags: trunk
2006-01-08
00:26
See file. check-in: 0550334acc user: rolf tags: trunk
00:26
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: 8f42a7da8b user: rolf tags: trunk
2006-01-07
23:58
See file. check-in: 602ea7d933 user: rolf tags: trunk
23:57
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: a9884cb919 user: rolf tags: trunk
2006-01-06
13:20
Fixed typo in the last changes. check-in: e1e4c2c5f7 user: rolf tags: trunk
13:20
See file. check-in: 164a674cb0 user: rolf tags: trunk
01:57
Fixed markup errors. check-in: 9c95e09217 user: rolf tags: trunk
2005-12-10
21:10
See file. check-in: ef90570e5a user: rolf tags: trunk
21:09
Fixed bug in namespace handling in xsl:copy-of. check-in: d3f39e0552 user: rolf tags: trunk
2005-12-03
13:14
See file. check-in: 5176d9984b user: rolf tags: trunk
13:14
Added a test for the special handling of the content of script/style tags in case of asHTML. check-in: 7064f907ba user: rolf tags: trunk
13:12
Fix of the cloneNode method: if the node to clone (or, in case of -deep, a node within the subtree to clone) had a namespace declaration attribute then the result was wrong. check-in: 748bc149ec user: rolf tags: trunk
2005-10-19
19:15
See file. check-in: 978789845b user: rolf tags: trunk
19:14
Fixed string-length() and substring() to work on chars, as they should, not on bytes. check-in: a4a5e6d71a user: rolf tags: trunk
2005-09-27
16:43
See file. check-in: db14336200 user: rolf tags: trunk
16:43
Added a test case, reported by Richard Suchenwirth, which crashes 0.8.0, but raises error with current cvs head, without any mem problems. check-in: fdb76e5535 user: rolf tags: trunk
2005-09-24
16:52
See file. check-in: 9a6bd2ff4a user: rolf tags: trunk
16:51
Doh! The code detected ill grouping-size values and set errMsg accordingly, but didn't propagate the error. Fixed. Do memory cleanup after detecting wrong xsl:number level attribute value. Fixed memory leak in case of incorrect xslt attributes of included or imported xsl:stylesheet elements. Fixed memory leak in case of syntactically wrong xsl:key use attribute XPath expression. Fixed memory leak in case of toplevel parameter or variables which are syntactically incorrect, because they have both a select attribute and content. check-in: ca646d6601 user: rolf tags: trunk
2005-09-20
10:44
Corrected wording of last check in comment. check-in: 53b65a7af4 user: rolf tags: trunk
2005-09-18
23:43
See file. check-in: 7598616ca8 user: rolf tags: trunk
23:42
Improved detection/reporting of XPath syntax errors. Fixed two memory leaks in the XPath parser in case of kind of erroneous XPath expressions. check-in: 8cf25a61b6 user: rolf tags: trunk
2005-09-17
00:35
Removed baseless claim in last check-in comment: The corrected id() error raising case was the last one of wrong runtime errors. The other XPath expression errors, with are still in fact run time detected errors could be catched, at least in theory, at expr 'compilation' time. check-in: f0b804376d user: rolf tags: trunk
00:18
See file. check-in: 16be01fc8a user: rolf tags: trunk
00:18
id() on an empty node set should return an empty string, according to the rec, not raise an error, as it did up to now. Fixed a memory leak in concat() in the case of xpath expressions as arguments, which raise error. Normally, XPath expressions doens't raise error at all; that's how XPath is designed. That is unfortunately not completely true with current tDOM, because of a few buggy returns in the tDOM XPath function implementations (to be fixed quickly), because, tDOM doesn't do an as rigoros as possible argument check at XPath expression parsing time (that will change) and because of user defined XPath extension functions. check-in: 88f05466f1 user: rolf tags: trunk
2005-09-16
00:25
See file. check-in: 535084eb59 user: rolf tags: trunk
00:25
Fixed memory fault in case of external documents resolved based on the base URI of a node of the source element. check-in: 3c56644148 user: rolf tags: trunk
2005-09-12
22:12
See file. check-in: 32234129ee user: rolf tags: trunk
22:11
Bug fix: The namespace axis will be emtpy unless the context node is an element. check-in: 5d5240f9ee user: rolf tags: trunk
22:08
See file. check-in: 270ec05e2b user: rolf tags: trunk
22:07
Improvement of the build system. Now works also with the tool combination cygwin/TEA/VC++. Thanks to Andreas Kupries for his patch. check-in: 08094ff26d user: rolf tags: trunk
2005-08-25
23:05
Spelling correction of the last check-in. check-in: 4481b1b0f7 user: rolf tags: trunk
23:00
See file. check-in: cc2e897e70 user: rolf tags: trunk
22:59
Removed tests about mt-ness of tclsh/tdom, due to popular demand. Mt compiled tDOM now will load into non-mt tclsh, as will a non-mt compiled tDOM into a mt tclsh. NOTES: Using a non-mt tDOM within only one thread of a mt tclsh should work just fine. But never ever use a non-mt tDOM in several threads of a mt tclsh. That may crash randomly. Use, how surprising, an mt-enabled tDOM for that. This will work fine. Using a mt aware tDOM within a non-tm tclsh is little bit slower and memory demanding. It will also have a few methods, that are superfluous with the non-tm tcl context. It should always work, but for best results use a non-mt tDOM with non-mt tclsh. check-in: 1871fb2c18 user: rolf tags: trunk
2005-08-20
01:33
See file. check-in: 832f1a9aa5 user: rolf tags: trunk
01:33
Bug fix: Use domPreviousSibling() in xsltNumber() to prevent erroneous results, if attribute nodes are involved in the numbering. check-in: 008cee2391 user: rolf tags: trunk
01:31
Added function domPreviousSibling(). check-in: 234b84b7bd user: rolf tags: trunk
2005-06-10
00:38
See file. check-in: 00d8864765 user: rolf tags: trunk
00:36
Added a few tests. check-in: beff6b3d33 user: rolf tags: trunk
00:33
Added test, to document handling of white space outside the document element even in case of -keepEmpties (it's markup white space and will be removed). check-in: dcd1541d6c user: rolf tags: trunk
00:21
Removed unused variable. check-in: 82165d42d4 user: rolf tags: trunk
00:21
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. Closed memory leak in case of not well-formed input to the simple or html parser. check-in: 2d252a117c user: rolf tags: trunk
00:20
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. check-in: 7988ebf1b0 user: rolf tags: trunk
2005-05-13
00:44
Fixed typo in last entry. check-in: 59269725bf user: rolf tags: trunk
00:43
See file. check-in: 3cebcfa5e3 user: rolf tags: trunk
00:28
Fixed seg fault is case of some garbage input. check-in: b07dff03b4 user: rolf tags: trunk
2005-05-12
17:11
See file. check-in: 376696646f user: rolf tags: trunk
17:11
Fix: domNode nodeValue $newValue didn't check the newValue for being valid pcdata. check-in: 0a6e18b84c user: rolf tags: trunk
2005-05-02
13:20
See file. check-in: 13bf90cb4c user: rolf tags: trunk
13:18
Bug fix: expat parser method parsechannel didn't (depending on the encoding of the channel) reported parsing errors. check-in: 71c78179db user: rolf tags: trunk
2005-04-11
12:21
Use @AR@, as in TEA 3.2. check-in: 2d9aa51942 user: rolf tags: trunk
02:02
See file. check-in: 4c23538244 user: rolf tags: trunk
02:01
Updated. check-in: cb109fbb35 user: rolf tags: trunk
02:00
Deleted. check-in: b57d4ce2ca user: rolf tags: trunk
01:43
Updated to request tdom 0.8.1. check-in: 20871bd940 user: rolf tags: trunk
01:39
Updated to use TEA 3.2. Thanks to Daniel A. Steffen and Andreas Kupries for input. check-in: 707f0d9f50 user: rolf tags: trunk
2005-04-04
19:04
See file. check-in: 7bde8b1c6c user: rolf tags: trunk
19:03
Removed last comma in enum XML_Status declaration, to prevent compiler errors (xlc on AIX 64). (Current expat CVS head has the same fix.) check-in: d05ccff18b user: rolf tags: trunk
2005-03-26
14:08
See file. check-in: 302d4d8619 user: rolf tags: trunk
14:07
Changes, to prepare adding of node creating cmds, which creates namespace aware nodes. check-in: 18537ed52a user: rolf tags: trunk
14:07
Removed (anyway not correctly working) work-around to set parent of the childs of doc->root (problem now correctly fixed by changes in dom.c). check-in: 61ee883ba8 user: rolf tags: trunk
14:06
Fix in domAppendNewElementNode(), domAppendLiteralNode() and domAppendNewTextNode(): if the created node is a child of doc->root, set the parentNode according. check-in: b97cb015ce user: rolf tags: trunk
2005-03-21
01:10
Fixed spelling error in last entry. check-in: 09d39d9d79 user: rolf tags: trunk
01:08
See file. check-in: 65f6c924cf user: rolf tags: trunk
01:08
Fixed flawed test, which slipped throu, somehow. check-in: 96d301a67f user: rolf tags: trunk
2005-03-18
02:17
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: aa91d3c654 user: rolf tags: trunk
02:16
See file. check-in: f5786b685b user: rolf tags: trunk
02:16
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: b34752dead user: rolf tags: trunk
2005-03-13
01:07
Grrr. And the date was also wrong. check-in: 6112c381b8 user: rolf tags: trunk
01:07
Fixed an mistake in the last check-in: the changed file was xslt.text, not xpath.test. check-in: e1dbfb7887 user: rolf tags: trunk
01:06
See file. check-in: f25a93872c user: rolf tags: trunk
01:06
Added two tests about two subtleties of the XPath syntax: white space between the $ and a varname are not allowed, while white space between the braces of node() is allowed. check-in: 0240a04ee8 user: rolf tags: trunk
00:48
Fixed mess created by using two different check outs and commiting from both without syncing. check-in: 7c9d524443 user: rolf tags: trunk
2005-03-11
18:16
Using of a node creating command outside of node context after that node creating command was already used in node context didn't raised error (as it should) but could have all kinds of effects (including seg fault). check-in: 4d169116f2 user: rolf tags: trunk
2005-02-26
13:25
See file. check-in: 65002a1a5a user: rolf tags: trunk
13:25
Fix for MT-enabled tDOM: If a doc was attached to more than one thread, nodeCmd creation was borken (only one thread got a nodeCmd for a given node). check-in: eff67db5ef user: rolf tags: trunk
2005-02-03
18:44
See file. check-in: 5cff7b495c user: rolf tags: trunk
18:35
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Added documentation for the domDoc method internalSubset. check-in: 68ef504f34 user: rolf tags: trunk
18:27
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: 6fb1633bd7 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Bug fix: current() did not work in xsl:key use expressions. Moved setting of xs->current from all about the place into evalXPath. A bit code massage, to avoid bogus compiler warning. check-in: 28b1d4af23 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: affe666ca5 user: rolf tags: trunk
17:45
Editorial changes. check-in: 82f23225b0 user: rolf tags: trunk
2005-02-02
08:58
See file. check-in: b81a5dbb42 user: rolf tags: trunk
08:58
Updated to provide the new defines PACKAGE_NAME and PACKAGE_VERSION introduced by the update to TEA-3 support. check-in: 66d1f50c2d user: rolf tags: trunk
2005-01-18
23:55
See file. check-in: 7a22ab6b87 user: rolf tags: trunk
23:44
Renamed exported symbols attrNames and tagNames to tdom_attrNames and tdom_tagNames, to avoid name clash. tartDoctypeDeclHandler() and endDoctypeDeclHandler(): added missing static. check-in: 2ac9019f04 user: rolf tags: trunk
2005-01-16
12:05
Updated file. check-in: cf70bc0c97 user: zv tags: trunk
11:59
Added example how to build tDOM as module for AOLserver 4.x check-in: 1e3e501ba4 user: zv tags: trunk
11:59
Added TEA-3 support check-in: 6b8ed8381a user: zv tags: trunk
11:57
Uses PACKAGE_NAME and PACKAGE_VERSION instead of hard-coded strings check-in: 15c12b1b44 user: zv tags: trunk
11:57
Honours virtual servers in 4.x AOLserver check-in: 0980d4a5ef user: zv tags: trunk
11:56
Loads 0.8.1 for testing check-in: 97e5ceb43e user: zv tags: trunk
11:56
Added new TEA-3 build check-in: 2707d1eae6 user: zv tags: trunk
11:55
Bumped version to 0.8.1 check-in: 9b10717c76 user: zv tags: trunk
2005-01-11
18:00
See file. check-in: 8bd27969e0 user: rolf tags: trunk
17:59
Added documentation for the -cache option of the selectNodes method. check-in: 6f917aad90 user: rolf tags: trunk
16:02
Corrected indentation of the last few entries. check-in: 160537cb14 user: rolf tags: trunk
16:00
See file. check-in: f55a568a01 user: rolf tags: trunk
15:57
Scripted xpath function element-available: moved xsl:output to the avaliable elements, since it's in fact avaliable in the meantime (with exception of the 'version' and 'cdata-section-elements' attributes) - the output options could be queried from the result doc, but it's the responsibility of the application, to serialize the tree according to that settings. check-in: 3955ed2be7 user: rolf tags: trunk
2005-01-10
20:44
See file. check-in: 5d369f1836 user: rolf tags: trunk
20:43
Corrected typo. check-in: 3299c813f6 user: rolf tags: trunk
19:09
See file. check-in: cec75cf5d0 user: rolf tags: trunk
19:07
Fixed a leftover reference to embedded hash table in domDocument struct. check-in: 2a90ec4f84 user: rolf tags: trunk
02:13
See file. check-in: 219425fc7b user: rolf tags: trunk
02:11
Don't embed Tcl_HashTables into dom Docs, use pointers to the hash table. Added -cache option to the selectNodes method. check-in: 1bc3712dbc user: rolf tags: trunk
2005-01-07
15:16
See file. check-in: b672d05e22 user: rolf tags: trunk
15:16
Added this files. Thanks to Pat Thoyts for contribution. check-in: 0d4188b820 user: rolf tags: trunk
15:14
Improved VC++ compiler makefile. Thanks to Pat Thoyts for contribution. check-in: 1dc6acc00d user: rolf tags: trunk
15:08
Clean up, to decrease (innocuous) compiler warnings (thanks to Pat Thoyts for triggering input and patch). check-in: 557cc56ed2 user: rolf tags: trunk
2005-01-06
19:25
See file. check-in: 58221ebd8f user: rolf tags: trunk
19:24
Noted, that if the list bind the same prefix to different namespaces, then the first binding will win. check-in: 687db99f29 user: rolf tags: trunk
19:22
Added methods transform and delete to xsltCmds. check-in: 272d1209c5 user: rolf tags: trunk
19:21
Added some 'selectNodes -namespaces' tests. check-in: dfe76f6946 user: rolf tags: trunk
19:20
Handle multiple -namespaces option to selectNodes method. Added methods transform and delete to xsltCmds. Ensure, that documents created with the [dom createDocument* methods] are created as docCmds in case of 'auto' creation mode. check-in: 66fc252099 user: rolf tags: trunk
18:21
See file. check-in: cab4e74d39 user: rolf tags: trunk
18:21
Added a few tests: related to createNodeCmd (dom), node text method (domNode), chancing callback from within a callback (element, parser) and catching of recursive xsl include/import (xslt). check-in: 330a5b833e user: rolf tags: trunk
2004-12-21
12:52
See file. check-in: b1a6b651ae user: rolf tags: trunk
12:51
xsl:key with match expressions, which matches attributes, did not work. Prevent, that a stylesheet import/include itself. Editorial changes. check-in: a741ba098f user: rolf tags: trunk
02:13
See file. check-in: fd1ada9540 user: rolf tags: trunk
02:12
domAppendNewElementNode(): Set the namespace of a per xslt transformation generated node wrong under certain circumstances. This fixes http://groups.yahoo.com/group/tdom/message/1008. Removed leftover (former local used) define TNODE. check-in: 2c65ed39b6 user: rolf tags: trunk
2004-12-12
16:09
See file. check-in: ac54b13067 user: rolf tags: trunk
16:09
xpath expressions ancestor-or-self::node() and parent::node() returned wrong result if the context node is /. check-in: 5fecb1d987 user: rolf tags: trunk
2004-12-10
18:58
See file. check-in: 472f3f4e8f user: rolf tags: trunk
18:56
Don't allow the methods parse, parsechannel, parsefile, free and reset from within a callback of the parser be used but raise a tcl error. check-in: a3f7814234 user: rolf tags: trunk
2004-10-26
01:07
See file. check-in: ffcfdc3866 user: rolf tags: trunk
01:06
Added documentation for the '-namespaces' option of the selectNodes method. check-in: 61c0ee194f user: rolf tags: trunk
01:05
Added a note to the -externalentitycommand option of the parse method, that the programmer is responsible for closing the channel, if the resolver script returns a channel. check-in: 8c5b6c1329 user: rolf tags: trunk
2004-10-22
16:55
Fixed typo. check-in: da2d774c77 user: rolf tags: trunk
2004-09-29
12:18
See file. check-in: 0c5aedde96 user: rolf tags: trunk
12:18
First [load] the lib, which has [package provide tdom], so that a [package require tdom] within the script lib doesn't loop. check-in: 057873f79a user: rolf tags: trunk
11:41
See file. check-in: 0dbc5d3fd5 user: rolf tags: trunk
11:41
Added the with 0.8 added doc methods to the doc_usage. check-in: b15c8c65bb user: rolf tags: trunk
2004-09-21
01:46
See file. check-in: a008835f13 user: rolf tags: trunk
01:43
Added the '-namespaces' option to the selectNdoes method. Not resolved namespace prefixes within the xpath expression now raises an error. *** POTENTIAL INCOMPATIBILITY *** check-in: b08cb7d224 user: rolf tags: trunk
01:06
Add documentation for 'selectNodes' option. check-in: b0902bcbc3 user: rolf tags: trunk
2004-09-13
17:29
See file. check-in: b4607b15a8 user: rolf tags: trunk
17:29
Corrected a typo in an error msg. check-in: 7a9fd4dba5 user: rolf tags: trunk
2004-09-08
03:12
See file. check-in: cdabc49f0a user: rolf tags: trunk
03:12
Editorial changes. check-in: df3edb8558 user: rolf tags: trunk
2004-09-02
17:08
See file. check-in: 152b5c5f6b user: rolf tags: trunk
17:07
toXPath method: fixed bug with non-element top level nodes, closed mem leak. check-in: e5074c2f5d user: rolf tags: trunk
2004-08-31
01:56
Regenerated with current tmml HEAD, to change encoding from utf-8 to iso-8859-1. check-in: 407398a157 user: rolf tags: trunk
2004-08-23
13:03
See file. check-in: 43b8613180 user: rolf tags: trunk
13:01
Corrected typos (thanks to G. Neumann). check-in: 31fa51d7d6 user: rolf tags: trunk
2004-08-21
03:27
See file. check-in: 34f04803c7 user: rolf tags: trunk
03:23
Update to expat 1.95.8. check-in: 413ab3d861 user: rolf tags: trunk
2004-08-19
01:06
See file. check-in: 3d08e75435 user: rolf tags: trunk
01:06
Made tDOM work out of the box on 64-bit systems like Itanium 2 (though --disable-tdomalloc configure option at build time is still needed). check-in: c69e6f98cd user: rolf tags: trunk
2004-08-17
19:54
Fixed rolfs mail address for the last few entries. check-in: 12b7b3da93 user: rolf tags: trunk
19:53
See file. check-in: 50ccd5b249 user: rolf tags: trunk
19:52
Added fluff, to fix build problemx on AIX w/ xlc compiler. check-in: 0d0da079bd user: rolf tags: trunk
19:37
Removed unused variables. check-in: c55ee6bc39 user: rolf tags: trunk
2004-08-16
03:18
See file. check-in: 199df0f142 user: rolf tags: trunk
03:13
See file. check-in: e4e93d50ef user: rolf tags: trunk
03:12
Pass external entity resolver script around in string representation, (insteand of Tcl_Obj), to avoid problems with mt builds. check-in: fe5093d90c user: rolf tags: trunk
2004-08-14
14:42
Use 'Id' cvs keyword (instead of 'Header') in the file heads. check-in: 53f68b654a user: rolf tags: trunk
2004-08-11
15:21
Use Id not Header cvs keyword in the file heads. check-in: e933944ab5 user: rolf tags: trunk
02:16
See file check-in: 886900dcec user: rolf tags: trunk
00:56
Corrected a spelling mistake check-in: d656833f9d user: rolf tags: trunk
2004-08-10
19:49
Link against tDOM 0.8.0. check-in: 6c1d396a77 user: rolf tags: trunk
2004-07-28
19:29
See file. check-in: 47da660a54 user: rolf tags: trunk
18:50
[namespace export] the public procs in ::tDOM. Added a few more encodings to IANAEncoding2TclEncoding. check-in: cb6c094a97 user: rolf tags: trunk
17:22
Changed test according to the changed wording of the error msg in case of wrong mode arg to setObjectCommands. check-in: 8df6514f41 user: rolf tags: trunk
03:57
See file. check-in: 244b7c26a2 user: rolf tags: trunk
03:56
See file. check-in: 6809a487d0 user: rolf tags: trunk
03:52
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Better error msg in case of 'filename' and not valid file name. check-in: a62f1de836 user: rolf tags: trunk
03:49
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. New method createDocumentNode. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. Improved speed of the getAttribute shortcut '@attname' (and, not so notable, of tcl coded methods of the dom, domDoc and domNode cmds). Corrected typo in domNode usage msg for getElementByID. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes). check-in: 76c8406dfe user: rolf tags: trunk
03:48
New (experimental) method setObjectCommands. check-in: 507cb84752 user: rolf tags: trunk
03:46
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 63ec828117 user: rolf tags: trunk
03:44
More tests for script errors in external entity handler or errors in the requested external entities. check-in: a40d2d0cf8 user: rolf tags: trunk
03:43
Documented behaviour in case of using (senseless, wrong) 'xslt variable' in selectNode exprs. check-in: 0f334692af user: rolf tags: trunk
03:42
Better error msg in case of 'filename' and not valid file name. check-in: 38246a9641 user: rolf tags: trunk
03:41
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes) check-in: 09c30b9758 user: rolf tags: trunk
03:39
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 497d487e77 user: rolf tags: trunk
03:37
New (experimental) method setObjectCommands. New method createDocumentNode. check-in: d5e3779d2c user: rolf tags: trunk
03:35
Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes).Corrected appendChild, insertBefore, replaceChild: the new child must not be out of the fragment node, but could be a node out of the tree, check-in: af1c407048 user: rolf tags: trunk
03:31
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild,hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: b1f887f36f user: rolf tags: trunk
03:29
New (experimental) method setObjectCommands.New method createDocumentNode. check-in: f508d3015b user: rolf tags: trunk
2004-07-19
03:21
See file. check-in: 8302869bfd user: rolf tags: trunk
03:21
Better error msg in case of XML parsing errors in external entities. check-in: 26b90837e9 user: rolf tags: trunk
03:20
Bug fix: Check, if refnode given to insertBeforeFromScript is valid. check-in: d3a5b99bfd user: rolf tags: trunk
2004-07-13
03:33
See file. check-in: 75bce633fc user: rolf tags: trunk
03:32
Ensure, that the first element node of the result tree is the documentElement of the generated document. check-in: 85260eca80 user: rolf tags: trunk
03:28
See file. check-in: 5d0e3a4fc4 user: rolf tags: trunk
03:27
Empty CDATA sections should not create a node. check-in: 3c4659e86a user: rolf tags: trunk
2004-07-09
01:16
See file. check-in: 82e6cb11bf user: rolf tags: trunk
01:15
Test, if a non-mt tDOM is tried to load into a mt tclsh. check-in: 6aef2fc4a9 user: rolf tags: trunk
2004-05-26
14:41
Remove it check-in: 7a9789ba15 user: rolf tags: trunk
01:56
See file. check-in: d5704fb73e user: rolf tags: trunk
01:56
See file. check-in: f356b88094 user: rolf tags: trunk
01:51
Minor changes. check-in: 306c383ae9 user: rolf tags: trunk
01:50
Added this file. check-in: 400ba86a48 user: rolf tags: trunk
01:49
Minor editorial changes. check-in: 3dfa6b9f59 user: rolf tags: trunk
01:49
Uses the new domIsComment, domIsPINAME and domIsPIValue API functions of dom.c. Improved xsl:processing-instruction processing (now instantiating the content). check-in: ef7e89aa78 user: rolf tags: trunk
01:47
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. Bug fix in case of appendFromScript script. check-in: 765372d765 user: rolf tags: trunk
01:46
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: c53ae6acea user: rolf tags: trunk
01:46
Adapted to the new test files name schema. check-in: ed6185a4af user: rolf tags: trunk
01:45
Added this file. Includes mostly the tests out of the old dom.test. Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: a2d01a9832 user: rolf tags: trunk
01:43
Moved the tests from this file to the new domNode.test and collected dom command tests here. Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: 16ace97189 user: rolf tags: trunk
01:42
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global(thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names),text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags. check-in: af5e03476b user: rolf tags: trunk
2004-05-12
16:11
Changed cvs keyword. check-in: b7bd91a7ef user: rolf tags: trunk
16:07
Editorial change. check-in: 9f510a232e user: rolf tags: trunk
11:41
See file. check-in: b5349f782c user: rolf tags: trunk
02:38
Fixed the test for running in a source dir with tcldomsh. (doh!) check-in: 6942b42f2d user: rolf tags: trunk
02:11
Changed cvs keyword. check-in: 2b304e6c36 user: rolf tags: trunk
2004-05-08
19:32
Minor editorial changes. check-in: 4716dc798a user: rolf tags: trunk
18:12
Fixed typos in comment. check-in: 4c171a2964 user: rolf tags: trunk
00:57
See file. check-in: 1d150e8fdd user: rolf tags: trunk
00:57
Fixed html-2.1 and html-2.2. (This html reader ist crusty stuff...) check-in: 64cb1af84b user: rolf tags: trunk
00:24
See file. check-in: 4f20b3aa56 user: rolf tags: trunk
00:24
Removed superfluous arg baseURI from XML_SimpleParse(). check-in: 5e019a13db user: rolf tags: trunk
2004-03-26
00:37
See file. check-in: 633220a331 user: rolf tags: trunk
00:36
Fix for the template priority calculation and clearing out of xpathGetPrio(). check-in: ba7f759018 user: rolf tags: trunk
2004-03-14
02:21
See file. check-in: 47d859b691 user: rolf tags: trunk
02:19
Fixed a few simple parser seg faults in case of not-wf input. See xmlconf/xmltest/not-wf/sa/022.xml, xmlconf/xmltest/not-wf/sa/042.xml for examples. check-in: 09134befbe user: rolf tags: trunk
2004-01-29
19:25
Added test case with mark knownBug, to not forget about this. check-in: cbb29b4e51 user: rolf tags: trunk
2003-12-30
19:25
See file. check-in: 1b10c89302 user: rolf tags: trunk
19:24
Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.) check-in: 7734f83bc6 user: rolf tags: trunk
19:24
Implemented the special constraints on certain xpath pattern/expr (no current() func in pattern, no var references in template and key match pattern and key use expr, no key() func in key match pattern and use expr.) Editorial change: Removed some superfluous casts to (char*) from tdomstrdup result - its defined to return char*. check-in: 14a732182d user: rolf tags: trunk
19:22
Removed superfluous comma from the tdomMethod enum, which bothered the AIX xlc compiler. check-in: ad392b6a4a user: rolf tags: trunk
19:19
Doh! Undo the last changes; I fixed this already 2003-10-12. check-in: 2c422d33f6 user: rolf tags: trunk
2003-12-24
02:47
See file. check-in: 328f623e77 user: rolf tags: trunk
02:33
Bug fix: Protect against spaces in the path to the package. check-in: daa716781a user: rolf tags: trunk
2003-12-20
01:38
See file. check-in: ac8f1090e4 user: rolf tags: trunk
01:38
Also updated to new version nr 0.8.0. check-in: 1b784c6eaf user: rolf tags: trunk
2003-12-17
03:39
Fixed typo. check-in: 8b94b3c8cc user: rolf tags: trunk
03:38
See file. check-in: ca659ba188 user: rolf tags: trunk
03:38
Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) check-in: 50bb03d137 user: rolf tags: trunk
03:36
Added baseURI method, which returns the current base URI and has an optional argument to set the base URI. This enables XMLBase support on script level. (The getBaseURI is deprecated.) check-in: 6fc03c62bd user: rolf tags: trunk
2003-12-16
22:36
See file. check-in: 2e0e74af7b user: rolf tags: trunk
2003-12-15
01:22
More fixes to ensure ns integrity of xslt result trees. check-in: 823c061625 user: rolf tags: trunk
2003-12-14
18:47
Corrected date entry of the last changes. check-in: fd41972ea3 user: rolf tags: trunk
18:45
See file. check-in: 9a001678b8 user: rolf tags: trunk
18:45
Build expected result of some tests with [list], instead of providing a string rep. This hides the changes in list string rep by TIP 148, so that the tests work both with pre- and post TIP 148 tcl. check-in: e0ae8be4a3 user: rolf tags: trunk
18:45
Made test results independent from the (undefined) order of [array get]. check-in: 64b8e2895f user: rolf tags: trunk
2003-12-11
18:42
See file. check-in: fe4f52e7bb user: rolf tags: trunk
18:41
Bug fix: double mem free in case of pattern w/ FQ element with positional dependent predicate. check-in: 56ba5cea1c user: rolf tags: trunk
13:38
See file. check-in: ca86fffc22 user: rolf tags: trunk
13:35
Bug fix: Don't quash white space of non white space only content in trim mode. check-in: 44db286071 user: rolf tags: trunk
2003-12-09
14:20
See file. check-in: 5d1e8fe7cd user: rolf tags: trunk
14:20
Improved regexp to extract encoding. Corrected typo. check-in: 593bdf17ef user: rolf tags: trunk
03:00
See file. check-in: 3af58d3d31 user: rolf tags: trunk
02:59
Bug fix in namespace handling: copy-of from result tree fragments could mess up ns handling, if a default namespace is already in scope in the result tree. check-in: 78d8620e97 user: rolf tags: trunk
2003-12-08
01:51
See file. check-in: 9d181e65a8 user: rolf tags: trunk
01:50
Also updated to verson nr. 0.8.0. check-in: 9b0188eac7 user: rolf tags: trunk
2003-11-28
01:27
See file. check-in: 602a50247f user: rolf tags: trunk
01:27
Switched back to Tcl_Panic() in one case, to make MT builds work. check-in: ceb4c394ff user: rolf tags: trunk
01:25
With MT tDOM, a domDoc extRefHandler script may be used within another thread. check-in: f4c9cc0cdb user: rolf tags: trunk
2003-11-27
12:59
See file. check-in: 3d1e8a2e7f user: rolf tags: trunk
12:58
Another fix, to ensure namespace integrity of the result doc. check-in: b768f8d2b6 user: rolf tags: trunk
2003-11-26
17:01
See file. check-in: 22e0504247 user: rolf tags: trunk
17:00
Fixed parentNode of documentElement and siblings of the result tree. check-in: 620ef29cbf user: rolf tags: trunk
16:01
See file. check-in: 897467a9b5 user: rolf tags: trunk
16:00
Fix, to ensure namespace integrity of the result doc. check-in: 8893c786c2 user: rolf tags: trunk
2003-11-24
10:39
Fixed new way of default output reporting. check-in: 0e3c1ad006 user: rolf tags: trunk
10:26
See file. check-in: 4466c5ef81 user: rolf tags: trunk
10:25
Added this file. check-in: 243e918376 user: rolf tags: trunk
10:25
Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. check-in: aab6352f01 user: rolf tags: trunk
10:24
Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. Always use domPanic as panic function. check-in: 325c92cf38 user: rolf tags: trunk
10:17
(Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. Fixed mem leak with -externalentitycommand. Fixed mem leak with parsing xml document with external entity and parsing error in an external entity. Minor code clean up. Always use domPanic as panic function. check-in: 62ed272244 user: rolf tags: trunk
10:15
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. check-in: 6c6717bce7 user: rolf tags: trunk
10:14
Fixed a mem leak with some sum() calls with NaN result. Fixed invalid memory read. check-in: b3e6e12689 user: rolf tags: trunk
10:13
Always use domPanic as panic function. check-in: 4e3ff629a3 user: rolf tags: trunk
10:12
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. check-in: aca3c61b35 user: rolf tags: trunk
10:12
Don't include PIs inside the internal subset into the tree. Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Changed parserObj behavior: parser don't need a reset call after a final parse or parsing error. Always use domPanic as panic function. check-in: f35159af31 user: rolf tags: trunk
10:09
Added domDoc methods omit-xml-declaration, indent, standalone, encoding and mediaType. Bug fix: seg fault for document('') with stylesheet tree with empty baseURI. Minor optimizations. Fixed invalid memory read. check-in: 7824526c34 user: rolf tags: trunk
10:08
Fixed memeory problem, if handler script return TCL_ERROR. Made the cget method work for the parser related options, even if there are no handler scripts set. check-in: 7b137cffbb user: rolf tags: trunk
10:06
Minor addition. check-in: 0acdbe0b00 user: rolf tags: trunk
10:05
Don't include PIs inside the internal subset into the tree. (Probably) temporarily disabled automatically clean up of nodeObjCmds, to work around bug: Storing the same node in different evaluation contexts with the optional objVar argument (as in [$doc documentElement root]) at the same time did not work. check-in: 6391024643 user: rolf tags: trunk
10:03
Permanently added forced memory clean up. check-in: ed136b8141 user: rolf tags: trunk
2003-11-20
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-06-13
10:38
See file. check-in: f1436a6ee9 user: rolf tags: trunk
10:38
Added an argument check for XSLTCmds. check-in: 936d29eba1 user: rolf tags: trunk
2003-06-11
18:35
Fixed a bug in xsl:number. If there is no 'count' attribute given to xsl:number, it must default to the pattern that matches any node with the same node type as the current node and, if the current node has an expanded-name, with the same expanded-name as the current node. But in case of PROCESSING_INSTRUCTION_NODEs as the current node and no 'count' attribute, it counted all pi's regardless of the name. Now, the name is respected, as it should be. check-in: 10e814d3c7 user: rolf tags: trunk
18:35
See file. check-in: 7edd8b732d user: rolf tags: trunk
15:04
See file CV: ---------------------------------------------------------------------- check-in: ce0954a8b4 user: zoran tags: trunk
15:02
Fixed domLocksDetach; was wrongly unlocking mutex twice instead of locking it on start and unlocking it on exit. check-in: c10aa7098b user: zoran tags: trunk
2003-05-19
12:55
See file. check-in: b95af358d1 user: rolf tags: trunk
12:55
Corrected the documentation of the createDocumentNS method: the args uri and docElementName were documented in the wrong order (reported by Vico Klump). Minor markup changes. check-in: 286cf6abe4 user: rolf tags: trunk
2003-05-16
14:40
See file check-in: 8c1949e1e2 user: zoran tags: trunk
14:39
fixed preprocessor directive when compiling under AOLserver check-in: 6cb6245b08 user: zoran tags: trunk
14:36
Fixed to compile correctly when -NS_AOLSERVER defined. Also fixed some obvious typos (Zoran) in dom.h (phew!) check-in: 25004cbac0 user: zoran tags: trunk
11:54
See file. check-in: 5d9166cf39 user: rolf tags: trunk
11:52
Switched to use XML_ParserCreate_MM(), to be able (at tDOM build time) to make the expat parser use custom *alloc/free() functions (macro MEM_SUITE in dom.h). For TCL_MEM_DEBUG and NS_AOLSERVER builds the mem functions, used by the parser default now to Tcl_Alloc()/Tcl_Realloc()/Tcl_Free(). Switched to XML_FreeContentModel(), for freeing stored element content models. check-in: 9afca81854 user: rolf tags: trunk
2003-05-10
22:17
See file. check-in: aa04611d61 user: rolf tags: trunk
22:15
Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. Removed the arg xs from sortNodeSetFastMerge(), because it isn't used. check-in: 71830d068c user: rolf tags: trunk
22:10
Renamed the documents rootNode (in the sense of the XPath data model, that is not the document element) from "(rootNode)" to "", in preparation for the promissed 'domDoc without documentElement' feature, to fix a somewhat outlying problem with xslt numbering and because it's clearly more the 'right thing' according to the rec. check-in: dab1effe06 user: rolf tags: trunk
2003-04-20
10:50
See file. check-in: 66141ddcaa user: rolf tags: trunk
10:50
Proc newdoc: New optional argument (list of names of local variables) allows the use of local variables (in the scope of the caller of newdoc) in the script argument of newdoc. Contributed by Chuck Ferril. check-in: 8634886d0d user: rolf tags: trunk
2003-04-16
20:05
See file. check-in: f4b5296847 user: rolf tags: trunk
20:04
Optimization: Improved caching of external documents. check-in: 1240b0cab4 user: rolf tags: trunk
2003-04-12
02:28
See file. check-in: 1cc368bd62 user: rolf tags: trunk
02:24
Bumped version to 0.8.0 (alpha). check-in: b4ea22bb2b user: rolf tags: trunk
02:20
Bumped version to 0.8.0 alpha. check-in: edc7d63c4b user: rolf tags: trunk
2003-04-09
20:18
See file. check-in: fdd34c6f65 user: rolf tags: trunk
20:06
Added test which documents the bug prior to domxpath.c r1.63. check-in: 8c30521612 user: rolf tags: trunk
20:05
Fixed a bug in the value parsing of the -paramentityparsing option. check-in: 34abc1809a user: rolf tags: trunk
20:02
Added documentation for the toXSLTcmd method and the resulting xsltCmds. Corrected the documentation for the xslt method (missed -ignoreUndeclaredParameters and -xsltmessagecmd in the method syntax). check-in: 953bfabb7d user: rolf tags: trunk
20:01
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added 'package require tdom' to the syntax decription (http://groups.yahoo.com/group/tdom/message/446). check-in: 7ceca71c15 user: rolf tags: trunk
19:59
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Removed an unused variable. Improved error reporting in case of not found attribute. Better options check for the 'xslt' methods. Changed implementation of the dom method isQName to use the lately introduced API function domIsQNAME. check-in: b1dd756571 user: rolf tags: trunk
19:57
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). Added tests for the interface of the xsltCmds. check-in: 0231e6fe49 user: rolf tags: trunk
19:56
Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). check-in: d3a1a78a90 user: rolf tags: trunk
19:40
Fixed a bug in the creation of the error msg in case of parsing errors in an external entity. Added option -paramentityparsing to the [dom parse] method. [dom parse] option parsing now uses Tcl_GetIndexFromObj() (which additionally fixes a minor bug with the current option parsing). check-in: 803d0d341b user: rolf tags: trunk
2003-04-05
17:46
See file. check-in: 2dd42f3330 user: rolf tags: trunk
17:46
Bug fix: If the parsing state is already not TCL_OK return in the notstandalonehandler immediately success, otherwise the error msg will be overwritten with a false diagnostic. A few editorial changes. check-in: 8cecf9b419 user: rolf tags: trunk
2003-04-03
23:08
See file. check-in: d132a66738 user: rolf tags: trunk
23:07
Added domIsQNAME. check-in: 157305e7e9 user: rolf tags: trunk
23:07
Added domIsQNAME. Bug fix: For textNodes getLine/getColumn method report the position of the first char of the text node. check-in: d6adb7f78c user: rolf tags: trunk
23:06
Bug fix: Detects now some erroneous XPath expressions. Added parameter number check to XPath functions substring and concat (the last two XPath functions, without such check, they must have slipped thou somehow, up to now). check-in: a4cd1d36a9 user: rolf tags: trunk
23:05
Improved interal function reportError(), can now be used with all kind of nodes not only element nodes. Improved behavior in case of dubious numbering (negative roman number or latin letters fall back to default latin numbers). Fixed a potential memory leak (in case of overwriting named templates without match attribute with an other named template). Improved error reports: for more detected errors there is now a line/column number given. Plenty of improvements in detecting erroneous stylesheets: more checks for format-number formatting patters (although especically format-number patterns are still a can of worms), added parameter number check for additional XPath function current(), template, paramter, variable, sort, choose, copy, and message elements. check-in: 98a8b451d5 user: rolf tags: trunk
2003-03-26
01:16
See file. check-in: 8a74cc4c0c user: rolf tags: trunk
01:14
Fixed some memory problems, mostly in case of erroneous stylesheets. check-in: 3e4fa7daf1 user: rolf tags: trunk
2003-03-25
22:48
Bumped the version number to 0.7.7. check-in: 6713546dad user: rolf tags: trunk
22:46
See file. check-in: 504b0a44b5 user: rolf tags: trunk
22:46
See file. check-in: b7ba190d3c user: rolf tags: trunk
22:31
Bumped the version number to 0.7.7. check-in: 628ec6edb9 user: rolf tags: trunk
14:41
See file. check-in: 4d6003df0a user: rolf tags: trunk
14:39
Fixed error, which prevents building 0.7.6 with -DTCL_THREADS=1. (Arrrg.) check-in: a433fa7ab1 user: rolf tags: trunk
2003-03-24
20:06
See file. check-in: 8a59bd662f user: rolf tags: trunk
20:05
Noted modification of expat.h. check-in: 35f80b1c76 user: rolf tags: trunk
20:01
Updated to an after 1.95.6 version, which fixes the problem, that some compilers had with the 1.95.6 version. check-in: 804cc57b9d user: rolf tags: trunk
19:57
Final tweaking for 0.7.6. check-in: c3f651a34b user: rolf tags: trunk
2003-03-23
02:07
Fixed editorial slip throu. check-in: c90afec5b8 user: rolf tags: trunk
02:06
See file. check-in: 64b2c2958a user: rolf tags: trunk
01:21
Updated to the new version number 0.7.6 check-in: b5e5329db1 user: rolf tags: trunk
01:19
Updated to new version number 0.7.6. check-in: 1ada227aba user: rolf tags: trunk
01:16
Removed in favor of a version-less tDOM output directory. check-in: 2626074683 user: rolf tags: trunk
2003-03-22
18:56
tdomstub_BUILD_SPEC must point to the plattform specific build dir. check-in: fa1e69f5de user: rolf tags: trunk
17:46
tdomstub_BUILD_SPEC must point to the plattform specific build dir. check-in: 1ebd0f7597 user: rolf tags: trunk
16:27
Updated for 0.7.6 release. check-in: ba1800a649 user: rolf tags: trunk
02:13
See file. check-in: 437ff62f67 user: rolf tags: trunk
02:11
Updated to new version 0.7.6. check-in: 079c509dde user: rolf tags: trunk
02:07
See file. check-in: 3eec272632 user: rolf tags: trunk
01:38
Removed hard coded version number, uses now VERSION define check-in: 1384262645 user: rolf tags: trunk
01:31
Updated to new version number 0.7.6. check-in: 35fe76bc88 user: rolf tags: trunk
00:25
Added marker for 0.7.5 release. Beside this see file. check-in: 824de765e7 user: rolf tags: trunk
00:16
Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. check-in: 7d7a0eaa64 user: rolf tags: trunk
00:14
Renamed 'startBefore' method to the better name 'precedes' and changed behavior: the method now returns simply a boolean value. check-in: 6dbe77ea42 user: rolf tags: trunk
00:05
Added code needed to handle effects of the -useForeignDTD option. check-in: 4b30dbc927 user: rolf tags: trunk
2003-03-19
14:14
See file. check-in: 3059d7be0c user: rolf tags: trunk
14:10
Changed pathes to point to the location of mondial-europe.xml. check-in: b9bdea4b97 user: rolf tags: trunk
14:08
Added option -useForeignDTD to dom parse and expat. check-in: 571811ec65 user: rolf tags: trunk
14:05
Added method 'startBefore', to compare the relative order of two nodes out of the same document. Added a reminder for a minor known memory problem. check-in: 5ce44fc040 user: rolf tags: trunk
14:03
Added this file (used by the usage example of xe). check-in: 8bce07abd4 user: rolf tags: trunk
13:55
Added method 'startBefore', to compare the relative order of two nodes out of the same document. check-in: 16f004bf75 user: rolf tags: trunk
13:52
Added option -useForeignDTD to dom parse and expat. check-in: 10d8023a21 user: rolf tags: trunk
13:50
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed potential memory problem while processing erroneous stylesheet. Improved error msg in case of script errors in the -externalentitycommand script. Added method 'startBefore', to compare the relative order of two nodes out of the same document. check-in: f1e13ac49c user: rolf tags: trunk
13:47
Added explicit memory clean up of the nodecmd stack, to reduce 'noice' while memory leak debugging. check-in: 5d57e5e112 user: rolf tags: trunk
13:46
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. Fixed several potential memory leaks while processing erroneous stylesheets. Bug fix: added missing memory clean to grouping-separator/grouping-size support. check-in: 7a8fadc97a user: rolf tags: trunk
13:42
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Added option -useForeignDTD to dom parse and expat. check-in: 3a026610b6 user: rolf tags: trunk
13:41
Replaced a few exit() code with Tcl_Panic(), which ensures, that even windows users get a usefull error msg. Fixed a mem leak in handling external entities. Added option -useForeignDTD to dom parse and expat. check-in: c1c952bd76 user: rolf tags: trunk
08:54
See file check-in: a05e1f6a20 user: zoran tags: trunk
08:53
Installs the tdomConfig.sh into $libdir (whatever that points to) check-in: 1d51a34b86 user: zoran tags: trunk
2003-03-08
15:48
Hegh.... check-in: fa7ad49c92 user: zoran tags: trunk
15:48
See file check-in: dac6b201ca user: zoran tags: trunk
15:47
Disabled FASTCALL & friends check-in: 9238bc913a user: zoran tags: trunk
11:51
Fixed issues when setting --libdir and/or --prefix check-in: a09ac5e5f0 user: zoran tags: trunk
11:50
Simplified 4.0 setup again. check-in: 316ff345cb user: zoran tags: trunk
10:15
Fixed some prefix/exec-prefix stuff check-in: f18e54ace5 user: zoran tags: trunk
10:15
Fixed AOLserver 4.0 setup check-in: ccc92b8246 user: zoran tags: trunk
09:38
Cosmetics check-in: 42ad3d167a user: zoran tags: trunk
09:32
New set of files check-in: b3a0b2f57c user: zoran tags: trunk
09:27
Cosmetic check-in: a7c169e0bd user: zoran tags: trunk
2003-03-06
15:52
Removed TEA_INIT because we wo not need it for this minimal make check-in: 817310aa70 user: zoran tags: trunk
15:51
First import check-in: a0757227e3 user: zoran tags: trunk
14:28
See file check-in: 66c9feb161 user: zoran tags: trunk
14:25
First import of Bernard files for CodeWarrior check-in: 9371d69091 user: zoran tags: trunk
14:24
Added Bernard files for CodeWarrior build check-in: b0a821471a user: zoran tags: trunk
14:22
See file check-in: 520460eb27 user: zoran tags: trunk
14:22
First import check-in: 1aaea3ddcd user: zoran tags: trunk
14:07
First import check-in: 943c93879a user: zoran tags: trunk
14:01
See 06.03.2003 check-in: c747a35e0d user: zoran tags: trunk
13:58
Removed malloc.h since not needed and not found on macosx check-in: bd4b0f207d user: zoran tags: trunk
13:58
Fixed alternative use of libdir check-in: 3ccbba9506 user: zoran tags: trunk
2003-03-02
23:38
See file. check-in: 25aaa164ae user: rolf tags: trunk
23:37
Fixed bug with using the 'domNode' cmd without argument (spotted by Bernard Desgraupes). check-in: a9f37ef8bf user: rolf tags: trunk
2003-02-27
02:31
See file. check-in: e78962ebbd user: rolf tags: trunk
02:30
xsl:number attributes grouping-separator and grouping-size now also interpreted as attribute value templates. (The last two (missing up to now only by mistake) attribute value templates under the recognized xsl attributes.) check-in: 59b589e432 user: rolf tags: trunk
2003-02-26
19:44
See file. check-in: 365ed006ee user: rolf tags: trunk
19:43
Made some functions static. Removed a TODO note, which already was done. Improved some error msgs (now with line/column info, if avaliable). Bug fix: xsltXPathFuncs must return -1 to signal error, because if the source of the function call was inside of domxslt.c the result code (rc) check rule is rc < 0. Fixed text in a xsl:attribute error msg. Fixed memory leak in error case in ExecAction, case forEach. Added a missing result code check in ExecAction, case procinstr. Bug fix: Even literal result element subtrees are relevant for xslt variable scope (default case of ExecAction). Bug fix: the expression context of the match expr of a xsl:template is the xsl:template node. Now the xslt white space stripping is done before the top level processing (was done after toplevel processing). check-in: 85ed2e2506 user: rolf tags: trunk
19:11
Improved ::tDOM::xml(Read|Open)File. Now handles also utf-16 files with BOM right. check-in: 858ccf022d user: rolf tags: trunk
19:10
Removed unused variables. check-in: 34d56d9c5f user: rolf tags: trunk
2003-02-25
21:00
See file. check-in: 16d442fdba user: rolf tags: trunk
15:16
Applied proposed patch to internal.h, to fix compiler warnings with gcc on solaris. check-in: a94747ebad user: rolf tags: trunk
15:15
Updated to expat 1.95.6. check-in: 272c05015d user: rolf tags: trunk
2003-02-22
23:53
See file. check-in: a987fd45af user: rolf tags: trunk
23:52
Smaller fixes. Changed the values of the system-properties xsl:vendor (included me) and xsl:vendor-url (to http://www.tdom.org). check-in: 955041a024 user: rolf tags: trunk
23:41
Small corrections. check-in: 098df7643f user: rolf tags: trunk
21:55
See file. check-in: cc43f2700a user: rolf tags: trunk
21:47
Added new tnc method getValidateCmd. check-in: 0ecf226b17 user: rolf tags: trunk
21:19
Started test suite for the tcl interface of the tnc command and the validator commands. check-in: a2b9a24f38 user: rolf tags: trunk
21:06
Added new tnc method getValidateCmd. Changed to use the same memory allocator/free defines as the tDOM core. Bumped the version to 0.3. check-in: 1aa803e20b user: rolf tags: trunk
21:01
Better eContents cleanup. Bug fix: of course we have to call the parserResetProcs of the registered C handler sets while reseting the expat parser command. check-in: 155f101390 user: rolf tags: trunk
20:52
Added tcldom_getNodeFromName(), tcldom_getDocumentFromName() and the dom.h typdefs to the tDOM stubs table. Needed for the new tnc feature (and elsewhere, on the long run). check-in: b5b3d96a0d user: rolf tags: trunk
09:40
See 2003-02-22 comment check-in: 75977d17b4 user: zoran tags: trunk
09:38
Added cast to (char*) when calling Tcl_Free on FREE macro. This avoids some compiler warnings. check-in: e2e1b18754 user: zoran tags: trunk
09:37
Added some casts to MALLOC to avoid compiler warnings check-in: 43e91df26e user: zoran tags: trunk
09:15
Added remark about CC=gcc for Solaris builds. check-in: a7bd0b637a user: zoran tags: trunk
09:14
Fixed invalid reference to TCL_DBGX at building tdomConfig.sh. check-in: c59d2bfd99 user: zoran tags: trunk
2003-02-21
20:06
See file. check-in: 9e151a215c user: rolf tags: trunk
20:05
Bug fixes: Return after detecting the error (xsltPathFuncs), ensure that savedLastNode is always set right (ExecAction, case copy). Editorial changes. check-in: d2918070f8 user: rolf tags: trunk
19:57
See file. check-in: 25377bfed5 user: rolf tags: trunk
19:54
Don't remove tdomConfig.sh with a 'make clean', only with a 'make distclean'. check-in: b52f8d7e19 user: rolf tags: trunk
2003-02-09
16:44
See file. check-in: b9739ea64f user: rolf tags: trunk
16:43
Updated to use the new -xsltmessagecmd option of the xslt method and the -doctypeDeclaration of the asXML/asHTML methods. Added a few comments. check-in: 4c19d22118 user: rolf tags: trunk
16:37
See file. check-in: 60fb10d1d8 user: rolf tags: trunk
16:33
Update to expat 1.95.6. check-in: 88da2466db user: rolf tags: trunk
16:30
Update to expat-1.95.6. check-in: 09c960a150 user: rolf tags: trunk
02:26
Editorial change. check-in: 5f744c8f11 user: rolf tags: trunk
02:25
See file. check-in: f222eca95d user: rolf tags: trunk
02:19
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level(even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. check-in: b01319a94b user: rolf tags: trunk
02:17
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. check-in: 192dc1121a user: rolf tags: trunk
02:15
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. Bug fix: invalid memory read. check-in: 57286a402a user: rolf tags: trunk
02:13
Public and system identifier information are now stored (if parsed with the expat parser or generated by the xslt engine, if given), exposed to the script level (even writable, more than DOM 2 allows) and will be, on demand, respected while serializing. Bug fix: Hold ID => node mapping consistent even after resetting or removal of known ID attributes. check-in: 885f793791 user: rolf tags: trunk
2003-01-30
00:38
See file. check-in: b36ec36a3b user: rolf tags: trunk
00:36
Fixed bug reported by Wilhelm Klink (http://groups.yahoo.com/group/tdom/message/404 see test xslt-4.1). Again a problem (sideeffect) of renumbering node->nodeNumber (which is necessary after modification of the tree for some XPath expr to work). The keys of the entries in the baseURIs hash table of the documents where the nodeNumber of the (subtree root) nodes with new baseURI. Since this nodeNumber isn't necessarily constant over the lifetime of a node (because of the possibility of re-numbering the tree), this could not work anymore. Instead the nodeNumber, we now use the pointer to the node structure as Key for the baseURIs hash table. This pointers stay always constant, even if the nodeNumber changes. Additional code was added to domFreeNode(), to ensure, that an entry in the baseURIs hash table gets freed, if the related node is in deed freed. Removed the yesterday added reseting of the domUniqueNodeNr counter, because it turned out in testing, that there are problems with sorting of resultSets, which includes nodes from different documents (which may happen with some special XSLT constructs (document() calls with a nodeset as argument)). The reseting of the domUniqueNodeNr is still desirable, but it turned out, that it should be carefully considered, when it should be done. check-in: d439fe172c user: rolf tags: trunk
2003-01-29
02:42
See file. check-in: 6b52088c26 user: rolf tags: trunk
02:28
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. check-in: 0f29634d2e user: rolf tags: trunk
02:27
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). check-in: 62ae741b82 user: rolf tags: trunk
02:25
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. check-in: 9fe0cf4a50 user: rolf tags: trunk
02:23
Changed escaping of serialized XML. The previous behavior wasn't 'wrong', but now we do it along the lines of almost all other (important) tools and it seems there's al least some xslt code out there, which banks on this 'common' way of serializing. Though, there is a small risk, that this is an incompatible change for a few users. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. check-in: 0b89d72668 user: rolf tags: trunk
02:21
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. Fix for the problem with ownerDocument reported by Oleg Oleinick (see test dom-29.1). Fixed bug with COMMENT_NODEs while using the asList method (problem reported by Ramon Ribó). While at it, also added code for handling processing instructions, which was also missing, up to now. check-in: 8df732f1ef user: rolf tags: trunk
02:19
Fixed the problem of 'changing node references' under some circumstances (reported by Wilhelm Klink). This also decrease the possibility of a potential problem for extremely long running single threaded tDOM applications. check-in: fdebe05f71 user: rolf tags: trunk
2003-01-11
00:22
See file. check-in: 89d683fc46 user: rolf tags: trunk
00:21
Editorial change (Typo in comment). check-in: 43b3931c21 user: rolf tags: trunk
00:20
Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. Fixed a bug introduced during rework of the white space stripping for XML sources. check-in: c5f0735eff user: rolf tags: trunk
00:18
Added conversion of XSLT stylesheet DOM trees to 'cached' xslt cmds (new domDoc method toXSLTcmd). Works for non threaded tcl; needs additional work for multi-threaded tcl and documentation. check-in: 0587720af1 user: rolf tags: trunk
2002-12-27
23:44
See file. check-in: 892a7f9a91 user: rolf tags: trunk
23:43
Editorial changes. check-in: 9e4ab919e4 user: rolf tags: trunk
23:40
The xslt method now understands also the options -ignoreUndeclaredParameters and -xsltmessagecmd. check-in: 9f5c3aa51b user: rolf tags: trunk
2002-12-23
03:12
See file. check-in: e9de6ca07a user: rolf tags: trunk
03:12
Reworked the white space stripping for XML sources a bit. Better white space handling in token lists. check-in: d0a4e69e9c user: rolf tags: trunk
2002-12-21
20:45
See file. check-in: c3782f2bbb user: rolf tags: trunk
20:44
Fixed the changes by me in rev. 1.60 in the XPath Lexer. check-in: 868915c3d1 user: rolf tags: trunk
2002-12-20
13:40
See file check-in: 3ad7ebca74 user: zoran tags: trunk
13:36
Added DBG wrapper arround some lingering fprintf's check-in: c5ee64163a user: zoran tags: trunk
2002-11-28
01:03
See file. check-in: 1187e5fcc5 user: rolf tags: trunk
00:31
Reuse already parsed trees only if it is requested again for the same matter (as stylesheet or as source dir), otherwise create a new tree, because of the different white space stripping rules for stylesheets and source documents. check-in: 84d0c40a05 user: rolf tags: trunk
2002-11-27
22:44
See file. check-in: 0ab237447c user: rolf tags: trunk
22:44
Added this file. VC++ 6.0 makefile to compile against tcl8.0.5, contributed by Sumit Pokhariyal check-in: c41471283c user: rolf tags: trunk
22:38
Fixed typo in previous check in. check-in: 3ed9ce2ec3 user: rolf tags: trunk
22:37
See file. check-in: d6a62d43eb user: rolf tags: trunk
20:37
FQ names with a localname equal to a XPath 'keywork' (for example ns1:div) are now recognized as node test (they raised error up to now). check-in: d8e9714e8a user: rolf tags: trunk
2002-11-24
18:23
See file. check-in: e21dd9ea73 user: rolf tags: trunk
18:21
Changed the order of the include dir, to avoid clash with tcldom.h out of TclDOM-2.4, which will be installed in the same directory as tcl.h check-in: da1315af55 user: rolf tags: trunk
2002-11-22
15:00
See file. check-in: 74c58acb9f user: rolf tags: trunk
15:00
Updated notes for Tcl8.0.5 users. check-in: cf0be9fdaf user: rolf tags: trunk
14:59
Added this file. Special configure for Tcl8.0.5 users. check-in: 3762eb3181 user: rolf tags: trunk
2002-11-21
23:46
Corrected the date of the last entry. check-in: 91cbb9c9e1 user: rolf tags: trunk
20:38
See file. check-in: 3252f716e0 user: rolf tags: trunk
20:36
We don't have a 'provide expat' anymore, it's all tdom. Fixed a typo. check-in: 29140476fa user: rolf tags: trunk
2002-11-18
01:03
Fixed a typo. check-in: ac96399c2f user: rolf tags: trunk
00:44
See file. check-in: d08dacc8eb user: rolf tags: trunk
00:43
Better wording. check-in: 98a0311a68 user: rolf tags: trunk
2002-11-17
19:24
See file. check-in: 015219de3a user: rolf tags: trunk
19:23
Report error, if xsl:import elements not come first. check-in: ed88fecbb3 user: rolf tags: trunk
2002-11-16
14:28
See file. check-in: e089aa2964 user: rolf tags: trunk
14:25
A bit final tweaking for 0.7.5. check-in: af82543903 user: rolf tags: trunk
11:00
See file check-in: 646bc40a8b user: zoran tags: trunk
10:57
Added 8.0.5 compilation notes check-in: 27359722a2 user: zoran tags: trunk
10:53
Replaced "panic" with Tcl_Panic for 8.2+ since stubbed. Fixed some 8.0.5 compilation issues. check-in: 9f62a9d469 user: zoran tags: trunk
01:41
See file. check-in: beb79aeb31 user: rolf tags: trunk
01:36
Updated documentation. check-in: 64aecf24a6 user: rolf tags: trunk
01:31
Made test suite also running under tcl8.0.5. Added constraint to the tests, which uses i18n tcl features. check-in: 3bafc24e57 user: rolf tags: trunk
01:23
Fixed bugs, which only raised there head if compiled against tcl8.0.5. check-in: 0c4b1d5468 user: rolf tags: trunk
2002-11-15
19:39
See file check-in: f832de9a41 user: zoran tags: trunk
19:38
Added per-document deleted-nodes list. This list is used to collect nodes deleted from the document, but being referenced from some other threads/interpreters check-in: f1b90ac63a user: zoran tags: trunk
02:27
See file (still on the way to 0.7.5!) check-in: b6c44655ec user: rolf tags: trunk
02:23
Added simple debugging feature to tDOM::extRefHandler. check-in: 0007ec7503 user: rolf tags: trunk
02:20
Changed 'attributes' method to return the empty string als result for non element nodes, according to the DOM 2 rec, chapter "Interface Node". Fixed a seg fault in hasAttributeNS. Closed a mem leak in appendXML. check-in: 839d0457e4 user: rolf tags: trunk
02:05
Minor fix: added tcltest cleanup. check-in: 9ff66e5c34 user: rolf tags: trunk
02:03
Added some tests for as yet not covered dom methods. check-in: 5893e3edda user: rolf tags: trunk
2002-11-14
08:24
See file check-in: 99fadb9b9a user: zoran tags: trunk
08:21
Fixed uninitialized memory read (UMR) report. check-in: 0f5d43a14f user: zoran tags: trunk
2002-11-13
01:08
Updated to the new version nr and the lib name convention of the new TEA 2 build system. check-in: b1e475c1f8 user: rolf tags: trunk
01:08
See file (Where heading against 0.7.5, finally. This VC++ 6.0 makefiles still are hacks - for example, the link (hardcoded) against tcl8.3. But anyway.) check-in: 82361a8c83 user: rolf tags: trunk
01:03
Updated to the new version nr and the lib name convention of the new TEA 2 build system. check-in: 5b93a81fd6 user: rolf tags: trunk
2002-11-09
01:57
See file. check-in: 5f8092432d user: rolf tags: trunk
01:49
Minor changes. check-in: 811dadeb7e user: rolf tags: trunk
01:46
HTML serializer: No content escaping for the HTML tags script and style, according to XSLT rec 16.2. Fixed a memory problem during interp deletion. check-in: f95b2c528e user: rolf tags: trunk
2002-11-06
13:24
Fixed broken test target check-in: b353cce0c1 user: zoran tags: trunk
12:41
New file check-in: 678f7df00c user: rolf tags: trunk
2002-11-03
20:15
See file check-in: 5e01ac88a9 user: rolf tags: trunk
20:14
tDOM::xmlOpenFile fix for files < 4 Byte size. check-in: 1509c8ffdc user: rolf tags: trunk
14:36
See file. check-in: af8b78f125 user: rolf tags: trunk
14:32
Fixed ridiculously long runtime of certain // expr on certain documents. During analysis and testing, it turned out, that it would have been an even simpler approach, to simply expand the abbreviation // in the according productions. Though, the choosen implentation seems often to be (slightly) faster and is a start to collect experiences with early predicate evaluation. check-in: fde4487199 user: rolf tags: trunk
2002-11-01
22:56
See file check-in: 12d5e1b529 user: zoran tags: trunk
22:41
Added TCL_LD_SEARCH_FLAGS option when linking the tdom shell. This allows for simpler handling when used with dynamic linker. check-in: cd324d32d4 user: zoran tags: trunk
21:35
Fixed typo on line 328 (node->document >> node->ownerDocument) check-in: 4ebeecc376 user: zoran tags: trunk
21:27
See ChangesLog check-in: 577afd3a4f user: zoran tags: trunk
21:26
Removed traces of tdomhtml.tcl; it now lives in it's own extension. check-in: b3bbbbda5d user: zoran tags: trunk
21:19
Now part of a separate extension to tdom. check-in: 3029ae7379 user: zoran tags: trunk
21:14
Added new extension package "tdomhtml" instead of having the sole file somewhere in tdom lib area which needs to get loaded sperately. check-in: 283f266fb6 user: zoran tags: trunk
01:31
See file. check-in: d465e9d75b user: rolf tags: trunk
01:30
Fixed 'missing saperator' problem (using tab instead of white space). check-in: ff819c68ef user: rolf tags: trunk
01:06
See file. check-in: 5a4467abf2 user: rolf tags: trunk
01:06
Updated function-available, corrected ridiculous typo by my (element-avaliable -> element-available). Somewhat fixed and updated element-available. check-in: d47f560cbf user: rolf tags: trunk
00:47
See file. check-in: a038af3c6d user: rolf tags: trunk
00:44
Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). check-in: e27d352ceb user: rolf tags: trunk
00:38
Fixed old problem with Combine Set XPath expressions and XSLT sorts on trees, in which new nodes are inserted after the initial parsing (doc order of result). check-in: ed9663deb0 user: rolf tags: trunk
00:26
Full qualified XPath function names now are accepted as syntactical correct expr. The function call is resolved to the Tcl proc dom::xpathFunc::<namespaceURI>::<functionLocalname>. check-in: 871af13bd5 user: rolf tags: trunk
2002-10-31
22:48
See file check-in: 89530e0423 user: zoran tags: trunk
22:42
See file check-in: 27c472246d user: zoran tags: trunk
22:42
Changed order of loads in the pkgIndex.tcl. First the C-module is loaded, followed by the tdom.tcl library file, followed by the tdomhtml.tcl library file. Thus, the tdomhtml.tcl has become the first class citizen. check-in: eaa186cfb0 user: zoran tags: trunk
22:41
Renamed version of domhtml.tcl file. Also did some simplification in html2tcl, renamed some internal private functions and added namespace-wide definitions of html command names. The _2tcl procedure now creates the missing elementNode commands as it parses the html code, on the fly. check-in: 07a217196b user: zoran tags: trunk
22:33
Does now "package require tdom" only, instead of "package provide". The "package provide" with a correct version is done by the C-module. Some cosmetic changes as well. check-in: b72b93595a user: zoran tags: trunk
20:30
Renamed to tdomhtml.tcl check-in: 2477aeb484 user: zoran tags: trunk
20:29
This is the older domhtml.tcl (was renamed to better suit pkgname) check-in: 399dbb8de0 user: zoran tags: trunk
20:20
See file check-in: b77fe437a9 user: zoran tags: trunk
11:53
Fixed problems reported by Oleg Oleinick via private mail. check-in: b44f6f216f user: rolf tags: trunk
11:49
Added a few tests for appendFromList. dom-14.1 documents the former seg fault bug in case of a wrong list format, reported by Oleg Oleinick. check-in: 49ba3aebe3 user: rolf tags: trunk
11:47
Fixed argument check of domObj method documentElement. Fixed domNode method appendFromList (wrong list format could result in seg fault). Thanks to Oleg Oleinick, for reporting both problems. check-in: a6cdb38efc user: rolf tags: trunk
07:55
Resolved CVS clashes check-in: 2064805b61 user: zoran tags: trunk
07:47
Added to contain "user-visible" changes, incopatiblities, etc. check-in: d9e8bb8760 user: zoran tags: trunk
00:42
Fruit of the regular memory checking (for the first time with valgrind; seems to be a good tool, I probably put the up to now used mpatrol by the side and eventually change to valgrind). check-in: a0583e6b34 user: rolf tags: trunk
00:31
Corrected text of an error msg. check-in: ab30ad2ee4 user: rolf tags: trunk
00:28
Fixed memory leak (in template clean up; introduced with the new template matching handling). check-in: 9771d8bef6 user: rolf tags: trunk
00:25
Fixed memory leak with preceding-sibling axes. Massaged rscopy code, to pacify memory debugger. Removed old (dead) code. check-in: a577ce8226 user: rolf tags: trunk
00:22
Fixed a possible invalid memory read. check-in: a94300e910 user: rolf tags: trunk
2002-10-30
17:13
Added proper cast to arguments passed to FREE() macro to avoid compiler barking at us check-in: 93918db222 user: zoran tags: trunk
15:54
node_usage and domObj_usage update. check-in: f6c9b37856 user: rolf tags: trunk
15:50
Added -escapeNonASCII and -htmlEntities also to node_usage and domObj_usage. check-in: 17581ec1e5 user: rolf tags: trunk
13:28
Added changes from 2002-10-29 und 2002-10-30. check-in: b881de2bd1 user: rolf tags: trunk
13:21
Updated to using domDoc xslt method, -escapeNonASCII for asXML and as HTML and additionally -htmlEntities for asHTML. check-in: b2942824ba user: rolf tags: trunk
00:56
Added a few minimal tests for -escapeNonASCII and -htmlEntities. check-in: c8870f601d user: rolf tags: trunk
00:53
Arrg. Removed now superfluous. check-in: 86784666a7 user: rolf tags: trunk
00:52
Preliminary update. check-in: 2893500445 user: rolf tags: trunk
00:43
Synced with current xml version. check-in: 5777f4feb7 user: rolf tags: trunk
00:42
Fixed documentation bug in the sample code for the -externalentitycommand optoin. check-in: 537f5e2fc8 user: rolf tags: trunk
00:40
Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Minor editorial changes. check-in: 8678b8d3aa user: rolf tags: trunk
00:38
Now actually documented the new -htmlEntities option of the asHTML method. check-in: cb973ba4e9 user: rolf tags: trunk
00:25
Documented new -escapeNonASCII option of the asXML and asHTML methods and new -htmlEntities option of the asHTML method. Documented new xslt method. Minor editorial changes. check-in: abb5e9c266 user: rolf tags: trunk
00:21
Documented new -returnNodeCmd option of the createNodeCmd method. Minor editorial changes. check-in: ebc96762ac user: rolf tags: trunk
00:00
Implemented "Forwards-Compatible Processing" (XSLT rec 2.5), with limitations: xsl:version attributes on literal result elements are not supported (well, we currently doesn't support any xsl:* attribute on lre). Implementation is together a small optimization for stylesheet with lots of included or imported stylesheets. Fixed a bug in the xslt XPath function format-number. XsltProcess now accepts also a domDoc. Improved the setting of the documentElement of the resultDoc. check-in: 6c93e4035d user: rolf tags: trunk
2002-10-29
23:44
Added -escapeNonASCII as option to the asXML and asHTML methods and -htmlEntities as option to the asHTML method. Added "xslt" method to domDoc commands. check-in: 3ec7beb84e user: rolf tags: trunk
23:36
Better error reporting in case of parsing errors in external entities. check-in: 2d8d929036 user: rolf tags: trunk
17:11
Added "-returnNodeCmd" option to "dom createNodeCmd". check-in: 49799dd247 user: zoran tags: trunk
11:16
Added this file check-in: 9d23357e70 user: zoran tags: trunk
2002-10-27
10:40
Editorial changes. check-in: a2099532cb user: zoran tags: trunk
10:31
Complete rewrite using "domNode appendFromScript" mechanism check-in: 575c686dfd user: zoran tags: trunk
2002-10-26
21:14
Small optimization: Set node tags once, while traversing the xslt trees for white space stipping and use later only the already set node->info tag, instead of calling getTag. check-in: 81c111c74c user: rolf tags: trunk
2002-10-25
01:07
Added simple helper procs: a simple externalentitycommand "tDOM::extRefHandler" and tDOM::baseURL. Editorial changes. check-in: 472555c9a9 user: rolf tags: trunk
01:04
Simplified the code a lot, using the new methods and tdom.tcl procs. check-in: ef7656d0a5 user: rolf tags: trunk
01:02
Introduced TESTFLAGS. check-in: 8866fb4843 user: rolf tags: trunk
01:00
Bug fix: Handling of external sources, accessed via xsl:import, xsl:include or document() could result in 'wrong' errors (or probably even crashes) in the case, the externalentitycommand returned the data as string, because the pointer to the string got to far invalid. check-in: 2545280ae2 user: rolf tags: trunk
2002-10-22
10:09
Resync with dom.xml check-in: df082ae194 user: rolf tags: trunk
06:45
Done some proof-reading. Corresponding dom.n and dom.html should be synced. check-in: 340239cc56 user: zoran tags: trunk
2002-10-20
15:57
Added new methods isName, isNCName, isQName and isCharData to the 'dom' command. check-in: 0e9f53dac9 user: rolf tags: trunk
15:53
Adjusted the size of the hash table for the known entities. check-in: c01edd680e user: rolf tags: trunk
15:50
Added new interface function domIsChar and some infrasturcture, needed for this. Fixed XML character class macros. check-in: 54810a31e1 user: rolf tags: trunk
15:45
Added new interface function domIsChar, which checks, if a given string consists of XML Chars. check-in: 6a3d82bc9c user: rolf tags: trunk
15:40
A few editorial changes and new tests. check-in: 080f877f0e user: rolf tags: trunk
15:39
Moved some dom command related tests to the new domCmd.test. check-in: 3072a8047f user: rolf tags: trunk
15:37
Added for dom command related tests. Moved some tests from dom.test; added tests for isName, isNCName, isQName and isCharData. check-in: 8a1da0c24b user: rolf tags: trunk
15:35
Added documentation for the new methods isName, isNCName, isQName and isCharData. Added a bit documentation for the createNodeCmd method (should be proove readed by Zoran). Added information about the limitations of the simple parser. Some editorial changes. check-in: e0224d942a user: rolf tags: trunk
2002-10-17
00:30
Fixed a bug in key handling: Empty node sets are not "" (the empty string) neither in the key data build nor the key() functions, but simply no value. Removed a superfluous strcpy. Since the key() implementing function uses rsAddNode (which is fixed, in between and now hopefully in deed work as expected), there's no need to sort the result node set. The fix of rsAddNode disclosed, that a part of the numbering code relied on the wrong behavior of rsAddNode (well, since I knew, throu hand checking, the right results of really a couple of test cases, what the right result should be, it seems, I massaged the code as long, until it gave the expected result, discarding all doubts, why this is this obvious wired way at this place - I'm obviously a weak human). Fixed this. Unfortunately, the old way may be way more faster, for lot's of numbering in deep documents. There may be optimization potential for this cases, yet again, but I have first to thing about, if it's really work in all cases. Exchanged a few rsAddNode with rsAddNodeFast, which is almost pointless in this cases. There're a lot of cases, in which a node is added to a freshly initialized nodeset. The adding of this node to a emtpy nodeset could be inlined, for a (real small, according to my profiling) effect. But I pushed tDOM more than 10 percent over all in the xsltmark, and made it at least more than double as fast as before for bigger docbook documents in the last week; I omit this fishing for lesser then a percent speed up for now. check-in: 6e6741bad7 user: rolf tags: trunk
00:07
Removed bogus code (which may not harm compliance, but speed in a few cases). check-in: 051984cb16 user: rolf tags: trunk
2002-10-16
21:59
Bug fix in rsAddNode: if the node to insert into the nodeset was befor all the nodes, already in the nodeset, the new node was inserted at the end. Now, it's correctly inserted as first node. check-in: c4edde30c3 user: rolf tags: trunk
11:44
If sourced from tcldomsh, ensure, that the tdom script lib is also loaded. check-in: f367501255 user: rolf tags: trunk
00:12
Added docObj methods asXML and asHTML. check-in: 51ccedf49c user: rolf tags: trunk
00:08
Minor bugfix for attribute creation. check-in: 587edc41f2 user: rolf tags: trunk
00:05
A few documentation updates check-in: a7870ef616 user: rolf tags: trunk
2002-10-15
12:27
Removed some old defines check-in: 976ea89d00 user: zoran tags: trunk
2002-10-14
23:56
A few minor (and mostly not even notable) optimizations, partly of dubious value. At least the improved match pattern predicates optimizations point to the right direction (and are real winner for some stylesheets and real big input data), even if this hole predicate optimization business should reworked to a more general solution, instead of the current 'handle some common cases and try to be on the secure side for all other' approach. check-in: b1dc4a4d34 user: rolf tags: trunk
2002-10-13
00:54
Minimal code tweaking, needed for VC++ 6.0 build. check-in: 4a8cfb7247 user: rolf tags: trunk
00:08
Updated to the new build system. check-in: fd09eaa553 user: rolf tags: trunk
00:02
Made format-number() i18n aware (for Tcl >= 8.1). Together with that reworked format-number a bit and fixed some bugs. This format-number thingy is definitely one of the more annoying parts of the XSLT rec. Such a functionality is undoubted important, but it was a bad idea, to specify it with a reference to a Java 1.1 class. Well, the Java folks don't care, they just use this class (I assume). But what the link to the Java 1.1 doc out of the spec gives, is far away from a complete description of the required behavior (at least for an implementor). The Java books (at least, to one, I saw) are not of any help; typically they provide even lesser info. Kay, in contrary, does provide a bit additional info in his XSLT Programmer's Reference, but unfortunately let also some questions open. Therefor the only way in some cases is, to study the output of the java engines and to try to understand there formating rules. check-in: f4771d1e04 user: rolf tags: trunk
2002-10-11
22:02
Removed unuse astType type 'Str'. check-in: 37983a92fc user: rolf tags: trunk
2002-10-09
22:51
CONSTyfied tnc. check-in: 1cc88b03f7 user: rolf tags: trunk
20:22
Update to expat-1.95.5. check-in: 203c9d7cbd user: rolf tags: trunk
20:17
New file in expat-1.95.5. check-in: 91d3c0816f user: rolf tags: trunk
01:41
As in r1.50 presumed, there's always more to do with resultset. Now, I hope, I got it somewhat finaly right (and fixed a few bugs, which just wasn't triggered by the tests up now). We expect at several points, that every result set is given in document order. Now, rsAddNode takes care, that this is in deed the case. (Experience shows, that it is seldom needed, to insert a node into the set; in almost all all day cases, the node must simply appended to the result set.) Removed the nowhere used step type "Str". Fixed the steppattern optimization code. Removed some dead code. check-in: a5019185cc user: rolf tags: trunk
01:19
Mostly some optimization work. Depending on what you do a debatable one. There's a small group of stylesheets, that are perceptible slowed down by this chances. Bitten are really small stylesheets with only a few templates. An example would be the classical identity.xsl, given already in the XSLT rec and in a variation in the xsltmark test suite, which has only one template. The identity.xsl stylesheet out of xsltmark for example is slowed down around 20 Percent. Which is probably a very extreme example. Such extremly simple XSLT stylesheets are uncommon in daily practice. Due to already present small positiv effects, the overall result of the xsltmark is lightly improved. The point of this changes is to improve the finding of the matching template. Additional to the already metioned penalty for stylesheets with only a few templates there is another penalty for the needed additional analyzing and preparation work, during the initial XSLT stylesheet data processing. This additional work is needed once, and pays back relatively fast. The transformation of very small docbook documents (for which the size of the document is much smaller then the sum of the docbook xslt stylesheets) will be slowed down by around 25 percent (but due to the fast parser and DOM parts and the over all still slim XSLT overhead, we're still around double as fast as any other OS solutions, I'm aware off). The more templates the XSLT stylesheet has and as bigger the document is, the more important are normaly this optimizations. For example they more than halves the processing time for a nearly 2 MByte docbook document. The changes also includes a fix for a very old problem. Now the priority of a match, which contains alternatives (something like match="a|b|node()") is determined for each alternative separately. check-in: 78b1dcdc6e user: rolf tags: trunk
00:26
MutationEvent() is a define, that currently is replaced to a noop by the preprocessor. They are a preparation for DOM 2 events. There isn't a callback to tcl level for them, up to now, but Jochen claims, that they are at the according places. Removed a erroneous MutationEvent(), inserted by me. check-in: 3f4740e079 user: rolf tags: trunk
2002-10-02
00:14
Better memory clean up in case of erroneous XPath expression. check-in: cee5915867 user: rolf tags: trunk
2002-10-01
12:28
Checks if we are in the correct platform directory when doing configure check-in: e8db0b1af9 user: zoran tags: trunk
11:02
"make test" target fixes environment for doing package test before actual "make install" check-in: 6ec76aea49 user: zoran tags: trunk
11:01
Just bare-bones loader; now works with "make test" as well check-in: 0578b383a6 user: zoran tags: trunk
11:00
Removed traces to old tdom loader check-in: 1be5bdd642 user: zoran tags: trunk
11:00
Added RCS string to comment check-in: e66725042a user: zoran tags: trunk
10:07
Resolved TCL_DBGX in tdomConfig.sh instead of propagating the original Tcl value. This makes like simpler for tdom extensions. check-in: 4de5447229 user: zoran tags: trunk
07:56
Relaxed rules for specifying key/value pairs to nodecmd. We now allow both "-key" and "key" specifications. check-in: 9b7a6d8de2 user: zoran tags: trunk
2002-09-30
23:27
Added a few tests of moving namespaced nodes from one tree to another. check-in: 2769a45244 user: rolf tags: trunk
23:26
Adjusted tests to the changed behavior of getElementsByTagName. Added more tests for getElementsByTagNameNS. Added a few tests for cloneNode method. Tests for setting multiple attributes at once. Added a few tests for appendFromScript. check-in: 64e35793a3 user: rolf tags: trunk
23:17
Changed getElementsByTagName behavior again. Now it inspects every node, namespaced or not (of course only looking at the tagname). This should be according to the DOM rec. Bug fix fpr getElementsByTagNameNS if uri is "" (no namespace). check-in: 69fa7aee8e user: rolf tags: trunk
23:12
Implemented optional flag -disableOutputEscaping for TEXT_NODE creating nodeCmds inside appendFromScript scripts. Minor bug fix: now errorInfo is returned, in case of script errors inside a appendFromScript script. Editorial change: removed the log info, as in all other source files. check-in: 9b3f2ced93 user: rolf tags: trunk
23:08
Make moving namespaced nodes and attributes from one tree to another work. This is not allowed by the DOM rec, but it always worked intentional for not namespaced subtrees, because it's pretty handy in some cases. Additional, if subtrees are moved around in one document, namespace declarations are inserted, if necessary, to make the result a namespace correct result. Again, this does not follow the letters of the DOM rec, which requests, that the application is responsible for this. But it's much more convenient (at least for the application programmer), if the DOM layer takes care about this. If someone really insist in messing up namespace declarations, it still has any chance to do this with changing or removing namespace declaration attributes. check-in: e95a142242 user: rolf tags: trunk
2002-09-28
17:29
Fixed broken test 11.6. check-in: 81a93a0e3b user: rolf tags: trunk
00:44
Added a few tests for the ne domNode method disableOutputEscaping. check-in: 4e816d173a user: rolf tags: trunk
00:42
Added documentation for the new domNode method disableOutputEscaping. check-in: e888f5e0bc user: rolf tags: trunk
00:40
Added new domNode method disableOutputEscaping. check-in: 4573670b04 user: rolf tags: trunk
2002-09-27
20:44
Added documentation for setStoreLineColumn check-in: dde8a0bf1b user: rolf tags: trunk
20:37
Lots of minor updates and minor fixes. check-in: 5f24880800 user: rolf tags: trunk
20:35
More tests. Especially new tests, that tests the setting of multiple attributes with one setAttribute call (was not working for more than 4 attrName attrValue pairs). check-in: 8e10d54b19 user: rolf tags: trunk
20:28
A lot of miner bug fixing of the domNode cmd. Now setAttribute could be used with arbitrary pairs of attrName Value. SetAttributeNS now also allows arbitrary triples of uri attrName Value as args. The @attr shortcut does not make sense for PROCESSING_INSTRUCTION_NODEs. SetAttributes requires now at least one attrName Value pair. Added args checks for several methods. NodeValue now works (according to the DOM rec) also for COMMENT_NODEs and PROCESSING_INSTRUCTION_NODEs. check-in: fcb04c3d83 user: rolf tags: trunk
14:11
Changed asHTML serialization. Up to now, CDATA nodes are simply ignored. OK, HTML doesn't have CDATA sections. But since the CDATA nodes are content of the document, they are now simply serialized to text (with the necessary escaping). check-in: 94d42f1d9c user: rolf tags: trunk
2002-09-20
01:52
Changed the handling of call-template. Up to now the complete list of templates was scanned to find the requested named template. The hole list must be scanned, because it is possible, that different templates have the same name but different precedence. Now the template with the highest precedence for a given name is dectected at 'startup' and stored in a tcl hash table (prefixed with the namespace, if present). The lookup of a named template now has more or less 'constant' execution time costs, throu the lookup in the tcl hash table. This is probably a small slow down for short XSLT stylesheets with only a few templates but is somewhat important for stylesheets with a lot of templates (as the docbook stylesheets). check-in: 1d45960b0d user: rolf tags: trunk
2002-09-18
22:07
Further tinkering with rsAddNode, which is most of the problem, that heftix has reported (http://groups.yahoo.com/group/tdom/message/273). This changes are probably not the hole story, but this version passes all my standard tests. check-in: 877829fd76 user: rolf tags: trunk
2002-09-14
16:00
Fixed the tcldom_docTrace prototype (CONSTYfing). check-in: e4366dc400 user: rolf tags: trunk
2002-09-12
17:13
Fixed problem with appendChild and node crossing doc boundaries for MT-builds. Thanks to Harray Moreau for the patch. check-in: 29057ac4f2 user: zoran tags: trunk
2002-09-11
15:28
Fixed document teardown problem when compiled with threads. Thanks to Harry Moreau for the report. check-in: 49d0197ac3 user: zoran tags: trunk
2002-09-10
13:55
Added tests, which documents bug reported in http://groups.yahoo.com/group/tdom/message/240 (and the fix). check-in: e4b54425b6 user: rolf tags: trunk
13:51
Fix for seg fault, if somebody provides an erroneous XPath (something $node selectNodes {*[1}). Bug reported by "Bart Teeuwisse" <bart-yahoo@7-sisters.com>. Now, returns sensible error msg. check-in: 2e36e10845 user: rolf tags: trunk
13:47
Code change to pacify gcc -Wall. check-in: e497d3576f user: rolf tags: trunk
2002-09-08
20:12
mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. CONSTyfied tcldom_docTrace() and tcldom_nodeTrace(). check-in: 1e9eb8feaf user: rolf tags: trunk
20:10
mpatrol'ed and valgrind'ed the tests and fixed a closed a few memory leaks. check-in: 1f8a0f0d11 user: rolf tags: trunk
18:21
Added a test. check-in: 0379bd8d82 user: rolf tags: trunk
2002-09-07
16:26
Editorial change. check-in: 6998863dc4 user: rolf tags: trunk
16:25
Fixed the sorting by doc order for nodesets, which includes attribute nodes. check-in: 33833391a2 user: rolf tags: trunk
2002-09-06
21:20
Fix. check-in: 711bc77d57 user: rolf tags: trunk
2002-09-03
21:00
Improved the error msg, if an unknown XPath function was called: now return also, which function is unknown. check-in: 53688c2c65 user: rolf tags: trunk
2002-09-01
00:14
Initial check in. check-in: f8700bbb5a user: rolf tags: trunk
00:11
Added check to domFreeNode() is needed under some circumstances while using the tdom command. Initialised a var in setDomDocumnet, to pacify -Wall. Fixed docNode handling of the tdom command. check-in: bc0742b883 user: rolf tags: trunk
00:07
Removed unused var. check-in: d08c40ed32 user: rolf tags: trunk
00:05
Fixed a couple of bugs related too the usage of multiple tcl scripted handler sets and the tdom command. See stackedhdl.test. check-in: 399d6e7a5b user: rolf tags: trunk
2002-08-31
18:48
Added cleanup of the already builded DOM tree in case of an XML parse error. Fixed the completely broken tdom command (r1.20 removed the "return TCL_OK" at the end of the case's, instead of replacing them with "break".) This means, the tdom command is broken in 0.7.4! check-in: 850c8fd9f2 user: rolf tags: trunk
2002-08-20
23:50
If a tcl coded XPath function returs nodes, we have to sort the result set, because we haven't any guaranty from where in the tree this nodes are and we always asume the resultset to be in doc order. Tcl_DecrRefCount(Tcl_GetObjResult(interp)) seems to have fooled the interp. With it, test xpath-4.9 seg faults. check-in: 4a61df19da user: rolf tags: trunk
23:44
The new 1.95-4 needs expat_config.h. check-in: ab838fca4d user: rolf tags: trunk
23:43
Was needed by expat 1.95.1. The new 1.95-4 has renamed this to expat_config.h. check-in: 119e5ceddb user: rolf tags: trunk
23:41
Editorial/typo fixes. check-in: 999508dd49 user: rolf tags: trunk
23:39
Added a few tests for Tcl coded XPath functions. check-in: a551b99b29 user: rolf tags: trunk
23:34
Added BYTEORDER define needed by expat 1.95-4. check-in: 6027fd23d1 user: rolf tags: trunk
23:29
m4 macros for byte order check. It's out ouf the expat 1.95-4 distribution (with small modification). check-in: 4a032d3921 user: rolf tags: trunk
23:26
Added check for byte order. Define needed by expat 1.95-4. check-in: 50ccf9f14e user: rolf tags: trunk
23:24
Update from expat 1.95.1 to 1.95.4. check-in: d14d944e90 user: rolf tags: trunk
23:23
Not valid any more, because of the change from expat 1.95.1 to 1.95.4. (I wonder, what it was in the first place.) check-in: 552e8be473 user: rolf tags: trunk
2002-08-19
00:33
Bug fix: for every node type other than element nodes the type given to a tcl coded extension function was "attrnodes", which was cleary wrong for text nodes etc. Added error msg, if the result type of the tcl coded XPath function was not known. check-in: 3636f23b8c user: rolf tags: trunk
00:27
Package version bumped to 0.2. check-in: 745b6729b7 user: rolf tags: trunk
00:26
Small opitimization: Now we store the Attribute informatation for an element direct in the TNC_Content structure, and don't look them up every time, they are needed any more. Package version bumped to 0.2. check-in: f5b11e7270 user: rolf tags: trunk
00:23
Completely new build stuff, following the lines of TEA 2 and building on the great groundwork of Zoran. check-in: 215772d6dc user: rolf tags: trunk
00:20
Not longer needed for the new build stuff. check-in: b04dc7e8af user: rolf tags: trunk
2002-08-09
00:41
More getElementsByTagName and getElementsByTagNameNS Fixes: it worked on the descendant-or-self axes, now works on descendant axis. Special handling of namespace ""; this now the same as getElementsByTagName. getElementsByTagName does not return any element, that is in a namespace. Plus editorial change. check-in: cc052ed3ac user: rolf tags: trunk
00:34
More getElementsByTagName and getElementsByTagNameNS tests. check-in: 026953d29f user: rolf tags: trunk
2002-08-07
22:38
Fixed problems, if there are was no -baseurl given while parsing the stylesheet document. check-in: 7d087beae7 user: rolf tags: trunk
2002-08-06
02:35
Added doc for new method getElementsByTagNameNS check-in: b086ab2cc1 user: rolf tags: trunk
02:35
getElementsByTagNameNS: made clear, that the user have to give uri and localname. check-in: 72641c4794 user: rolf tags: trunk
02:27
Added a few tests for getElementsByTagName and getElementsByTagNameNS (we need more!). check-in: ec10501831 user: rolf tags: trunk
02:26
Changed the ref handler so, that absolute urls under w32 (file://C:/...) also work. check-in: 1f7c74236a user: rolf tags: trunk
02:23
Editorial change: Removed the log out of the file header. check-in: 44551d1078 user: rolf tags: trunk
02:22
Changed the version number to 0.7.5 check-in: c2d843993a user: rolf tags: trunk
02:21
Fixed the getElementsByTagNameNS node method, which was not standard compliant, incomplete and broken in several ways. Added a getElementsByTagNameNS method to the doc interface, according DOM 2. Added a few arg checks to methods. check-in: 83a955723a user: rolf tags: trunk
02:17
Fix in domLookupNamespace(). doc->nsptr points to the last used namespace. It is initialized with -1. There for the new <= is right and secure. check-in: 4e160a0dad user: rolf tags: trunk
2002-08-05
00:15
Bumped the 'little help' by Zoran an me to the more realistic 'major contributions'. Added a few things to the features list and w2k to the platforms list. check-in: 1491270150 user: rolf tags: trunk
2002-08-04
23:49
Add the 'build-in' namespace prefix "xml" also for documents parsed with the simple parser. check-in: ae0c6f4b12 user: rolf tags: trunk
23:47
Fix for the format-number() code. Fix for the notorious (notorious what? - Hm, to complicated, to slow) variable/parameter handling. In cases like <xsl:call-template name="PrintNSPrefix"> <xsl:with-param name="prefix"> <xsl:call-template name="GetElementPrefix"> <xsl:with-param name="element" select="$element"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> ie we call a template with a parameter, which setting template calls another template, there was a var scope problem. Code to handle differences between node and attrnode structures at a few places. check-in: 88aeb96b3f user: rolf tags: trunk
23:35
Bugfix for absolute path starting with full qualified elementname. Notorious Problem: the attribute nodes structure is substantial different from the node structure - no ownerDocument pointer, parent node pointer at different place. This means type check at all places, where the context node could also be an ATTRIBUTE_NODE. This is already done at, well, as this example shows shows, almost all places. Now it's also done for selectRoot. Minor editorial changes. check-in: 12bab8d699 user: rolf tags: trunk
23:27
domCreateXMLNamespaceNode() is now also used by xmlsimple. Editorial change: removed the cvs log, as in the other files. check-in: 1f6a4c4f40 user: rolf tags: trunk
23:23
Fixed handling of the 'build-in' namespace prefix "xml". check-in: 1541e67085 user: rolf tags: trunk
2002-08-03
20:54
Fixed clean files (added the tdomConfig.sh to the list) check-in: 8d8d823606 user: zoran tags: trunk
20:53
Added definitions for generating entries in the config file. check-in: 1cd97562f4 user: zoran tags: trunk
20:52
First import. Used for extensions building check-in: b42d6e52ff user: zoran tags: trunk
20:51
Added some targets for locating and loading the config file. check-in: aa0bf0d9a0 user: zoran tags: trunk
2002-08-02
21:20
Shouldn't this actually be the Mozzila license? check-in: bd3a38e641 user: zoran tags: trunk
21:19
Added this file. It references the MPL 1.1 so we might add this one also. check-in: f4eea6df9d user: zoran tags: trunk
21:19
Added the *bare bones* README. check-in: 4204a31929 user: zoran tags: trunk
19:09
Added tests for memmove and bcopy early in the configuration sequence. check-in: 0689db8101 user: zoran tags: trunk
2002-07-29
21:58
Changed a few remining isnan to IS_NAN. check-in: ce90ca7c2b user: rolf tags: trunk
16:01
Uses normal Tcl allocator for aolserver check-in: eb1fda13df user: zoran tags: trunk
2002-07-28
23:22
Moved external files used by some tests from tests/ to tests/data. check-in: 7bdad16ac2 user: rolf tags: trunk
23:20
Added the inclusion of loadtdom.tcl and adjusted baseURI / load of external files where necessary. check-in: 0c74c1fded user: rolf tags: trunk
23:17
New file: sourced by all.tcl and all test files to enforce (and ensure), that the tcltest package and the newest tdom build are availible in the interpreter. check-in: c131ac18a4 user: rolf tags: trunk
23:15
Not needed anymore. check-in: da09dc365d user: rolf tags: trunk
23:14
Moved to subdir data. check-in: b952799c5e user: rolf tags: trunk
17:28
Updated the [package provide tdom <version>] to the patch level given by the configure. check-in: 871000ae8d user: rolf tags: trunk
17:20
New versions of the man pages, generated with the -soelim option enabled (that means, the man.macros are not included with .so man.macros, but in deed included in every man page, as the tcl core man pages also do, because of some problems at some systems with the .so directive). check-in: 0cbcc81d53 user: rolf tags: trunk
17:17
Removed, because this file is not needed to build the man pages with the standard tmml tools and since the man pages are now build with -soelim, the man pages even don't need man.macros (so .so of them anymore). check-in: 4731c5683f user: rolf tags: trunk
17:14
Removed footer.xml and index-chars.xml. They are not needed, if the HTML doc is build with the standard tmml tools. check-in: e3812f2935 user: rolf tags: trunk
08:43
Fixed reference to old expat directory check-in: 8b287177a8 user: zoran tags: trunk
08:32
Moved here for the TEA builds check-in: 1524fd9d1a user: zoran tags: trunk
08:27
Moved to new memory allocation macros. check-in: 6eb6a47711 user: zoran tags: trunk
08:15
Added for new TEA build check-in: d6a65d5b13 user: zoran tags: trunk
08:13
Now moved to the ../expat directory check-in: f0cb3c6ac0 user: zoran tags: trunk
08:11
Now moved to ../expat directory check-in: da3ad62e7d user: zoran tags: trunk
08:10
Added. Content is the expat version used. check-in: 6983356974 user: zoran tags: trunk
08:09
Files from the expat-* directory should now live under the "expat" since this eases build scenarios. check-in: 416ed0f90d user: zoran tags: trunk
08:06
Removed in preparation for new TEA build. Some files are now moved to the source dir, some to tclconfig. check-in: c1325838b3 user: zoran tags: trunk
08:04
Added new TEA build check-in: ae05a9d2c2 user: zoran tags: trunk
2002-07-25
00:47
Closed a memory leak, if the data to parse turns out to not be well-formed XML. check-in: e81a5db4b2 user: rolf tags: trunk
2002-07-22
13:28
Added the "-soelim" option, so that the created man pages inlcudes the man.macros (and not per .so command). That's necessary, to display the man page correct on certain systems. Introduces the problem, that processing the TMML doc requires the soelim tool. Since this more or less matters only the maintainer and the developers, that's regarded as a minor problem. check-in: 246e713d28 user: rolf tags: trunk
2002-07-19
14:58
Removed excess CR's since it is confusing the suncc check-in: 1855514489 user: zoran tags: trunk
2002-07-17
15:01
Corrected strange constructs [$doc documentElement $doc]. (Problem found bei Zoran.) check-in: 83d8ed76cc user: rolf tags: trunk
01:44
Fixed some memory problems (which could result to seg fault, for invalid documents, because after detection of the validation error some structures would have been not filled, as expected by free proc. Got rid of the ridiculously zero/one pointers. Start overhaul of the hole thing. check-in: 289784d373 user: rolf tags: trunk
01:34
Closed a small memory leak. check-in: 481bc0be4b user: rolf tags: trunk
01:34
Fixed both a memory leak and seg fault problem (depending on circumstances). check-in: f8d7ad35d7 user: rolf tags: trunk
01:31
Initializing xs.stripInfo.hasData and xs.preserveInfo.data avoids unnecessary traversal of the XML sources (if no white space must be stripped) check-in: ca7eb95e35 user: rolf tags: trunk
01:28
Fixed opaque memory allocation. check-in: 0ae5ead236 user: rolf tags: trunk
2002-07-14
14:41
Removed the free'ing of the element content modes, returned by expat. They are now free'ed in tclexpat.c. check-in: 2eb1aee07c user: rolf tags: trunk
07:07
Was including WRONG stub file (should test more before commit!) check-in: b7613f9f1e user: zoran tags: trunk
07:02
Revert to standard Tcl_Alloc/Tcl_Free for AOLserver builds. This is because those are redierected to AOLserver own memory management functions which are better suited for MT operation check-in: 6fc22941f1 user: zoran tags: trunk
07:00
Added small comment describing what aolstub.cpp does. check-in: 1016ea7901 user: zoran tags: trunk
06:59
Loads the stub only inf NOT compiled within the tdomtdp extension check-in: 32397fe9f1 user: zoran tags: trunk
06:20
Changed order of loading h files (dom.h comes before domalloc.h) check-in: 274aaa63df user: zoran tags: trunk
2002-07-12
17:19
Fixed some typos. check-in: 1df636f8dd user: rolf tags: trunk
2002-07-11
23:37
A few more tests for setAttributeNS check-in: bb2be003a5 user: rolf tags: trunk
23:35
First short instructions, how to create HTML files and man pages from the TMML documentation. check-in: 213b5ccd1b user: rolf tags: trunk
23:09
Enhanced the setAttributeNS documentation. (Hopefully) clearyfied the other *AttributeNS methods check-in: 3226478015 user: rolf tags: trunk
23:07
Initial commit check-in: beb9fcfc8c user: rolf tags: trunk
23:06
Initial commit of the dtd of the tmml files. Handy, to have it in the doc dir, for validation. check-in: 7e9e1e12d5 user: rolf tags: trunk
21:31
Added a test for the new HTML entities. check-in: 355e36034a user: rolf tags: trunk
21:31
Corrected "yacute" entity (\335) to "Yacute". Added all HTML entites known by XHTML 1.0 (see http://www.w3.org/TR/2000/REC-xhtml1-20000126/#dtds A.2 Entity Sets.) check-in: 6d4b7b7e9c user: rolf tags: trunk
06:56
First import. check-in: a7bb097f96 user: zoran tags: trunk
06:40
Updated AppendResult macro (was broken by the previous checkin check-in: 41b20aaa8d user: zoran tags: trunk
05:10
Fixed SetResult (and friends) again: previous change did forget to set the interp result after copying the (shared) object. Huh! check-in: f805904693 user: zoran tags: trunk
01:25
Fixed character entity handling for tcl >= 8.1. Fix for documents, that only have a documentElement "<doc/>" - there was not rootNode added for this documents. check-in: cafc0dd27c user: rolf tags: trunk
01:22
Fix for setAttributeNS check-in: a4afd7f729 user: rolf tags: trunk
01:14
Optimization for xpath expr of the form 'foo[1]' or 'foo[position() < 3]': build the result node set only up to the point, needed for the filter predicate. check-in: da21eba74d user: rolf tags: trunk
01:08
Fixed handling of character entities for tcl >= 8.1 check-in: 70b8ed2449 user: rolf tags: trunk
01:00
Fix for setAttributeNS: Added more tests of the arguments check-in: c862db14a7 user: rolf tags: trunk
00:54
Added tests for method setAttributeNS check-in: 4788565b3a user: rolf tags: trunk
00:53
Started a test file for the HTML parser check-in: ce1970c310 user: rolf tags: trunk
00:52
Started a test file for the simple parser check-in: 33bbc21f67 user: rolf tags: trunk
2002-07-10
16:38
Fixed macros fiddling with object result: now they properly check if the object in the interp result is shared or not and do a proper object duplicate before changing the value. check-in: ce2fe80370 user: zoran tags: trunk
03:19
Reset interp result in nodecmd_appendFromScript to leave the clean object rep because tcldom.c SetResult and friends macros fail to check the object found in interp result for being shared (or not) check-in: 277ce9b1b7 user: zoran tags: trunk
2002-07-07
21:15
Added NaN/Infinity handling related tests. check-in: 3348afa16c user: rolf tags: trunk
21:12
More changes and fixes related to the NaN/Infinity problem. check-in: 936b72d814 user: rolf tags: trunk
2002-07-05
12:18
Changed handling of nan/inf/-inf. Should now work on a wide(r) range of plattforms and (hopefully) not any more a build problem. check-in: d04dfd3362 user: rolf tags: trunk
2002-07-04
15:06
fixed reference to unsigned* to char since Sun compiler barfs at it. check-in: e48709c4b3 user: zoran tags: trunk
12:32
Removed a not reached return NULL to satisfy (picky) Sun compiler. check-in: c82a4bbb4f user: rolf tags: trunk
11:28
Changed some switch logic to satisfy (picky) Sun compiler. check-in: 895fec6100 user: zoran tags: trunk
2002-07-03
13:47
Cosmetic changes, to pacify some compilers (compile warnings). check-in: 791f0f1c94 user: rolf tags: trunk
10:12
Fixed conditional for Sun compilation; now properly checks both __sun__ and __sun to satisfy both GCC and Sun's own compiler. check-in: ee41562449 user: zoran tags: trunk
10:11
Added some comments so one could better understand the output of the Sun's compiler; most notably lines of code never reached. check-in: 3dd7939827 user: zoran tags: trunk
10:10
Removed spurious ctrl-m; heh, windows users ... check-in: f6aae9285b user: zoran tags: trunk
2002-07-02
22:52
Fixed a compilation error on AIX. check-in: e8d68632ba user: rolf tags: trunk
20:20
Added test, that documents the childAppend bug (and that it's fixed). check-in: a0b24cf429 user: rolf tags: trunk
19:25
Fixed references to CONS'ified Tcl API (8.4 and later) Also, fixed (disappeared) NODE_NO references which broke the threaded build (mainly in the dom.c) check-in: cf121768d4 user: zoran tags: trunk
07:06
Fixed some make/compile problems (reported by Larry Virden) check-in: b39c6efc96 user: loewerj tags: trunk
2002-06-26
17:39
Fixed `make install` and pkgIndex.tcl. check-in: ddd751a059 user: rolf tags: trunk
2002-06-25
23:35
Re-added the improved reuse of namespace indexes, that was removed by mistake with the previous commit. check-in: 4f4e1b94f3 user: rolf tags: trunk
13:06
fixed ugly appendChild bug. check-in: 70a1200332 user: loewerj tags: trunk
2002-06-24
15:19
Bug Fix in error handling code. check-in: c8e83afb83 user: rolf tags: trunk
2002-06-23
20:51
new enhancements for better robust parsing check-in: c632e9437a user: loewerj tags: trunk
20:49
fixed problem when parsing single tag check-in: 7547293c07 user: loewerj tags: trunk
08:36
Made -DTDOM_NO_UNKNOWN_CMD the default. check-in: c6d2cbfa28 user: rolf tags: trunk
00:25
Removed tclDummyMathPtr. Not needed since tcl7.6, and would break build with upcomming tcl8.4. check-in: 42237afcd2 user: rolf tags: trunk
00:23
Made -DTDOM_NO_UNKNOWN_CMD the default. check-in: 6e10b49cd5 user: rolf tags: trunk
00:21
Made simple parser -baseurl and -externalentitycommand aware. check-in: ce6236ad2e user: rolf tags: trunk
00:20
Made simple parser namespace awareness work. Made simple parser -baseurl and -externalentitycommand aware. check-in: f39edd49bb user: rolf tags: trunk
00:16
Changed findBaseURI(), that it works also with the now -baseurl aware simple parser. Removed dom -ns option, which was senseless since some time and even would break anything, if used, because DOM keeps track on namespaces by it's own. (-ns even wasn't documented.) check-in: b790da375b user: rolf tags: trunk
00:11
Minor bug fix. check-in: 68a83dd4ee user: rolf tags: trunk
00:05
Improved reuse of namespace indexes. check-in: 10e1e38aa0 user: rolf tags: trunk
2002-06-21
10:38
Fixed node numbering to use document-private node-counter when compiled with -DTCL_THREADS. Node Tcl-command names are still defined in the usual fashion, by using the (unsigned int)(domNode*) in order to get unique command names within the process and accross thread/interp combi. check-in: 621b16c214 user: zoran tags: trunk
09:52
Added a importand missing break. check-in: cdc2797d0e user: rolf tags: trunk
2002-06-20
19:16
Re-inserted a varaible declaration needed for tcl >= 8.1 (compile error) check-in: e6be684d82 user: rolf tags: trunk
13:15
fixed compile warnings check-in: ee0db9b972 user: loewerj tags: trunk
13:14
fixed compile warnings check-in: 1a2378d93d user: loewerj tags: trunk
12:58
fixed compile warnings check-in: 2ea744e7bd user: loewerj tags: trunk
12:23
made namespace aware check-in: c0f5ca15e9 user: loewerj tags: trunk
12:22
fixed Tcl8.0.x compile problems check-in: d88f8c6893 user: loewerj tags: trunk
12:21
fixed typo (Tcl8.0.x compile problem) check-in: 243441d7da user: loewerj tags: trunk
12:20
fixed formatting check-in: d7cf9c525f user: loewerj tags: trunk
12:18
fixed indentation check-in: bf4ffaa595 user: loewerj tags: trunk
2002-06-19
23:55
Updated to the newest version from tmml head. check-in: e3de7b186c user: rolf tags: trunk
2002-06-14
23:48
Added documentation for new -parameters option for the xslt method. Fixed @attrName option. Bit cleanup. check-in: 99d0ac424e user: rolf tags: trunk
22:59
Added tests for setting FQ top-level parameters via the -parameter option. check-in: 193a375003 user: rolf tags: trunk
22:54
Now, if templates are called with with-params, for which they haven't a parameter, this with-params are ignored, as the spec requests. (Up to now the where wrongly visible.) Made FQ top-level params settable via the xslt -parameter option. Minor bug fix in numbering code. check-in: 07cd6b0eca user: rolf tags: trunk
2002-06-10
01:03
Mainly made xsl:decimal-format/format-number() somewhat work (no user defined per-mille sign at all (and no detetection even of the default per-mille special char for tcl8.0 users) and only 7 bit ASCII chars for all other special chars, but at least that seems to work, with changed default decimal-format and named decimal-formats and namespaced decimal-formats and such bells and whistles. check-in: 03f1a66395 user: rolf tags: trunk
01:02
Closed a few memory leaks. check-in: 4c0c694345 user: rolf tags: trunk
01:02
Namespace handling fix. check-in: c38384c9fa user: rolf tags: trunk
2002-06-07
08:51
Fixed memory leak in domFreeNode check-in: 09eb27be69 user: zoran tags: trunk
2002-06-06
11:27
Fixed a bug (typo) check-in: 000ea73aae user: rolf tags: trunk
2002-06-03
18:59
Fixed missing reference count on extResolver object in domReadDocument. check-in: 99bd7aa3a8 user: zoran tags: trunk
2002-06-02
06:37
Added domlock.obj check-in: 2d478cb11e user: zoran tags: trunk
06:36
Added thread safety with capability of sharing DOM trees between threads and ability to read/write-lock DOM documents check-in: 7077725403 user: zoran tags: trunk
06:34
Added reader/writer locks for threaded builds check-in: a9ea60df26 user: zoran tags: trunk
06:33
Added Tcl_StaticPackage call check-in: c7e52dd052 user: zoran tags: trunk
06:32
Updated to the version supplied with tcl8.3.4 since it contains setup from "-lpthread" for lib check-in: 0630d932dc user: zoran tags: trunk
06:31
Added domlocks.c file check-in: 575b3d81c4 user: zoran tags: trunk
2002-05-26
19:55
Fixed the fix about var scopes - the parameters set with with-param must of course not be visible in the scope of the caller (call-template, apply-templates). Better handling of error cases: pop the var frame always befor checking the result code of ExecActions. This should guarantee var memory cleanup even in error cases therefor prevents (even more) memory leaks. Don't free the baseURI's subdoc entries for the xml and xslt document, because this strings are owned by the documents. check-in: adaa1ca752 user: rolf tags: trunk
19:54
Prevent the extResolver Tcl_Obj from shimmering by copying. (I wonder, why incrementing the ref Count is not enough, but I got "UpdateStringProc should not be invoked for type cmdName" panics while stress testing, which vanished, after this change.) check-in: a95866d02a user: rolf tags: trunk
19:52
Better handling of xslt -parameter option (copying of the parameter list guarantees, that the pointer to the string reps of the list obj's remain valid, even if somebody tries to cheat or does something unusual at tcl level in some handler script). check-in: 5a21f73136 user: rolf tags: trunk
2002-05-24
13:51
Closed some really big leaks (incomplete cleanup of subdocs). Plus better cleanup in case of xslt errors. check-in: fa50653391 user: rolf tags: trunk
13:48
Copy the extResolver for every dom document. The reason, why this is needed, is deep inside of tcl's handling of Tcl_Obj's. Inrecementing the obj's refCounter doesn't protect the obj to 'shimmer' (to change his internal representation). TclCmdNameObj's don't know how to regenerate there string representation, if that string rep was invalidated. If that happens, tcl panics with "UpdateStringProc should not be invoked for type cmdName". check-in: 45964023c8 user: rolf tags: trunk
2002-05-23
22:27
Better code for xslt -parameter handling check-in: 1a0f855ef3 user: rolf tags: trunk
22:25
Fixed bug with var scope (a var/param is only visible inside his defining template). Closed memory leak (don't strdup -parameter names). Better cleanup in case of xslt errors. check-in: 1a77be3578 user: rolf tags: trunk
22:19
Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. New test in xslt (var scope bug). check-in: b5dd1d0555 user: rolf tags: trunk
2002-05-22
16:42
Added deleting of the created parser objects, for lesser 'noise', while memory leak debugging. check-in: 50118713e6 user: rolf tags: trunk
16:40
Fixed a memory leak (handling of element content models). check-in: 6b68d7b876 user: rolf tags: trunk
2002-05-19
00:41
Optimization for predicate handling. No visible effect with standard xsltmark test files, but a lifesaver for other cases out of the wild. For example, xmlconf.xml / xmlconformance.xsl out of http://www.oasis-open.org/committees/xml-conformance/suite-v1se/xmlconf-20010315.htm is speeded up more than six times. check-in: adc606e802 user: rolf tags: trunk
2002-05-17
14:24
With space is significant, in source documents. check-in: 4299a6eab1 user: rolf tags: trunk
2002-05-16
20:36
External entities, needed by the dtd tests. check-in: f59c38b4f0 user: rolf tags: trunk
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
Initial revision check-in: 98cd4affb5 user: rolf tags: trunk