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

2064 check-ins using file tests/namespace.test version 35c6d0caef

2020-07-10
00:28
Fixed the test data to be valid (and in sync with the source). check-in: 6ff953f765 user: rolf tags: domvalidation
2020-06-27
00:09
Added text constraint command whitespace. check-in: 567b33a968 user: rolf tags: schema
00:07
Fixed whitespaceImplReplace - correct mistakenly double test for \n and handle (the semi-hidden, because of the end-of-line handling by the parser) \r also. More tests. Closed-Leaf check-in: 2e024420ae user: rolf tags: xsdwhitespace
2020-06-22
00:38
Mostly implemented. check-in: 3b1eb55264 user: rolf tags: xsdwhitespace
2020-06-13
15:09
Started. check-in: 6c467a9d1f user: rolf tags: xsdwhitespace
2020-06-11
00:52
Merged from trunk. check-in: f782953f52 user: rolf tags: schema
00:48
Reverted my fix for [c6cc9e097be16bd3] from the previous commit and applied the better one proposed by mr_calvin. check-in: 5a424c365f user: rolf tags: trunk
2020-06-09
22:51
Reverted part of [d41caf001d9d4d2a], as attempt to fix [c6cc9e097be16bd3]. check-in: 2d46161b9f user: rolf tags: trunk
2020-05-30
01:38
Scripted XPath functions now also work in domunique/domxpathboolean XPath expression arguments. check-in: 6c38650608 user: rolf tags: schema
01:04
Scripted XPath functions in domunique/domxpathboolean XPath expression crashes. check-in: ad809ed898 user: rolf tags: schema
2020-05-27
00:34
Integrated bug fix branch: Handling of not per quantifier but per all childs optional content particle. check-in: 32945e114c user: rolf tags: schema
00:20
For a domunique constraint now the key value of an empty fieldset node set result can be given. check-in: 426dea4ca8 user: rolf tags: schema
2020-05-20
14:01
Fixed gross bug in info expected, which just was not triggered so far. check-in: 910d0dbb65 user: rolf tags: schema
2020-05-17
01:09
Fixed element end event in case of a complex content one child of interleave which isn't optional by quant but is because all of its constituents are optional. Closed-Leaf check-in: 4369e1130b user: rolf tags: tmp
2020-05-16
15:31
wip check-in: 8aa4152961 user: rolf tags: tmp
2020-05-15
01:34
Fixed element start event in case of a complex content as child of interleave which isn't optional by quant but is because all of its constituents are optional. check-in: 748fb8a432 user: rolf tags: schema
2020-05-14
23:12
There is still a bit work left to do in checkElementEnd. check-in: 9f3926e748 user: rolf tags: schema
2020-05-13
23:52
Merged from schema. check-in: f63309e59e user: rolf tags: wip
23:50
Merged from trunk. check-in: 1fc373ed25 user: rolf tags: schema
23:49
Added method clearString to the dom command. check-in: 5300f428a6 user: rolf tags: trunk
22:47
Save work. check-in: 23e2b27004 user: rolf tags: wip
2020-05-11
00:27
There is still a bit work left to do in checkElementEnd. check-in: 7f5d9b26db user: rolf tags: wip
2020-05-02
00:51
Merged from schema. check-in: c3fc68e0e2 user: rolf tags: wip
00:41
Merge the blunder in without documentation. check-in: a88689ecce user: rolf tags: schema
00:39
Fix possible subtile bug. Simplified a bit. Closed-Leaf check-in: 37f071d9e0 user: rolf tags: expected-onlymandatory
2020-05-01
21:59
#Small doc addendum. check-in: 3bc0aa5169 user: rolf tags: expected-onlymandatory
21:55
Corrected typo. check-in: ac452581b3 user: rolf tags: expected-onlymandatory
14:12
Corrected typo. check-in: 0248883e86 user: rolf tags: expected-onlymandatory
2020-04-30
01:12
wip check-in: 366abdbead user: rolf tags: expected-onlymandatory
2020-04-29
18:15
Merged from schema. check-in: 2da09eb05d user: rolf tags: expected-onlymandatory
18:14
Renamed the command/method deftext to deftexttype. Made it actually work als top level command inside a define script. check-in: bbe36354cb user: rolf tags: schema
2020-04-25
14:21
Still wip. check-in: 0f20b486ae user: rolf tags: expected-onlymandatory
2020-04-23
23:25
wip check-in: de53dde702 user: rolf tags: expected-onlymandatory
10:26
wip check-in: 56cdc2e142 user: rolf tags: expected-onlymandatory
2020-04-21
16:55
wip check-in: 5e6e76a283 user: rolf tags: expected-onlymandatory
2020-04-19
15:43
Save work. check-in: 9246e6fbb1 user: rolf tags: expected-onlymandatory
2020-04-17
17:53
Prepare for more info expected options. check-in: 01f241873c user: rolf tags: schema
00:35
Enhanced the tDOM C API. Now, binary extensions to tDOM may enhance the schema feature. As use case added sample extension schemadtx with the implementation of an extended text constraint (gtin checksum). check-in: 575f006829 user: rolf tags: schema
2020-04-16
23:56
Fixed build: use internal expat.h. Closed-Leaf check-in: 26cc7bb789 user: rolf tags: schema-extension
23:12
Merged from schema. check-in: 48401bf938 user: rolf tags: schema-extension
20:41
Do integer stored in pointer as the books say. check-in: e1553ee786 user: rolf tags: schema
2020-04-13
23:51
This is apparently the right magic. check-in: a1835a6901 user: rolf tags: schema-extension
2020-04-09
00:37
Another, less ambiguous attempt to make validatefile work cross-plattform with non 7-bit ASCII paths. check-in: 614925b428 user: rolf tags: schema
2020-04-08
23:54
There is no need that the dom parse -jsonroot option argument has to be an XML name. Documented the existence of the option, check-in: 67a97e3f0d user: rolf tags: trunk
16:55
Cherry-picked: Attempt to make validatefile work cross-plattform even with other than 7-bit ASCII only paths. check-in: 82e3ed6758 user: rolf tags: schema
2020-04-04
14:59
Attempt to make validatefile work cross-plattform even with other than 7-bit ASCII only paths. check-in: 8c019904c4 user: rolf tags: schema-extension
2020-04-03
13:07
Extended the tdom extensions stub machinery to allow binary extensions to add schema text constraint commands. Added extension schemadtx as simple example, which provides the needed boilerplate code. check-in: c4c28aed76 user: rolf tags: schema-extension
2020-04-02
16:15
wip check-in: 90051235fd user: rolf tags: wip
2020-03-30
00:44
wip check-in: cc99b6f628 user: rolf tags: wip
2020-03-29
14:31
Merged the done good things from wip in. check-in: 6f6b54d366 user: rolf tags: schema
14:28
Temporary branch. Closed-Leaf check-in: 5567ad361d user: rolf tags: fixmistake
14:26
Save work before correction of commit mistake. check-in: a6ac66f068 user: rolf tags: wip
2020-03-28
02:13
Added a test. check-in: 6f1e34131e user: rolf tags: wip
01:30
Merged the done good things from wip in. check-in: 9fefd2eabf user: rolf tags: wip
01:28
Fixed info definedElements and info definedElementtypes. Added info definedPatterns and info patterndefinition. check-in: 1711ee96ee user: rolf tags: wip
2020-03-27
00:54
Merged so far done work: recovering script may now decide about recover strategy by return value in case of MISSING_ELEMENT with element start event. Beside the default "ignore the element and the rest of the current parent element content and continue with the parents sibling" now there is "ignore", advising the validation engine to pretend the missing mandatory element had matched and we are looking for the element start event from there, and "vanish", advising the validation engine to skip the element as it would haven't been in the input XML. In case of UNEXPECTED_ELEMENT in element start event the result "vanish" advices the validation engine to skip the element (which allows to see further unexpected elements in the source). check-in: f90aa277b4 user: rolf tags: schema
00:42
Save work. check-in: 3b5fdf0979 user: rolf tags: wip
2020-03-25
20:17
Save work. check-in: 0e666eae10 user: rolf tags: wip
2020-03-22
02:04
wip check-in: 16e44b5f70 user: rolf tags: wip
2020-03-20
19:27
Save work. check-in: 1c292a129a user: rolf tags: wip
02:31
Working on more control over recovering for certain events. check-in: a07b509a44 user: rolf tags: wip
2020-03-19
02:21
Integrated so far done work: bug fixes in recoving, more work on sanitizing recovering, code gardening. check-in: 33ac16a9c2 user: rolf tags: schema
02:15
Made the default recover behaviour at element end the same as for element start: skip and continue at the sibling of the current subtree. Closed-Leaf check-in: 0037ce9df3 user: rolf tags: wip
01:09
Added a recoverFlags element to the schema data structure and reworked the rewind flag int to be a recoverFlags flag. We will need more of them. check-in: 02d5ffc9b5 user: rolf tags: wip
2020-03-17
23:55
Micro optimization. check-in: fd743f35c1 user: rolf tags: schema
2020-03-16
00:38
Save work. check-in: d70281b9c7 user: rolf tags: wip
2020-03-15
01:20
wip check-in: 899c21f84b user: rolf tags: wip
2020-03-14
12:05
Merged from schema. check-in: ee3147fc64 user: rolf tags: wip
03:25
Added flag -ignorematched to the schema command submethod info expected. check-in: 0dc7c2f6cc user: rolf tags: schema
03:24
Fixed the damn thing. Closed-Leaf check-in: 8fb5a0b988 user: rolf tags: wip2
02:49
Merged from schema. check-in: 4582355609 user: rolf tags: wip2
02:48
Gardening. check-in: 74cd3204f1 user: rolf tags: schema
02:45
Fixed bug in case of missing required attributes w/ reportCmd. check-in: c24f9bedb3 user: rolf tags: schema
2020-03-13
01:55
wip check-in: 46d498e323 user: rolf tags: wip2
01:41
wip check-in: ce15fc26c0 user: rolf tags: wip2
2020-03-12
11:20
Save work. check-in: 5efdc81019 user: rolf tags: wip
00:56
Fixed handling of interleave content pattern while looking for text match: Of course don't look at already matched interleave childs. And if the remaining interleave childs may be skipped look further down the stack for a match. Plus minor code aesthetic: use the same local variable name for the same task in similar functions. check-in: 5cdf6cf4d3 user: rolf tags: wip
2020-03-10
22:42
Merged from schema. check-in: 4232e4ea69 user: rolf tags: wip
22:38
Fixed seg fault in error handling of invalid domunique usage. check-in: f552cf0e3e user: rolf tags: schema
21:36
Fixed coding error - the (minor) optimization didn't worked and the "hard" work was done always, just sometimes unnecessarily. check-in: 4b8200de8a user: rolf tags: schema
21:14
Pacified compiler, which (rightly) saw that two variables may be used uninitialized in a function call but didn't realize that this variables are not used by the called function, in the code path that let the variables uninitialized. check-in: a10185e695 user: rolf tags: schema
20:27
A bit better (and more correct) documentation of the info domNode method. check-in: 52fa6690b2 user: rolf tags: schema
2020-03-09
00:44
wip check-in: 4e24c336db user: rolf tags: wip
2020-03-06
13:31
More fine tuning of the info domNode method. check-in: 63d2a7101f user: rolf tags: schema
2020-03-05
15:18
Integrated attribute validation improvements. check-in: 91992bf418 user: rolf tags: schema
15:16
Finalized attribute lookup preparation. Fixed a few attribute error reporting bugs. Code gardening (spell fixes in var/function names). Attribute validation could or should revisited for even better optimization, but what's there will do it for now. Closed-Leaf check-in: d73064e901 user: rolf tags: attributeLookupPrepare
2020-03-04
12:32
Fixed build warning. check-in: 4cc1a35372 user: rolf tags: attributeLookupPrepare
00:48
Save work. check-in: 7e110ec876 user: rolf tags: attributeLookupPrepare
2020-03-03
22:00
Added a test. check-in: b9dfbb4aa1 user: rolf tags: schema
2020-02-27
16:53
Changed the "tcl" schema constraint command: it just evaluates the given arguments without appending the schema command to the argument list. Added new "self" schema constraint command, which returns the schema command. check-in: 7ecc6a8e29 user: rolf tags: schema
15:11
Fixed build breaking typo in last commit. check-in: 2de9f383a8 user: rolf tags: schema
12:02
Regenerated schema html/man doc. check-in: 0ccd2835a7 user: rolf tags: schema
2020-02-26
23:56
More improvements to validation error recovering. check-in: 8d86db3818 user: rolf tags: schema
23:53
Save work. Closed-Leaf check-in: 5b16be2c89 user: rolf tags: recover-doc-wip
01:31
Merged from schema. check-in: 4895c780de user: rolf tags: recover-doc-wip
00:23
Fixed doc typo. check-in: 0013508953 user: rolf tags: schema
00:21
Added documentation for the additional postvalidation schema constraint command domunique and domxpathboolean. check-in: 873b7a4ffd user: rolf tags: schema
2020-02-25
23:19
Check the postvalidation only contraints in definition order. Added the postvalidation only constraint command domxpathboolean. check-in: d331071bcf user: rolf tags: schema
00:35
Provided more info in case of recovering from domunique validation failure. check-in: 84b2ee3884 user: rolf tags: schema
2020-02-21
12:46
Fixed error recovering in case of UNEXPECTED_ELEMENT. check-in: 537243ab49 user: rolf tags: schema
2020-02-20
02:56
Fixed and sanitized the schema cmd method info domNode. check-in: 432f94b57a user: rolf tags: schema
2020-02-19
13:22
Merged from trunk. check-in: f67995f137 user: rolf tags: schema
12:38
Preserve node flags (most notable disableOutputEscaping) while cloning nodes or subtrees. Fixes ticket [f52380997e5]. check-in: 8fcf318110 user: rolf tags: trunk
2020-02-13
01:19
Fixed internal clean up after error in a content definition script with local defined elements. check-in: 8d564a17c0 user: rolf tags: schema
2020-02-12
00:39
Code gardening. check-in: e7f010f104 user: rolf tags: schema
2020-02-11
20:02
Enforce that only an element defined by defelement can be document element of the xml to validate. Added documentation for the content definition command "elementtype". check-in: f84ee35226 user: rolf tags: schema
16:28
Better handling of validation command using SAX parser in partial parsing mode (-final 0). check-in: 266d76531f user: rolf tags: schema
2020-02-10
22:38
Added a few tests. check-in: d1c94a212f user: rolf tags: schema
2020-02-06
23:41
Code fix. check-in: 106ae257a7 user: rolf tags: schema
2020-02-04
01:11
Fasten work. check-in: 121b7f42ad user: rolf tags: schema
2020-02-01
01:22
Added an optimization in case of serveral easily distinguished choices in a choice content particle. check-in: 19b4a5d0ea user: rolf tags: schema
01:12
Added a configurable threshold for the optimization. Closed-Leaf check-in: 3ae775c452 user: rolf tags: mixedoptimization
2020-01-27
23:48
Merged from schema. check-in: 01080e891e user: rolf tags: mixedoptimization
23:42
Save work. check-in: 70eb60b0b9 user: rolf tags: recover-doc-wip
2020-01-25
14:43
Save work. check-in: 7a6bb5d975 user: rolf tags: recover-doc-wip
2020-01-21
00:57
Added the schema definition command associate and the requesting method info stack associated, tests and doc. check-in: 254c84e47d user: rolf tags: schema
00:54
Added method info stack associate to request data associated with the associate definition script command. Closed-Leaf check-in: b2ca5788d4 user: rolf tags: associate
2020-01-20
00:17
Merged from schema. check-in: 25933a5ac2 user: rolf tags: mixedoptimization
2020-01-18
02:05
Save work. check-in: 59815422e2 user: rolf tags: associate
01:32
Save work. Leaf check-in: 8b206fdd93 user: rolf tags: linkvar
2020-01-11
02:18
Merged from trunk. check-in: 8cd9ca1c3a user: rolf tags: schema
00:40
Minor gardening. check-in: 1564f442a9 user: rolf tags: trunk
00:32
Removed more unused historical relicts. check-in: 346bcf0b87 user: rolf tags: trunk
00:00
Removed unused historical relict. check-in: a97966286a user: rolf tags: trunk
2020-01-10
23:59
Removed unused historical relict. check-in: 9a72a20202 user: rolf tags: schema
23:26
Pacified a (bogus) compiler warning. check-in: 21822aeab7 user: rolf tags: schema
2020-01-05
01:14
Added subcommand definedElementtypes to the schema command method info, returning the list of all defined element types. check-in: f3cb326ad5 user: rolf tags: schema
00:15
Added schema command subcommand method info typedefinition to query defelementtype definition details. check-in: 81cd49d4ec user: rolf tags: schema
2020-01-03
00:52
Added documentation for the schema command method validatechannel. check-in: 1774aef03a user: rolf tags: schema
2020-01-02
02:19
Added schema command validatechannel, which reads the data stream to validate from a tcl channel. check-in: c5bd39ed92 user: rolf tags: schema
2020-01-01
23:53
Added some index keywords to the schema documentation. check-in: d2f4f6bacf user: rolf tags: schema
2019-12-31
02:37
Added documentation for the schema command methods defelementtype and validatefile. check-in: c9e4b5af68 user: rolf tags: schema
02:06
Added schema command method validatefile. check-in: cb70253aed user: rolf tags: schema
02:05
Added test for validatefile. Closed-Leaf check-in: 747de9fb71 user: rolf tags: validatefile
00:57
Merged from schema check-in: 75d96d3e0c user: rolf tags: validatefile
00:49
Merged from trunk check-in: f212d3b0ba user: rolf tags: schema
00:46
Updated to expat 2.2.9. check-in: d619d316b8 user: rolf tags: trunk
00:37
Merged from trunk. Closed-Leaf check-in: f3e9bae528 user: rolf tags: expat-update
2019-12-28
01:09
Added commands defelementtype and elementtype to have elements with the same name but different content models (without using local defined elements). check-in: 8327de4934 user: rolf tags: schema
01:03
Fixed problems with cleanup after errors in definition scripts. Closed-Leaf check-in: f08e4b9cb1 user: rolf tags: elementtype
2019-12-26
01:53
Save work. check-in: 3fe6e4e349 user: rolf tags: elementtype
2019-12-25
03:46
wip check-in: 6e717778ef user: rolf tags: elementtype
2019-12-24
02:01
Fixed the test suite wrt to the last commit. Further work on elementtype. check-in: a17f75fc27 user: rolf tags: schema
01:40
The "define type of thing" schema definition commands can't be used nested and raise error now if used so. check-in: 14ae7cd431 user: rolf tags: schema
2019-12-23
23:59
Document current behaviour itr. check-in: 4474960598 user: rolf tags: schema
22:00
wip Closed-Leaf check-in: ffe9d23e1b user: rolf tags: wip
2019-12-17
01:17
Merged from schema. check-in: a37b831d95 user: rolf tags: wip
2019-12-14
01:53
Checked all uses of sdata->stack for if it in fact is given that this isn't NULL. check-in: 8b67a5eb7e user: rolf tags: schema
2019-12-11
23:06
Fixed seg fault in case of UNKNOWN_ROOT_ELEMENT and reportCmd is set. check-in: 3a3f58154d user: rolf tags: schema
2019-12-07
01:59
Added the text constraint command setvar, which expects the name of a tcl var as argument and set this variable to the text to validate. check-in: 366ed3d250 user: rolf tags: schema
2019-12-06
01:52
Merged from schema. check-in: 022d8ade42 user: rolf tags: mixedoptimization
2019-12-05
14:47
Played around with a validatefile method which takes a file name and does parsing/validation in chunks. check-in: efc9bce1b9 user: rolf tags: validatefile
13:31
Removed unused argument to pushToStack. check-in: 5fe79f9b36 user: rolf tags: schema
13:27
Try an O(n) approach for simple choice cases. check-in: 4b65eabd78 user: rolf tags: mixedoptimization
10:11
Exposed text constraint command isodate to be usable outside schema validation context. check-in: 8b2322acee user: rolf tags: schema
00:23
Simplified text constraint commands sekeleton. check-in: 5430bf6f10 user: rolf tags: schema
2019-12-04
10:46
Minor doc addition. check-in: 5055811366 user: rolf tags: schema
2019-11-30
00:50
Merged from trunk. check-in: 8c0cc53beb user: rolf tags: schema
00:47
Editorial clean up: Removed cvs keywords in source code headers; the are obsolete. check-in: 14a8728e63 user: rolf tags: trunk
00:22
wip check-in: 55d2228ae4 user: rolf tags: toschema
00:07
Implemented the text constraint commands unsignedByte, unsignedShort, unsignedInt and unsignedLong, along the xsd counterparts. check-in: 051ae451a2 user: rolf tags: schema
2019-11-29
16:42
Added text constraint command hexBinary (similar to the xsd type hexBinary). check-in: ea199fedb7 user: rolf tags: schema
00:29
Added the xsd data types negativeInteger, nonNegativeInteger, nonPositiveInteger and positiveInteger. check-in: d3fc207059 user: rolf tags: schema
2019-11-24
01:07
Added the xsd data types Name, NCName and QName as text constraint commands name, ncname and qname. check-in: 3201b746cc user: rolf tags: schema
2019-11-22
23:54
Added validation of the included tmml xml documentation against the included tmml.schema as test. check-in: 2bee8a3462 user: rolf tags: schema
23:51
Minor editorial change. check-in: 16866bc56d user: rolf tags: schema
2019-11-21
00:57
Fixed -DTDOM_NO_SCHEMA=1 build. check-in: 95b30715cd user: rolf tags: schema
2019-11-18
22:42
Removed slipped throu debuging instrumentalization. check-in: 22b17ef648 user: rolf tags: schema
22:37
The attribute und nsattribute commands are only supported toplevel in the definition scripts of the defelement method and the element command. check-in: b3b2ce77f0 user: rolf tags: schema
2019-11-16
13:09
A few spell fixes. check-in: 7726a079e1 user: rolf tags: schema
2019-11-15
23:46
Started check for ambiguity. check-in: a2f83dea7e user: rolf tags: wip
15:17
Updated documentation example section. check-in: c0721894cc user: rolf tags: schema
13:45
Work on the info method and the documentation for that method. check-in: e3fd3c93a9 user: rolf tags: schema
10:22
Moved schema command method nrForwardDefinitions as subcommand to info; it belongs more there. check-in: 05086c2182 user: rolf tags: schema
09:30
Prevent call of the recovery report command in case of probed optional not matching pattern. Added recovery in a so far not handled case. check-in: 1ceabd63a5 user: rolf tags: schema
2019-11-14
14:09
Added optional time zone check to text constraint isodate, making it fully xsd:date compliant. check-in: 7cf1968eb3 user: rolf tags: schema
12:58
Added more documentation. check-in: 78462d5d87 user: rolf tags: schema
2019-11-13
17:19
Regenerated man and HTML documentation. check-in: c4d76b0670 user: rolf tags: schema
17:06
Added info line and info column to retrieve parsing position information. Made the interfaces for position information using a long for this. Tried to prevent concurrent use of a schema command - a schema command may be busy. Added book-keeping code to prevent seg fault, if a schema command is configured as validation command for a SAX parser or DOM building and the schema command is deleted on the way at script level. check-in: e5d39024c8 user: rolf tags: schema
17:02
Added info line and info column to retrieve parsing position information. Made the interfaces for position information using a long for this. Tried to prevent concurrent use of a schema command - a schema command may be busy. Added book-keeping code to prevent seg fault, if a schema command is configured as validation command for a SAX parser or DOM building and the schema command is deleted on the way at script level. Closed-Leaf check-in: d3e7475b85 user: rolf tags: wip
2019-11-09
16:56
wip check-in: d10c95ec06 user: rolf tags: wip
00:54
Plugged obscure mem leak. check-in: 8b0f0e9ecc user: rolf tags: schema
2019-11-06
20:55
Merged from trunk. check-in: 34fdc85dfb user: rolf tags: schema
20:54
Small test suite adaption for the upcoming tcl versions > 8.6. check-in: 6a684d733e user: rolf tags: trunk
20:48
Minor additions. check-in: f5f54ce49b user: rolf tags: schema
2019-11-05
22:16
Another attempt to get info expected right. check-in: 03f4151498 user: rolf tags: schema
2019-11-04
18:08
Added simple recovery, with infrastructure to add more fancy recovery features without too much fall out. Added info expected, which returns the expected (possible) events, even in a validation error report handler. check-in: a16fad774f user: rolf tags: schema
17:47
Fixes: Don't try to check attributes if in skip mode - it doesn't make sense to check attributes of an unknown element. Don't fumble with activeChild before calling out to virual matches. Report also element end as possible event (if that is possible, of course) for info expected. Closed-Leaf check-in: 65eff1573f user: rolf tags: wip
00:24
Save work. check-in: d2f12cc8d4 user: rolf tags: wip
2019-11-02
01:29
The SchemaValidationStack struct element activeChild (which turned into a misnomer by the last moves) - together with the hasMatched element - now gives the position of the last matched content particle (was the child to start look at for the next event). check-in: e795f2b9f0 user: rolf tags: wip
2019-11-01
15:42
Added more fine print towards being able to calculate the set of possible (expected) events in case of validation error. check-in: 6a02d5bab5 user: rolf tags: wip
2019-10-31
14:12
Work on validation error recovery continues. Since there seems to be no silver bullet, this throws code sprinkled all over the code to make some progress. check-in: 70f5d362f7 user: rolf tags: wip
2019-10-28
00:33
Added a test. check-in: fd510a13be user: rolf tags: wip
2019-10-26
01:20
Fixed not always poping up of tcl errors in called script during validation. check-in: a43c523416 user: rolf tags: wip
2019-10-25
00:30
INVALID_DOM_KEYCONSTRAINT is really not a validation error but a validation script error (as a TCL_ERROR from a called script. Though, the evalError flag isn't respected anywhere, obviously. check-in: a77a3f3b23 user: rolf tags: wip
2019-10-24
22:05
Merged from trunk. check-in: c416325b0b user: rolf tags: wip
14:12
Added xsd as new format (and default) to the text constraint command "number". check-in: c2b6dd2267 user: rolf tags: schema
11:13
Further work on the schema command "event" method. check-in: 644a84f1b9 user: rolf tags: schema
2019-10-23
09:25
Merged from schema. check-in: 3c16fd1ab1 user: rolf tags: wip
00:27
Sanitized namespoace handling for 'event start'. Startet attribute input to the 'event start' method. Therefor internal reorganisation, which also makes adding hash tables for larger sets of attribute a bit simpler. check-in: 5f6af15f8d user: rolf tags: schema
2019-10-19
12:01
Removed more no longer used defines. check-in: 0605e10005 user: rolf tags: schema
01:46
Removed old cruft, simplified (a bit) the central data structure; we have a finit, known in advance set of of quents. check-in: 39d74a1df4 user: rolf tags: schema
00:08
Ensure that the script error of a script evaluated by a schema command pops up to global level. check-in: a15e6f3d24 user: rolf tags: schema
2019-10-18
23:43
Don't call event on a schem command in any script evaluated from the same schema command. check-in: d1707acfbf user: rolf tags: schema
2019-10-17
00:41
Recovery is hard. For several reasons. check-in: bd90f4a8d4 user: rolf tags: wip
2019-10-12
13:29
Save work. check-in: 8d9da46798 user: rolf tags: wip
01:27
Save work. check-in: aa6a292606 user: rolf tags: wip
2019-10-11
11:54
Merged from schema. check-in: 6165f6c203 user: rolf tags: wip
00:29
Added a few tests to document the behaviour in case of validation against forward defined elements or refs. check-in: bb898f3778 user: rolf tags: schema
2019-10-10
01:50
Started info subcommand pastexpected. check-in: 78b0aac051 user: rolf tags: wip
2019-10-09
16:40
Added subcommand nextexpected to the info method of schema commands. check-in: c9fd675e9f user: rolf tags: schema
16:25
Settled for a list of unique possible next content (which special entries for any and text) in unspecific order as result of the nextexpected subcommand of the info method. Closed-Leaf check-in: 35c7ad95de user: rolf tags: wip
2019-10-08
06:22
Fixed content constrain command "any": respect prefix/ns mapping. More work on info nextexpected. check-in: 223307a111 user: rolf tags: wip
2019-10-07
09:33
Renamed the info method subcommand frontexpected of the validation commands to the hopefully better name nextexpected. check-in: d889feb189 user: rolf tags: wip
2019-10-06
23:40
Save work. check-in: b26625af9b user: rolf tags: wip
2019-10-05
23:17
Expat 2.2.9 check-in: c89f418e75 user: rolf tags: expat-update
12:32
wip Closed-Leaf check-in: 5aac7f85df user: rolf tags: deviation
00:16
More minor doc tweaking. check-in: 43e20be75b user: rolf tags: wip
00:06
Minor work on the documentation. check-in: a5c850a58e user: rolf tags: wip
2019-10-04
16:13
More correct handling of interleave content particle in validation state introspection. check-in: 4c3f653e15 user: rolf tags: wip
12:15
Again, more work on introspection of validation state. check-in: 5dd7e9928d user: rolf tags: wip
2019-10-03
22:39
More work on introspection of validation state. check-in: 4328236591 user: rolf tags: wip
11:29
Added #text to the possible next events in case of mixed. check-in: f1a7ec26da user: rolf tags: wip
02:23
Added another test. check-in: 05cfa07ebf user: rolf tags: wip
02:18
This returns even something to script level. check-in: c8b0062672 user: rolf tags: wip
2019-10-01
23:10
wip check-in: 1f46cc97c2 user: rolf tags: wip
2019-09-27
00:37
Renamed info defelements into definedElements and factored the implementation out for use in info expected. check-in: ec0ddc4465 user: rolf tags: wip
2019-08-25
00:22
wip check-in: b6f3e3b2b4 user: rolf tags: wip
2019-08-24
13:27
wip check-in: eed7c07609 user: rolf tags: wip
2019-08-23
22:56
Added documentation to few commands, implemented earlier. check-in: 8fce09e002 user: rolf tags: schema
17:36
Cleanly close open keyspace constraints even in case of error recovering by skiping the remaining content model of the enclosing element after validation error. Fixed interleave checking (which could miss to complained about missing childs in the interleave content). check-in: 37403bd128 user: rolf tags: schema
2019-08-22
21:23
Made more info about the validation state available for recover scripts. Closed-Leaf check-in: 2c03ac9cd6 user: rolf tags: wip
2019-08-19
16:43
Fixed typos. check-in: 8e8341da68 user: rolf tags: trunk
2019-08-17
13:54
wip check-in: 0625bcaa4c user: rolf tags: wip
01:40
wip check-in: f8161e258e user: rolf tags: wip
2019-08-16
15:20
Merged from trunk. check-in: 5cf43bf74a user: rolf tags: schema
13:57
Even a bit better wording, probably (at least the native speaker say so). check-in: a3edd2a308 user: rolf tags: trunk
13:04
Corrected speeling and better wording. check-in: 7ec866b33f user: rolf tags: trunk
2019-08-12
21:12
Fix for [011e259c69]. check-in: 090cdefdab user: rolf tags: trunk
21:11
Fix for [011e259c69]. check-in: cafa5160c0 user: rolf tags: schema
2019-08-11
01:35
Added xsd like boolean text constraint. check-in: c24f4e9aeb user: rolf tags: schema
2019-08-06
23:35
Removed cruft for versions not supported anymore. check-in: 0117b3be8d user: rolf tags: trunk
23:31
Removed cruft for versions not supported anymore. check-in: 13fe3aff35 user: rolf tags: schema
23:11
Fixed bug introduced with prefixns: the shortcuts from prefixns are only used for schema definiton; they mean nothing for prefix/namespace in the xml input. check-in: 40671ee8c3 user: rolf tags: schema
2019-08-02
23:52
The comment is correct, adjusted the code to do what it say. check-in: 4d478f979b user: rolf tags: schema
2019-07-31
22:17
Hardened isodate. check-in: 4fed50bd75 user: rolf tags: schema
2019-07-23
23:54
Gardening around. Moved generation of all schmea related Tcl commands to tDOM_SchemaInit(). Moved the method 'status' as 'validationstatus' (alias 'vstatus') under the 'info' method and used the opportunity to start to define the schema command method info. check-in: e5493b6b50 user: rolf tags: schema
2019-07-20
01:25
Added more. check-in: dce94477ff user: rolf tags: trunk
2019-07-19
23:49
Added test cases. check-in: afbf750fd4 user: rolf tags: trunk
2019-07-18
10:23
Merged from trunk. Leaf check-in: ea4377f290 user: rolf tags: fuzzer-instrumentation
10:23
Merged from trunk. check-in: a505e6bc02 user: rolf tags: fuzzer-instrumentation
2019-07-16
20:47
Modified test to work as intended on 32-bit also. Fixes [156ce3b130e8]. check-in: 4aa07a679d user: rolf tags: trunk
2019-07-12
22:26
Merged from trunk. check-in: df3a907a20 user: rolf tags: schema
2019-07-11
14:07
Fixed possible floating point exception with arithmetic operator 'mod'. check-in: 7cf8bdeb6c user: rolf tags: trunk
02:02
Fixed possible seg fault with malicious input. check-in: d22f55f9a3 user: rolf tags: trunk
2019-07-10
23:27
Fixed seg fault in reporting certain invalid xpath exprs with a number with nr of digits in a certain range. check-in: ad8242fa18 user: rolf tags: trunk
21:56
Replaced the last two atof(). check-in: 52d6965abb user: rolf tags: trunk
17:49
Merged from trunk. check-in: 3b910d27ce user: rolf tags: fuzzer-instrumentation
2019-07-08
21:45
Musing over error reporting. Closed-Leaf check-in: 900e627f9a user: rolf tags: wip
21:01
Expat 2.2.7 Closed-Leaf check-in: b597113430 user: rolf tags: expat-update
2019-07-06
22:07
Ups ... I obviously forgot to update the VERSION file at the latest expat update (to 2.2.6). check-in: 35e1b761e1 user: rolf tags: trunk
2019-06-18
22:18
An example of different 'styles' of a certain type: The 'interger' text constraint now has two interpretation of an integer - what Tcl_GetInt() accept and what a valid xsd:integer is, which is quite different. check-in: 9a589897fb user: rolf tags: schema
2019-06-17
09:43
Made the lately added new Schema_CP_Type types known to the debuging machinery. check-in: 8e9437ea75 user: rolf tags: schema
2019-06-15
01:04
Enhanced the any content command to optionally match only any element in a given namespace. check-in: 728f51431a user: rolf tags: schema
2019-06-08
14:36
Work on validation error reporting. check-in: 634d7e6d48 user: rolf tags: schema
2019-06-06
23:23
Merged from trunk. check-in: 672fc9ca28 user: rolf tags: domvalidation
2019-06-05
17:29
Bug fix in case of domuniqe with elements as fields. check-in: 34e75df5dd user: rolf tags: schema
2019-05-31
17:00
Small editorial corrections. check-in: 09863d4ab7 user: rolf tags: schema
00:05
Added sub tree local uniqueness and foreign key contents. check-in: 43cf45b772 user: rolf tags: schema
2019-05-30
23:54
Adapt the example section to what is actually implemented. Closed-Leaf check-in: ebb73c9257 user: rolf tags: keyspaces
23:40
Added some sparse word of documentation. check-in: 36d3888cac user: rolf tags: keyspaces
22:38
Added simple keyref feature to keyspaces. check-in: 1f7b8a81c1 user: rolf tags: keyspaces
01:02
If recovering from the error "text doesn't match constraint" pretent the text has matched so the not matched required text cp isn't reported again as missing text. check-in: 39651ce911 user: rolf tags: keyspaces
2019-05-29
12:57
Starts to actually do something. Still some way to go. check-in: 6eb6891a1e user: rolf tags: keyspaces
2019-05-28
00:29
Save work. check-in: 48be317469 user: rolf tags: keyspaces
2019-05-27
12:01
More work. check-in: 8f37424ac1 user: rolf tags: keyspaces
2019-05-25
12:32
Added the new CTYPE also to the debug functions. check-in: 9049114cc3 user: rolf tags: keyspaces
00:46
Started work. (Wenn es anders nicht geht, so geht es doch viel besser.) check-in: 11c1cd9dad user: rolf tags: keyspaces
2019-05-24
12:54
Save work. Closed-Leaf check-in: 66e05a9e1a user: rolf tags: localkey
2019-05-22
22:22
Added the XPath step "." as allowed step in restricted schema XPath Expressions. check-in: ab18265ee0 user: rolf tags: localkey
2019-05-21
23:56
Save work. check-in: ddad141351 user: rolf tags: localkey
22:37
Merged from schema. check-in: 72ce7820c1 user: rolf tags: localkey
22:30
Added dom tree validation specific unique key contraints along the lines of xsd unqiue with selector and list of fields but with no restrictions on the XPath expressions (other then resulting a node set in case of selector and a result set with one node in case of field XPath expression). check-in: ba6bd2bb7c user: rolf tags: schema
22:24
Added optional flag argument to domunique. Currently only flag controls, if empty field node sets are ignored (or seen as the empty string). Closed-Leaf check-in: 6a51d9897b user: rolf tags: domlocalkey
16:21
Adding DOM tree postvalidation (only) local key constraints along the lines of xsd unqiue with selector and list of fields but with no restrictions on the XPath expressions (other then resulting a node set in case of selector and a result set with one node in case of field XPath expression). check-in: f645e5dfe1 user: rolf tags: domlocalkey
2019-05-18
00:41
Save work. check-in: 4592100a23 user: rolf tags: localkey
2019-05-17
00:02
Now start to actually use the local key constraint info. check-in: 120c8294a0 user: rolf tags: localkey
2019-05-16
22:25
Still working on digest local key constraint specification: Now support union "Path ( '|' Path )*" for selector and fields. Distinct between element and attribute selecting steps because of the distict spaces of the names. check-in: 69c262ef77 user: rolf tags: localkey
2019-05-15
00:16
Enhanced the unique schema contraint: the fields argument is now expected to be a proper tcl list with their elements as the field XPath expressions. check-in: abc0715900 user: rolf tags: localkey
2019-05-14
20:04
Merge from schema. check-in: dc36b35000 user: rolf tags: localkey
20:02
Enhanced the text constraint commands id/idref: Beside the one doc wide ID space there are now additional other named doc wide ID/IDREF spaces possible. Each of them work along the unnamed doc wide ID space. check-in: 6b550b98f8 user: rolf tags: schema
2019-05-11
01:41
Save work. check-in: 3ce85f17a5 user: rolf tags: localkey
2019-05-10
16:05
Save work. check-in: 2596c19c35 user: rolf tags: localkey
13:41
Merge from schema. check-in: 4bf39f2571 user: rolf tags: localkey
13:40
Fixed bug (invalid mem access) if a virtual constraint will be called under certain circumstances while looking if pcdata matches. check-in: 4cc96fcd33 user: rolf tags: schema
13:05
Merged from schema. check-in: db1bcdb342 user: rolf tags: localkey
13:04
Futher work on prefixns: allow it als top level command in define script. Changed semantic to first prefix/namespace mapping in prefixUriList wins, if there are several prefixes mapping to different namespaces. check-in: a70c1d6c6e user: rolf tags: schema
00:49
Use the new schema feature prefixns for namespace prefix resolution in local key constraint XPath expressions. check-in: e407c9fd00 user: rolf tags: localkey
00:40
Merge from schema. check-in: 508a776b44 user: rolf tags: localkey
00:36
Added method prefixns to schema cmds. This allows to point to namespace URIs by shortcuts or prefixes. check-in: 74a399d84f user: rolf tags: schema
2019-05-09
19:16
Merged from schema. check-in: 4879bb492b user: rolf tags: localkey
19:13
Fixed merge error. check-in: 89fbb30347 user: rolf tags: schema
18:34
Test added. check-in: 968b411fd1 user: rolf tags: schema
18:33
Merged from trunk. check-in: 05a6175f48 user: rolf tags: schema
18:31
Reworked (and renamed) selectNodesNamespaces to make it usable from elsewhere and made it public. check-in: 4ca5de8963 user: rolf tags: trunk
14:27
wip check-in: b0e429ebf8 user: rolf tags: localkey
2019-05-07
22:52
Implementend restricted XPath expressions for local key selectors and fields. check-in: 918781e945 user: rolf tags: localkey
2019-05-06
23:18
Added text constrain cmd base64. check-in: 68cd47d57c user: rolf tags: schema
2019-05-04
12:35
Started work on subtree local unique/key/keyref. check-in: 97b292828f user: rolf tags: localkey
2019-05-02
16:53
Added text constraint commands id and idref. check-in: a886296dc3 user: rolf tags: schema
12:14
Added new text constraint command split, which splits the text to check into a list and cecks the elements of that list against the given constraints. check-in: 77cf4c7090 user: rolf tags: schema
12:11
Done. Closed-Leaf check-in: 9a631db368 user: rolf tags: wip
2019-05-01
23:55
wip check-in: a155f2862c user: rolf tags: wip
14:56
wip check-in: a858a6ac77 user: rolf tags: wip
2019-04-27
00:50
Added documentation for the strip text constraint command. check-in: d441a1e8b1 user: rolf tags: schema
00:38
Added text constraint command strip which tests all text constraints in the evaluated argument with the text to test striped of all white space at start and end. check-in: b6738cb9c3 user: rolf tags: schema
00:33
Prepare for more converters to come. check-in: fd2f1e3238 user: rolf tags: schema
2019-04-21
23:06
Added (so far simplistic) validation error recovering with error reporting via tcl callback. check-in: cd6dce16a1 user: rolf tags: schema
2019-04-19
15:57
Still work on validation error recovering. Closed-Leaf check-in: a00292f6a2 user: rolf tags: wip
2019-04-16
23:28
Still work on validation error recovering. check-in: e1eaa5909b user: rolf tags: wip
2019-04-15
23:20
More work on validation error recovering. check-in: a5c155ee31 user: rolf tags: wip
2019-03-30
01:31
More gardening towards reportcmd. check-in: 7319d6926f user: rolf tags: wip
2019-03-29
00:35
wip check-in: 1f800e1c4b user: rolf tags: wip
2019-03-26
01:43
Clean up the mess, a bit. check-in: 7154504138 user: rolf tags: wip
2019-03-23
15:20
Wip (not well working inbetween state). check-in: 0da31f4fcb user: rolf tags: wip
2019-03-20
16:00
Still wip. check-in: 3bf5b1e10d user: rolf tags: wip
2019-03-15
15:17
avoid usage of fallback to __tdomGC at global/NS level, this way it could prevent a leakage of tree in the global var __tdomGC (only affected if current level is global/NS) Leaf check-in: 7fca63fe3f user: sebres tags: fix-traced-gc-regression-of-091-cr1
2019-03-14
22:01
Test suite respects tcl-test options -load|-loadfile. check-in: 7a0bfb53ad user: rolf tags: trunk
16:16
accept tcl-test options like -load "load libtdom...; source ../lib/tdom.tcl" (allow to run test-suite from development environment, other tdom-version or uninstalled) Leaf check-in: 881efc6915 user: sebres tags: fix-traced-gc-regression-of-091
15:38
small amend, removing the previous trace in case to wrap to __tdomGC check-in: ff7642f303 user: sebres tags: fix-traced-gc-regression-of-091
15:24
try to explain and fix regression of traced GC, introduced in tdom 0.9.1 check-in: c466f47988 user: sebres tags: fix-traced-gc-regression-of-091
11:38
More tests to check/document behaviour in case of using traced doc vars (pattern [dom parse $xml docvar]). check-in: 30c2ebb89f user: rolf tags: trunk
2019-03-13
01:47
Fix overeager cleanup of virtual constraints. check-in: abd9fe81b1 user: rolf tags: wip
2019-03-11
00:47
wip check-in: e2187f0363 user: rolf tags: wip
2019-03-09
15:09
wip check-in: bfa5b4bab7 user: rolf tags: wip
2019-03-07
23:12
Removed an ancient CONST, that somehow sliped in. check-in: afef231e60 user: rolf tags: schema
22:46
Merged from trunk. check-in: 60af362516 user: rolf tags: schema
22:45
Made novem compatible. check-in: d41caf001d user: rolf tags: trunk
22:44
Changed from original in DTD system identifier, so that it points to the included external dtd. check-in: d4bb0eb147 user: rolf tags: trunk
13:44
Merged feature virtual constraints into the main schema dev branch. check-in: c24d55afe8 user: rolf tags: schema
13:42
(This and the previous commit on this branch:) Changed the calling convention of the virtual contraints: Append the schema command name to the args given and evaluate that. Whatever data the virtual contraint need has to be requested inside the called script (most probably by the new [<schemacmd> info ...] method, which has to be enhanced over time to provide the information that may needed in practice by this. Added code to ensure a Tcl error in evaluated virtual event does pop up in the result of the schema command call. Closed-Leaf check-in: 71d80fea6e user: rolf tags: virtualConstraints
01:48
Save work. check-in: ba4f23dbc4 user: rolf tags: virtualConstraints
00:05
Merged from schema. check-in: f189f4695e user: rolf tags: virtualConstraints
2019-03-06
22:47
Further work on calling schema commands in schema definition / text constraint scripts. check-in: 2d5a4f85c8 user: rolf tags: schema
13:34
More hardening and clarification of using a schema cmd inside one of the script arguments evaluated by itself. check-in: 4cefb1db19 user: rolf tags: schema
2019-03-04
12:56
Removed ignored flag in Tcl_EvalObjv() calls. check-in: 7e974a5889 user: rolf tags: schema
12:37
Hardened schema cmds againts deleting the command in one of its call out to Tcl by postponing the clientData cleanup until the outmost Tcl_Eval*() call has finished. check-in: 2774ed6a5a user: rolf tags: schema
2019-03-02
15:21
Work in progress on reportcmd/recovering and schemacmd info. check-in: 811794c107 user: rolf tags: schema
02:28
Removed #define and code for a tcl version (8.0) that isn't support for a long time. check-in: 0efaef90de user: rolf tags: schema
2019-03-01
11:58
Added a -nocase flag to the text constraint command match (because it was easy). Small modification to the text constraint command isodate. It now accept years longer that four digits (as the xsd date types do). Added some more documentation. check-in: fa18fb363f user: rolf tags: schema
2019-02-28
01:31
Added attribute value constraining with text types. check-in: 44ebaf2b3f user: rolf tags: schema
2019-02-22
01:35
Renamed schema obj cmd method query to info and worked at bit on that. Moved all code block defines to one place while adding one. check-in: 79df08c5d7 user: rolf tags: schema
2019-02-21
00:49
Added stubs for new schemacmds methods "query" and "reportcmd". check-in: c39b98ff18 user: rolf tags: schema
2019-02-19
23:06
Allow schema definition command "tcl" only inside of sequential content particles. Still uncertain about the interface. check-in: 23f4f6f626 user: rolf tags: virtualConstraints
01:36
Merged from schema. check-in: 7718b1e0ff user: rolf tags: virtualConstraints
01:33
Merged from trunk. check-in: 15ba66e204 user: rolf tags: schema
2019-02-17
23:18
More work on text types. Added automatic schema reset after using schema command during dom building or sax event parsing. check-in: bd8b0eecee user: rolf tags: schema
00:46
Added schema command method deftext - defining named text constraints. Enhanced the schema definition command text to allow to refer to named text constraints. check-in: ee18aed126 user: rolf tags: schema
2019-02-15
16:57
Make sure that calling another tDOM schema command inside a schema definition script (after all they are just a Tcl script) work. But ensure that calling a schema definition script evaluation inside a currently evaluated schema definition script by the same schema command raises error. check-in: 258c031b81 user: rolf tags: schema
2019-02-14
02:39
Added text constraint commands oneOf and allOf. check-in: 046b4f9866 user: rolf tags: schema
2019-02-11
23:49
Kind of eat you own ... use your own tool. check-in: 268a9acf91 user: rolf tags: schema
20:17
Fixed domvalidate in case of namespaced nodes with prefixes in the tree. Improved DTD to schema translater: there isn't a need to wrap a SEQ with default quant into a schema group. check-in: d518456e98 user: rolf tags: schema
2019-02-09
17:02
More interleave tests. check-in: ac9a46bd21 user: rolf tags: schema
02:21
Updated text constraint command list. check-in: 3929914696 user: rolf tags: schema
01:59
Even more work on interleave. check-in: e01081aa22 user: rolf tags: schema
01:45
Merged from schema. check-in: 48f9a019fa user: rolf tags: virtualConstraints
01:21
More work on interleave. check-in: 4f56efe773 user: rolf tags: schema
2019-02-08
23:48
Fix for domvalidate attribute validation: Ensure error in case the node hasn't any attribute but the schema requires one. check-in: cf3b5c917b user: rolf tags: schema
16:44
Fixed text validation in case of domvalidate. check-in: b97f9f31a6 user: rolf tags: schema
16:24
Fixed attribute probing of the domvalidate method. check-in: e381867bf2 user: rolf tags: schema
02:02
Simple interleave implementation. Wip. check-in: 73774a8105 user: rolf tags: schema
2019-02-07
22:17
Improved the text constraint isodate. It now expects (-?)yyyy-mm-dd and checks (all) dates by gregorian rules. check-in: d57cf5a680 user: rolf tags: schema
11:48
Merged from schema. check-in: cb3f5356f1 user: rolf tags: virtualConstraints
11:23
Simplified internal machinery needed/used to evaluate definition scripts of content particles. check-in: 0548486743 user: rolf tags: schema
01:31
Tests for more than one text constraint and text matching one of several constraints. check-in: a5d267e065 user: rolf tags: schema
2019-02-04
22:11
Fix for [13133c46dc75ed]. While at it made all proc names in tdom.lib absolute. check-in: 1e16413f0c user: rolf tags: trunk
2019-02-02
23:25
Implemented text constraint commands maxLength and minLength. check-in: d75968f01b user: rolf tags: schema
02:37
merged from schema check-in: 8e3407e478 user: rolf tags: virtualConstraints
02:32
Renamed text constraint isint to integer. Added text constrains number and boolean and a provisorial isodate. check-in: 5c4f01dc2a user: rolf tags: schema
00:35
Mudding around for better namespace handling in DTD to tDOM schema. All too ugly and heuristic but sane DTDs specifying namespaced XML vocabularies will work. check-in: 30a5d3936c user: rolf tags: schema
00:25
Fixed argument check of [<schemacmd> start]. check-in: 247e679fa9 user: rolf tags: schema
2019-02-01
12:25
Call out to tcl scripted virtual constraints even in case of looking for text match. More musing about the semantic of scripted constraints needed. check-in: 206e0dafcb user: rolf tags: virtualConstraints
2019-01-30
21:46
wip Closed-Leaf check-in: 9c4cbac6d5 user: rolf tags: wip
2019-01-29
09:01
Fixed implementation of constraint cmd tcl; added minimal tests. check-in: cd88943e2d user: rolf tags: wip
08:38
New constraint command "tcl" basically implemented: A "virtual" element content constraint that call out to any tcl code, but doesn't match. check-in: 38c1bf89b0 user: rolf tags: wip
03:11
wip check-in: eaab73e4d1 user: rolf tags: wip
2019-01-26
02:28
Use the new text constraint commands nmtoken and nmtokens in the DTD to tDOM schema translation. check-in: 5963b94079 user: rolf tags: schema
02:13
Got rid with the validation stack element struct member deep - it isn't really needed for something, so far. check-in: e99a1cbf97 user: rolf tags: schema
01:33
A few documentation updates and additions. Startet a list of text constraint commands. check-in: 1b28fd0c1e user: rolf tags: schema
2019-01-25
16:50
Implemented text constraint commands nmtoken and nmtokens. Useful mostly for DTD to tDOM schema translation. The commands skip leading and following space characters and see sequences of space characters as one space. In other words: they apply the rules of what the XML rec calls attribute value normalization (which the XML parser would do, if he would knew the type of the value) on the value to check (although this normalization is done no matter if the text constraint command is used for an attribute value or pcdata between tags). check-in: a79cc50455 user: rolf tags: schema
02:31
Reworked check for element end into 3-way logic. check-in: c30fa32733 user: rolf tags: schema
2019-01-24
22:46
Handle mixed/choice cp amongst the children (choices) of a mixed/choice cp. check-in: c69a4c0ab4 user: rolf tags: schema
13:28
Added a few tests more. check-in: c98407553d user: rolf tags: schema
12:26
Merged from trunk. check-in: 876f8ceb08 user: rolf tags: schema
12:24
Fixed serialization option -escapeNonASCII on big endian systems. check-in: d2b2e90908 user: rolf tags: trunk
12:18
Removed cp type SCHEMA_CTYPE_MIXED and instead handling definition command 'mixed' as special case of SCHEMA_CTYPE_CHOICE (and hence inheriting the handling of complex cp choices from "choice" for "mixed"). check-in: 144b99b476 user: rolf tags: schema
01:08
Integrated: More work to get quantified choices right. Finally reverted to 3-way logic for probing a match. check-in: 4f73433691 user: rolf tags: schema
01:06
More work to get quantified choices right. Finally reverted to 3-way logic for probing a match. Closed-Leaf check-in: 5188c49af6 user: rolf tags: wip
2019-01-23
15:17
According to [d3ccaf4252f27f] the serializing option -escapeNonASCII doesn't work (correct) on big-endian machines. Probably fixed by this; waiting for reporter feedback. Closed-Leaf check-in: 6722cfb2c4 user: rolf tags: escapeNonASCII
2019-01-22
22:52
The configure flag --enable-html5 now should also work, if cross building (given, pkg-config and gumbo are available, of course). check-in: 4fca08944c user: rolf tags: trunk
22:23
While cross build --enable-html5 doesn't work (at least not easily) but should. Closed-Leaf check-in: 11ea1cfb7e user: rolf tags: crosscompile
2019-01-21
23:53
Digression Closed-Leaf check-in: f24eb22dc8 user: rolf tags: digression
15:57
wip check-in: d85da14d6e user: rolf tags: wip
00:46
wip check-in: 3851efb4ac user: rolf tags: wip
2019-01-19
13:24
wip check-in: c79509ea95 user: rolf tags: wip
2019-01-18
11:19
If a choice with quantifier ! or + has a cp with quantifier * or ? belong its choices then this renders the choices effectively to be an optional one. check-in: 6c83fcdd2e user: rolf tags: schema
2019-01-17
23:36
Removed distinction between SCHEMA_CTYPE_GROUP and SCHEMA_CTYPE_PATTERN. check-in: fdccdbf344 user: rolf tags: schema
22:52
Reduced the internal used quants to ! ? * +. Only name and pattern (and groups, which are only anonymous pattern) cps are pushed onto the stack. check-in: 98ba54b83e user: rolf tags: schema
22:41
Now, the overhauled validation engine does the same as the old state and even a bit more, and better. Closed-Leaf check-in: 6ed41c0c75 user: rolf tags: wip
03:44
Still a lot to do but looks good, nifty, better to maintain. check-in: cb623d6ce9 user: rolf tags: wip
2019-01-16
01:30
Digression: Reduce complexity of the validation core by eliminating STRUCTURE_CQUANT_NM for the process of validation. Ahem, what? {n m} quants are enrolled into n STRUCTURE_CQUANT_ONE child cp plus m-n STRUCTURE_CQUANT_OPT child cp. check-in: da6f9ed382 user: rolf tags: wip
2019-01-14
23:19
Editorial fix. check-in: 0e887ba0b9 user: rolf tags: schema
2019-01-13
02:39
Renamed the lately introduced text constraint command pattern to match. The match command does shell style matching and the xsd facet pattern does regular expression matching and that could be confusing. Added new text constraint command regexp, for regular expression matching. Also not named pattern because the xsd pattern regexp rules differs in major points from the for the implementation used Tcl regexp (most important difference is maybe that xsd pattern automatically anchors at string start/end (without explict ^$)). check-in: 786dd36028 user: rolf tags: schema
2019-01-12
16:14
Better namespace handling in case of dtd to tdom schema conversion. check-in: 24a354a13f user: rolf tags: schema
03:28
Implementend the text constraint script command "pattern" (a glob style matcher). check-in: d7ce604f85 user: rolf tags: schema
02:55
Validation of namespaced attributes now works additional to dom pastvalidation also with [<schemacmd> validate $xml]. The same for SAX parsers (xml::parser) should be low hanging fruit on this work. More focus on mixed content. check-in: dc78a9ca7d user: rolf tags: schema
2019-01-11
15:20
Use the new text constraint command enumeration in toSchema.tcl. check-in: 1bdbdfd97a user: rolf tags: schema
14:56
Fixed horrible mistake in patternList handling. check-in: 7e1c8cf210 user: rolf tags: schema
12:14
Implementend the text constraint script command "enumeration". check-in: 8e073699eb user: rolf tags: schema
11:26
Implementend the text constraint script command "fixed". check-in: e2dbca3baa user: rolf tags: schema
02:34
Separating text validation code from structure validation code? On the long run probably sure, but maybe not now. Closed-Leaf check-in: b356c78a42 user: rolf tags: digression
01:02
Enabled validate constraints on attribute values. check-in: 0e11568b4c user: rolf tags: schema
2019-01-10
22:24
Implementend the text constraint script command "tcl", calling a Tcl script with the text to validate appended; the result of the script is used as boolean. Which basically solves any text validation problem. check-in: 1c5ebc685d user: rolf tags: schema
02:08
Steps towards data typing. check-in: 5407acfd0f user: rolf tags: schema
2019-01-09
15:43
Fixed the schema definition script command "namespace". check-in: beba040b25 user: rolf tags: schema
14:09
Fixed the configure switch added with the previous check-in. And a few editorial changes. check-in: fef7ebf150 user: rolf tags: schema
00:47
Enable validation features by default (with easy configure disable switch). check-in: 589a5b2a86 user: rolf tags: schema
2019-01-08
23:25
Added domvalidate. check-in: e2a53e2d60 user: rolf tags: schema
07:33
Fixed tdom::schema argument handling. check-in: 31241ee4e7 user: rolf tags: schema
01:28
wip on domvalidate and elsewhere. check-in: d35774d0cf user: rolf tags: schema
00:38
Working towards dom doc/tree validation. check-in: 65778581a3 user: rolf tags: schema
2019-01-07
16:15
(This and the previous 2 wip commits:) Fixed mem-leak in schemaReset(). Attribute validation: More work and fixes. <schemacmd validate> and xml::parser SAX parser now check non-namespaced attributes and detect unknown attributes and missing required attributes (namespaced and non-namespaced). Verifying namespaced attributes for this parsers tbd. [dom parse -validateCmd] now fully checks schema attribute constrains (non-namespaced and namespaced). This is at the same time a major step towards post-validation of a DOM subtree or document. check-in: 80f15f0bb6 user: rolf tags: schema
01:51
wip check-in: e1b3b45798 user: rolf tags: schema
2019-01-06
02:55
wip check-in: 6b331d4861 user: rolf tags: schema
2019-01-02
01:39
Name missing required attributes in the error msg. Code gardening. Ensure propagation of error msg. check-in: ac087841b0 user: rolf tags: schema
2018-12-29
01:12
Added basic attribute validation (atm not namespaced attributes only) to the schemacmd validate method. check-in: 5b8de8b8d6 user: rolf tags: schema
2018-12-28
01:06
Added new definition command nsattribute, to define namespaced attributes. check-in: 8af2eabd25 user: rolf tags: schema
2018-12-27
00:44
Fixed attribute definition and memory clean up. check-in: fe8943dffa user: rolf tags: schema
2018-12-26
01:51
At least simple attribute handling; wip. check-in: ffc7a9db6d user: rolf tags: schema
2018-12-24
01:18
wip check-in: f2ac18ad75 user: rolf tags: schema
2018-12-22
16:39
wip check-in: 46e08fefe5 user: rolf tags: schema
2018-12-21
16:12
Added [dom featureinfo schema]. Added minimal stub of a to tDOM schema script converter. A few minimal steps onto attribute checking. check-in: 2b419f7d20 user: rolf tags: schema
00:40
Fix in the validation core. Better debugging infrastructure. The optional errMsg varname argument to the validate method will now set to the empty string in case the xml is valid. Editorial corrections. check-in: a15a26eaec user: rolf tags: schema
2018-12-19
22:03
Still plumbing the validation core. check-in: 74f30b7671 user: rolf tags: schema
00:34
Some rounding of what is there. check-in: 3399294efa user: rolf tags: schema
2018-12-18
01:26
Minor tweaks, while musing whats next. check-in: abf70d4748 user: rolf tags: schema
2018-12-16
18:40
Removed the "empty" schema defintion command, for simplicity. It isn't needed (an empty or only "attrbiute" commands containing definition script expresses the same) and the semantic of an "empty" command inside the definition script of other commands isn't that clear in all cases. check-in: a2d614e328 user: rolf tags: schema
01:25
Back on track, maybe. check-in: d536793a88 user: rolf tags: schema
01:25
wip Closed-Leaf check-in: d3210a0bb2 user: rolf tags: wip
2018-12-15
14:29
Still pondering around. check-in: 09657a1435 user: rolf tags: wip
2018-12-14
09:54
Merged from trunk. check-in: 6a48682b06 user: rolf tags: domvalidation
00:39
Pondering around. check-in: cd9d6983e0 user: rolf tags: wip
2018-12-12
13:41
More tweaks towards another stack handling. check-in: bb995d2972 user: rolf tags: wip
01:28
wip check-in: 8942834c46 user: rolf tags: wip
2018-12-11
22:00
Better error checking to avoid seg fault. Corrected well-formedness error reporting of the validate method. check-in: a74eacae4d user: rolf tags: schema
2018-12-07
14:12
wip. Lot's of open tasks; the picture of the next rewrite of the back end gets clearer. check-in: 0fe2d35d5c user: rolf tags: schema
2018-12-06
22:13
Renamed structure to schema. check-in: 084cbc63a1 user: rolf tags: schema
12:45
wip Closed-Leaf check-in: 1be47b3755 user: rolf tags: structure
2018-12-03
21:55
No need for the (deprecated) Tcl_VarEval(), just use Tcl_EvalObjv(). check-in: ef60fd49f4 user: rolf tags: structure
2018-11-30
14:09
More documentation. Fixed the "start" method. check-in: 80906f7834 user: rolf tags: structure
13:13
More explanation how a grammar or structure definition is to be defined. check-in: 04b7db8701 user: rolf tags: structure
11:50
Removed quant type STRUCTURE_CQUANT_N because it can be handled easily as a special case of STRUCTURE_CQUANT_NM. check-in: 46fc4186e4 user: rolf tags: structure
11:43
Removed no longe used define. check-in: bb1c6e1996 user: rolf tags: structure
01:02
Better behaviour of the validation command method "validate": it returns true if the arg is valid or false, with optional error var. check-in: f61cdc1e54 user: rolf tags: structure
00:11
Fixed choice. check-in: 25c9f6ffb7 user: rolf tags: structure
2018-11-29
17:05
More work on the validating machinery. check-in: 2b9a427fcc user: rolf tags: structure
00:40
Added documentation stub for the new method validate. check-in: 16a8547125 user: rolf tags: structure
2018-11-28
23:49
Made the new structure validation command method "validate" XML namespace aware. (The current expat push parser command switch -validateCmd isn't XML namespace aware, so far.) check-in: e9f59e858a user: rolf tags: structure
21:53
Fixed the memory management in case of TCL_ERROR in structure definition scripts. check-in: b5f168a794 user: rolf tags: structure
21:31
Added (an elementary) method validate to structure validation commands. Meant as simplest (and fastest) way to validate the string representation of an XML (sub-)tree. check-in: 007037bdfd user: rolf tags: structure
13:56
More editorial corrections. check-in: 3d439c78c0 user: rolf tags: structure
13:42
Fixed editorial errors. check-in: 9c0ae974dd user: rolf tags: structure
02:00
wip check-in: bd982e01d4 user: rolf tags: structure
01:42
Fixed the example pseudo code. check-in: d53d1bc9ca user: rolf tags: structure
01:17
Added some skeleton text about what this is all about. check-in: b615cd1699 user: rolf tags: structure
00:26
wip check-in: bdde880865 user: rolf tags: structure
2018-11-27
01:23
Added validation of local defined Elements. check-in: 7557920388 user: rolf tags: structure
2018-11-26
18:47
Renamed validation command method element to defelement and pattern to defpattern, to clearly distinct them even in the name from the grammer definition commands element and pattern. New validation command method define, which allows to define a grammar in one go. Thus with defelement and defpattern two new grammar definition commands added, with the same syntax as the related validation command methods. check-in: 07494b9cdf user: rolf tags: structure
12:47
Towards working validation. check-in: 65b0bdca56 user: rolf tags: structure
01:22
wip check-in: a9b0c91436 user: rolf tags: structure
2018-11-24
02:39
Beside of attributes, ambiguous pattern, interleave pattern and text constrains missing it's near to be able to check structure. check-in: c3ae509472 user: rolf tags: structure
2018-11-22
01:16
Completed the new -validateCmd of the dom command with text probing. Added a -validateCmd option to expat parsers (with weakness on the namespace side). check-in: 51f75c38db user: rolf tags: structure
00:16
Merged from trunk. check-in: e309c8106a user: rolf tags: structure
00:13
Removed unnecessary code. The handler pair for start and end tag is enough for bookkeeping about nesting. check-in: 22bb3a056f user: rolf tags: trunk
2018-11-21
23:44
Lesser #ifdef. check-in: e4c7f3f52f user: rolf tags: structure
2018-11-20
23:41
Added test- check-in: a4d672ee5c user: rolf tags: structure
00:55
It's surprisingly hard and ugly to give tdom::pullparser a -validateCmd. And it will kill skip and find. Closed-Leaf check-in: 95ab2d3b74 user: rolf tags: digression
2018-11-19
01:14
wip check-in: 9d4517dd7e user: rolf tags: structure
2018-11-18
02:21
Added [dom parse] option -validateCmd, which expects a structure validation command as argument and validates (as far as implemented atm) the document while building the DOM tree. check-in: 75cec95b45 user: rolf tags: structure
2018-11-17
19:39
Added methods "state" and "reset" to grammar commands. check-in: 58cee39a59 user: rolf tags: structure
16:32
wip check-in: 9ab72ffba5 user: rolf tags: structure
03:24
wip check-in: c32caeca62 user: rolf tags: structure
2018-11-16
17:19
Work on the actual validation code started. check-in: 08a733189d user: rolf tags: structure
10:45
Handle the empty string gives as namespace as no namespace. check-in: 1050aa13e5 user: rolf tags: structure
00:07
Added even local definition of elements in definition scripts, overwriting the element type definition. With the major omissions of the attribute command and text constrains the grammar definition part is very basically done. check-in: d329b40cc5 user: rolf tags: structure
2018-11-15
22:20
Implemented group, interleave, mixed and (not constrained, so far) text definition script commands. check-in: 98ffa0efee user: rolf tags: structure
20:09
As with element definitions allow named pattern to be in a namespace. As a consequence, named pattern ref is namespace aware now. Even better handling in case of error in definition script. check-in: 42f69f299d user: rolf tags: structure
16:16
wip check-in: 6ee1cd2b95 user: rolf tags: structure
14:41
Added grammar definition command choice. Better handling in case of error in definition scripts. check-in: 97cfddf47e user: rolf tags: structure
12:33
wip check-in: 9dd15ff7bb user: rolf tags: structure
10:33
wip check-in: c3ebca4265 user: rolf tags: structure
03:30
wip check-in: c96290a189 user: rolf tags: structure
02:00
wip check-in: 6f3b2043e1 user: rolf tags: structure
2018-11-14
17:19
wip check-in: 5e1cde0f5a user: rolf tags: structure
14:09
wip check-in: 07a2d20746 user: rolf tags: structure
2018-11-13
23:38
wip check-in: d08f5e9d51 user: rolf tags: structure
23:29
Merged from trunk. check-in: a2fe7d385e user: rolf tags: structure
2018-11-07
10:03
The value of the name attribute of the xsl:element after attribute value template evaluation has to be a QName (and was up to now only checked if it is an XML Name). check-in: c86a3ff6bb user: rolf tags: trunk
2018-11-06
22:55
Made xsl:number work if the context node is the document node of the source document and no value attriubte is given. check-in: f1af439dfe user: rolf tags: trunk
22:45
Minor tweak check-in: bce9b847dd user: rolf tags: trunk
12:17
Minor: Now every xsl:comment call in an XSLT stylesheet will create a comment node in the result tree, even if it is empty. Up to now this happend only for not empty comment nodes. check-in: 66794b03cd user: rolf tags: trunk
2018-10-25
14:01
Bug fix: if the argument to the id() function evaluates to a node set then the result of the function call is the union of using the string value of every of the nodes in the node set and every of that string values split by whitespace into looked up items. This (splitting up the string value by whitespace into a list of looked up items) was up to now only done, if the argument evaluated to a string result. check-in: a4b0959de1 user: rolf tags: trunk
11:11
Ignore attempt to write an attribute with xsl:copy-of to the result tree if the target node already has child nodes (as xsl:attribute). check-in: 1e9bb38107 user: rolf tags: trunk
01:06
Bug fix: Corrected the default value of a templates priority in case the match pattern has the form of processing-instruction(Literal); the default value (in case of no priority attribute on the template) was -0.5 and is now 0.0. check-in: f5cb4572d8 user: rolf tags: trunk
2018-10-24
12:56
Added a few tests more regarding to processing instruction nodes handling in XPath expressions. check-in: 9b7ef1556b user: rolf tags: trunk
09:21
Fix for [9eba7475e7f6f9]. check-in: 8943afe645 user: rolf tags: trunk
2018-10-18
23:16
Simplified the master file of the included test suite, mostly by removing not longer needed cruft. And other minor test suite gardening. check-in: fa94139e03 user: rolf tags: trunk
2018-10-15
22:03
Support for p/bmake and FreeBSD make. check-in: 8155ecddbd user: rolf tags: trunk
2018-10-12
14:55
Fixed documentation error. check-in: dc9d2b8fc4 user: rolf tags: trunk
11:42
Updated to expat 2.2.6. check-in: f203e13dcf user: rolf tags: trunk
10:56
Changed version to 0.9.2. check-in: 9cb9a81c72 user: rolf tags: trunk
2018-10-06
00:38
Defined the return value of some featureinfo methods more precisely. For background see [38409e31938f]. check-in: 18be91e27b user: rolf tags: trunk
2018-10-05
23:36
Require the current needed minimal version in Tcl_InitStubs. check-in: a5c8f9b468 user: rolf tags: trunk
2018-08-27
11:57
Integrated bug fixes / improvements of the included simple HTML reader into trunk. check-in: 0c53fb967a user: rolf tags: trunk
2018-08-26
00:42
Fix for [6abd3a24fbadf]. Closed-Leaf check-in: 8dfd0cb03d user: rolf tags: htmlreader
2018-08-16
23:34
Applied modified patch from [3807a4ac722c] (and removed unnecessary initializations seen while working on the code). check-in: 18d8d9f083 user: rolf tags: htmlreader
2018-08-09
23:21
Merged from trunk. check-in: a04a1069fe user: rolf tags: structure
23:16
Removed cruft. check-in: f48a402792 user: rolf tags: trunk
2018-08-08
22:39
Changed the license to MPL 2.0. check-in: 39f9d6bbbf user: rolf tags: trunk
2018-07-29
23:00
Made the make target tcldomsh work without a prior make all. check-in: cc537df20f user: rolf tags: trunk
2018-07-27
10:06
Merged from trunk. check-in: d50d0f374e user: rolf tags: stackless_asXML
2018-07-25
23:12
Merged from trunk. check-in: d554f9574e user: rolf tags: domvalidation
23:07
Fixed a typo. check-in: 7476c3ea9d user: rolf tags: trunk
23:06
Made the build system closer to recent TEA. Most of the valuable work was done by Stuart Cassoff. check-in: 59c3d27071 user: rolf tags: trunk
23:03
Merged from trunk. Closed-Leaf check-in: 5d4b4c3d25 user: rolf tags: nearerTEAtoThee
2018-07-24
21:30
Release 0.9.1 check-in: 86c70df47c user: rolf tags: trunk, release, tdom-0-9-1-rc, tdom-0-9-1
2018-07-23
21:53
Updated README. Closed-Leaf check-in: b82decbc00 user: rolf tags: tdom-0-9-1-rc
10:42
Applied a last round of spell fixes provided by the debian tDOM maintainers. check-in: 02bf3a9823 user: rolf tags: trunk
10:28
Merged the fixes for the scripted helper procs baseURL and extRefHandler for Windows paths containing drive letters provided by Ashok P. Nadkarni. check-in: 905eec2720 user: rolf tags: trunk
2018-07-22
08:50
Fix baseURL and extRefHandler for Windows paths containing drive letters. Note that the tcllib uri package used by extRefHandler was broken until V1.2.7. This version only tested with that version.

There is still an unrelated bug pending in that URI's are supposed to be url-encoded but the code does not currently handle that and will fail for special characters in the path. Closed-Leaf check-in: fadeed7802 user: apnadkarni tags: win-uri-fix

2018-07-20
23:51
Merged the other part of Stuart Cassoffs work towards keeping the tDOM build system in sync with TEA development. check-in: 6bcddd7f77 user: rolf tags: nearerTEAtoThee
22:59
Integrated a first part of Stuart Cassoffs work towards keeping the tDOM build system in sync with TEA development. check-in: dc90a44cf6 user: rolf tags: nearerTEAtoThee
09:58
Merged from trunk. check-in: 401652dca9 user: rolf tags: nearerTEAtoThee
2018-07-19
12:53
Create new branch named "win-uri-fix" check-in: 7e818a10f8 user: apnadkarni tags: win-uri-fix
00:42
Fixed the test suite so that it should run without failure even if the build dir is outside the source tree. check-in: 96b8d81fe9 user: rolf tags: trunk
2018-07-18
23:59
Makefile.in could be more in sync with TEA. check-in: 15fc3242db user: rolf tags: nearerTEAtoThee
14:41
Attempt to make tdom::baseURI return "the right thing" for absolute paths on windows. check-in: b4d45b8409 user: rolf tags: trunk
05:20
Fix HAVE_MEMMOVE conflict with expat check-in: 0ef0ce1813 user: apnadkarni tags: trunk
2018-07-17
00:23
Some --pedantic compiler pacifying. check-in: 491081c44c user: rolf tags: trunk
00:09
Trumpet the pull interface a bit in the overview. check-in: a08a033618 user: rolf tags: trunk
00:06
Chanced tDOM to tdom. check-in: 35998b8a0d user: rolf tags: structure
2018-07-16
21:48
Merged from trunk. check-in: 384f1e40d8 user: rolf tags: structure
21:36
The package name is tDOM, but it always has been requested by [package require tdom] and now the scripted helper commands in tdom.tcl are also in the namespace tdom (not anymore in tDOM). The new pullparser command is now also in this namespace. There are aliases from the old command names to the new one, so there must be nothing done; old scripts will run as they did. It's just, that you in new code don't have to write serveral upcase letters in a row because of tDOM. check-in: afde497780 user: rolf tags: trunk
2018-07-14
14:15
Added more infomation about what changed with the new expat version to CHANGES. check-in: 19cf312be6 user: rolf tags: trunk
01:43
Updated to expat 2.2.5. Expat now want to use a "good" entropy source to salt internal hash tables (to reduce the possibility of DoS attacts with malicious XML input). Configure tries to figure out automatically the most appropriate entropy source on your platform. The new configure switch --with-entropy gives control over that. The configure switch --without-entropy disables all this; with that expat (and in turn tDOM) will use what was used in earlier expat versions. check-in: 6fffa3e7af user: rolf tags: trunk
01:37
Work-around an expat 2.2.5 XML_ResumeParser() bug. Closed-Leaf check-in: 1c8b9934b9 user: rolf tags: expat-update
2018-07-13
01:18
Working on the failing pullparser tests. check-in: 2ad72e5616 user: rolf tags: expat-update
2018-07-12
23:14
Made it a bit easier to disable all the new expat entropy source limbo dance by just --without-entropy. check-in: 3a4f79562b user: rolf tags: expat-update
22:48
Merged from trunk. check-in: 24bc5ef530 user: rolf tags: expat-update
22:27
Updated TEA. check-in: 740e401adc user: rolf tags: trunk
22:05
The pullparser command (and implementation) can be disabled with a define. check-in: 66f5a1c0cd user: rolf tags: trunk
21:47
Editorial change to pacify a compiler warning. check-in: c6ed107738 user: rolf tags: trunk
21:44
Fixed the last commit. check-in: 5fda7dd7cb user: rolf tags: trunk
21:40
More editorial changes to pacify compiler warnings. check-in: 0b3ae53e6c user: rolf tags: trunk
21:13
Fixed typo. check-in: d751df84d9 user: rolf tags: trunk
21:04
Fix configure in case of --enable-html5 and gumbo installed in non-standard places. Plus other small corrections and improvements related to configure --enable-html5. check-in: 2b88599435 user: rolf tags: trunk
21:01
Only one AC_MSG_ERROR line makes sense for obvious reason. Closed-Leaf check-in: 952341c0d9 user: rolf tags: configurefix
19:57
Fix configure in case gumbo is installed in non-standard places. Plus other small corrections and improvents related to --enable-html5. check-in: a230fd334b user: rolf tags: configurefix
2018-07-11
14:01
Fixed a spelling. check-in: 4052b73937 user: rolf tags: structure
00:47
wip check-in: 991c38bfe7 user: rolf tags: structure
00:26
Merge trunk. check-in: 132adf28aa user: rolf tags: expat-update
00:25
Merge trunk. check-in: e40efd38e1 user: rolf tags: structure
2018-07-10
22:25
More typo fixes. Thanks goes to Gustaf Neumann. check-in: 26cf441c85 user: rolf tags: trunk
21:45
Removed code duplication. check-in: 94bf2ac99f user: rolf tags: trunk
21:18
Fixed bug (demonstrated by [590b76f97d4]) in namespace handling if the simple parser is used and the XML data has an empty element node with an XML namespace declaration that is given with same prefix/URI also on a following sibling of that element and which uses the empty element syntax. check-in: f6de2da35d user: rolf tags: trunk
00:12
Document seg fault with simple xml parser. check-in: 590b76f97d user: rolf tags: trunk
2018-07-09
23:08
wip check-in: 4e26ac4dc7 user: rolf tags: structure
18:44
wip check-in: 7ca279c63d user: rolf tags: structure
2018-07-05
00:01
More work. check-in: 43b5229cc5 user: rolf tags: structure
2018-07-01
14:37
Merged from trunk. check-in: 2c904ce939 user: rolf tags: expat-update
2018-06-13
00:33
More layout. check-in: 9d267dbc02 user: rolf tags: structure
2018-06-09
00:22
Editorial changes to pacify a few compiler warnings. check-in: f56cc2fc46 user: rolf tags: trunk
2018-06-07
01:59
Continued work. check-in: 00e1cc4e29 user: rolf tags: structure
2018-06-06
00:16
Musing about generic structure validation. check-in: a71edddc7e user: rolf tags: structure
2018-06-04
18:08
Refer the node cmd/token that isn't a domNode in error msg. check-in: d404fd67a8 user: rolf tags: trunk
13:03
Refer the node cmd/token that isn't a domNode in error msg. Closed-Leaf check-in: cde666b194 user: rolf tags: notANodeMsg
2018-05-28
03:41
Reorder RANLIB clause to avoid "permission denied" error. check-in: c54834be20 user: yorick tags: trunk
2018-05-27
00:22
Removed unused variable. check-in: 0e29ef329c user: rolf tags: trunk
2018-05-24
13:47
Added a tnc test. check-in: 6cc90fd8ef user: rolf tags: trunk
2018-05-23
22:26
Merged from trunk. check-in: 7505ede59d user: rolf tags: domvalidation
2018-05-17
23:46
Small improvement (and optimization) of the domNode attributes method. check-in: 054337d785 user: rolf tags: trunk
23:30
Merged from trunk. check-in: 8573f8d755 user: rolf tags: expat-update
23:19
Maybe eventually fixed the configure machinery for searching for a entropy source for expat. Thanks goes to stu. check-in: 1255e71973 user: rolf tags: expat-update
20:49
See file. check-in: 2f5cf2b710 user: rolf tags: trunk
20:48
Added new method attributeNames to domNode (cmds). check-in: 6cdb7b929b user: rolf tags: trunk
02:07
Explained better what the domNode attributes method does and added a few words of documentation about the new simple attributeNames method. Closed-Leaf check-in: e212f6deff user: rolf tags: attributeNames
01:45
Added a few tests. check-in: fef3d03e08 user: rolf tags: attributeNames
2018-05-15
00:10
Added attributeNames method to domNode (cmds), simply returning the literal attriubte names. check-in: acce545518 user: rolf tags: attributeNames
2018-05-10
23:34
Added note about the new pull parser methods to CHANGES. check-in: 82c3e1a6bf user: rolf tags: trunk
23:29
Added new methods line and column to most pull parser states. check-in: b35e690afe user: rolf tags: trunk
23:27
Added a few words documentation about the new methods line/column. Closed-Leaf check-in: 7f26faa75b user: rolf tags: pplc
23:06
Done what could be done without runtime costs. check-in: 12b2139d1e user: rolf tags: pplc
01:46
Started implementation of methods line and column for most states, reporting the line and column nr in the input XML which rased the state. check-in: da47d218b2 user: rolf tags: pplc
00:27
Improved documentation. check-in: 39ca22d729 user: rolf tags: trunk
00:08
C style modernization of the integrated dtd validation. check-in: bd57fb495e user: rolf tags: domvalidation
2018-05-09
23:59
Merged from trunk. check-in: dc7f7734d0 user: rolf tags: domvalidation
23:58
Modernizing the C style, deCONSTifing. check-in: c1bddcddb3 user: rolf tags: trunk
23:14
Finer details of the memory management: While the tdom expat api cares for tnc about cleaning up the content models that expat hands out to the user, an integration into dom has to care by itself. check-in: c0393aab8d user: rolf tags: domvalidation
19:47
Merged from trunk. check-in: 05b7cbc62a user: rolf tags: domvalidation
19:46
Some renames to make it easier to keep tnc and branch domvalidation in sync. check-in: 0546eec94f user: rolf tags: trunk
2018-05-05
00:51
Work in progress. Closed-Leaf check-in: b9f7043440 user: rolf tags: wip
00:06
Plugged memory leak: Not all collected DTD data got freed. check-in: 3e77c15091 user: rolf tags: domvalidation
2018-05-04
22:24
Merged from trunk. check-in: b8bdad56db user: rolf tags: domvalidation
17:51
Fixed attribute serialization (an omit of the last merge conflict resolve). check-in: 6cad169b8f user: rolf tags: stackless_asXML
17:40
Merged from trunk. check-in: 218dbbf795 user: rolf tags: stackless_asXML
17:39
Added serialization test. check-in: 3fd564bb2e user: rolf tags: trunk
17:09
Merged from trunk. check-in: 2233d2d25a user: rolf tags: stackless_asXML
12:02
Added note about the new asXML options to CHANGES. check-in: 67f94983f5 user: rolf tags: trunk
11:57
Integrated the new asXML options. check-in: 0906a7a6f5 user: rolf tags: trunk
11:55
Added documentation for the new asXML options. Closed-Leaf check-in: 190601fb92 user: rolf tags: serializeOptions
2018-05-03
23:56
Merged from trunk. check-in: ecabd202f2 user: rolf tags: expat-update
23:49
Added flags -nogtescape and -noEmptyElementTag to the asXML method. check-in: a9786e0525 user: rolf tags: serializeOptions
20:56
Merged from trunk. check-in: 43e858d8cf user: rolf tags: serializeOptions
19:41
Added note about [1069b49d243e0b]. check-in: 0bf32f09fe user: rolf tags: trunk
14:31
Musing about nodeToken Obj type test. Closed-Leaf check-in: c09a9b5b89 user: rolf tags: nodeTokeTest
00:19
Simplified code. check-in: ef832dfa80 user: rolf tags: trunk
2018-05-02
20:34
Don't ignore error while setting nodeObjVars. check-in: a231fcafa2 user: rolf tags: trunk
19:29
Added the pull parser source file to the windows build system for VC. check-in: c5074f1780 user: rolf tags: trunk
19:25
Eventually removed "support" for tcl 8.0.5 - it was a false assertion since a while. check-in: 064a48e572 user: rolf tags: trunk
19:11
Again, more pruning. Closed-Leaf check-in: f14a12cfdc user: rolf tags: abandon80
15:27
More pruning. check-in: 731b463a74 user: rolf tags: abandon80
15:12
Removed "support" for Tcl 8.0 - it probably doesn't even build any more. Eventually it's time prune out this #ifdefery. check-in: d729de4c39 user: rolf tags: abandon80
10:07
Merged from trunk. check-in: b8f934943a user: rolf tags: serializeOptions
10:03
Fixed editing error. check-in: cb72ce2fdf user: rolf tags: trunk
2018-04-30
23:55
Merged from serializeOptions check-in: 2f998e59f5 user: rolf tags: stackless_asXML
23:32
More work on serialization flags. check-in: 617801ee8e user: rolf tags: serializeOptions
14:51
Merged from trunk. check-in: 0774fa6898 user: rolf tags: serializeOptions
14:50
Added script, that helps measuring (micro-)optimizations. check-in: 834c959f81 user: rolf tags: trunk
14:41
Minor speed optimization. check-in: 19edb1e323 user: rolf tags: serializeOptions
09:55
Start small rework: use bit-fields for options. check-in: a833b3edf3 user: rolf tags: serializeOptions
2018-04-27
15:56
Described better what pull parsers do with CDATA sections. check-in: 82da650bd7 user: rolf tags: trunk
2018-04-26
23:12
Added the documentation for pull parsers to the documentation indexes. check-in: 2174b4b773 user: rolf tags: trunk
21:57
Hardened token mode a little bit. check-in: 36e470e5a6 user: rolf tags: trunk
2018-04-25
11:04
merge trunk Leaf check-in: d48f501330 user: yorick tags: pyk-parsexpath
10:23
Back out the documentation for renameNode. This method isn't "public" atm and may change its interface before it will be. check-in: 8cad55ff91 user: rolf tags: trunk
05:21
Add documentation for "renameNode". check-in: bb27c56d41 user: yorick tags: trunk
2018-04-24
22:19
This change is probably important if you change larger DOM trees and do XPath queries with large result sets afterwards. If build with -DTCL_THREADS=1, which do people routinely these days even without noting (the windows binaries on tdom.org are build this way, f.e.), some things must to be done in a thread safe way and a feature is added: the ability to share a DOM tree between threads. If a DOM tree is in fact shared a certain important (for big result sets) XPath query optimization can't be done automatically. Now this optimization is done for all not between threads shared docs (no matter how tdom was build). check-in: 1069b49d24 user: rolf tags: trunk
2018-04-23
23:59
Added test related to [696962e4d]. Closed-Leaf check-in: 51b58f0a65 user: rolf tags: tokenMode
21:40
Pacify [696962e4dd42505]. check-in: f1a4004602 user: rolf tags: tokenMode
2018-04-19
23:52
Made test suite 9.0 compatible. Builds from 8.4 - 9.0 and runs test suite without error (one test error with 8.4 because of int wide). check-in: 3c5422fea4 user: rolf tags: trunk
2018-04-10
22:23
Plugged a few memory leaks. check-in: 46dd7587a5 user: rolf tags: domvalidation
20:12
Made this work still together with tnc. check-in: 1d3da57d29 user: rolf tags: domvalidation
2018-04-07
01:01
Merged from trunk. check-in: 85c3c7cf1e user: rolf tags: domvalidation
00:59
Still builds (and works) back to 8.4 (and maybe even to 8.3) and now new also with (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. check-in: c20f5260c7 user: rolf tags: trunk
00:51
Builds now with 8.4 (and maybe even with 8.3) until (current) 9.0. Test suite needs some more updates to work w/ 9.0 without errors. Closed-Leaf check-in: 9eb5979f33 user: rolf tags: deCONST
2018-04-06
16:18
Merged from trunk. check-in: 920496e776 user: rolf tags: deCONST
16:18
Pruned out more old ANSI_ARGS usage. check-in: a54f9b058d user: rolf tags: trunk
16:06
Removed a CONST comming from trunk and a few others that dangled around. check-in: 640861fcf5 user: rolf tags: deCONST
15:57
Merged from trunk. check-in: 7b9d2c1ea6 user: rolf tags: deCONST
09:44
Test to document problem fixed with [0fb34974584ae2]. check-in: d573bb0b47 user: rolf tags: trunk
2018-04-05
22:52
Ensure to reset the interp result after calls to the callback after script to make the logic of https://tdom.org/index.html/artifact?ln=6578-6639&name=5ec78e1acb36f517 work (again). check-in: 0fb3497458 user: rolf tags: trunk
2018-03-27
08:55
merge trunk check-in: 74a41afcca user: yorick tags: pyk-parsexpath
2018-03-25
01:00
Added reporting. Basically works. check-in: c3fc6b8de5 user: rolf tags: domvalidation
2018-03-24
16:09
Added code to the last missing handlers. Some smaller things (reporting, foreign DTD) but otherwise should be almost there. check-in: 007826727c user: rolf tags: domvalidation
02:04
Started musing about what it means to integrate XML DTD validation into the dom command (on various scales). check-in: 5bd1293e53 user: rolf tags: domvalidation
2018-03-21
23:50
Added benchmark test for expat with tdom and tnc. check-in: 6ade23ef3e user: rolf tags: trunk
20:46
Refined the benchmark tests to expose the DOM building time more. check-in: fb2e8f3cbc user: rolf tags: trunk
20:14
Added the external DTD for REC-xslt-19991116.xml to the test data. Used that for a more complex DTD validation test. check-in: 2f34951b42 user: rolf tags: trunk
01:54
Started test suite to measure overhead of using stacked handler compared with [dom]. check-in: 334c4fa6cf user: rolf tags: trunk
2018-03-09
00:58
Indentation. check-in: 7c46ddb63f user: rolf tags: trunk
00:38
Noted user visible changes. check-in: 4cb486509a user: rolf tags: trunk
00:16
Make pull parser a real thing. check-in: e96d74234d user: rolf tags: trunk
2018-03-08
23:19
Merged from trunk. Closed-Leaf check-in: 4c3629f439 user: rolf tags: pullAPI
2018-03-07
00:45
Added method delete to [expat] push parsers, made the up to now method free an alias of that. To have at least for deletion some consistence about the obj cmds that tDOM creates. check-in: c5d89835b8 user: rolf tags: trunk
00:28
Morged from trunk. This fixes some results in pushpull.bench. Made the bench framework more friendly for comparing the same version with different build options. check-in: 6a897b31d5 user: rolf tags: pullAPI
00:13
Removed more of this obsolete comments. This is handled in TclExpatHandlerResult(). check-in: 71598843fd user: rolf tags: trunk
00:06
Removed obsolete comment. It is already possible to terminate parsing with certain result codes. This is handled in TclExpatHandlerResult(). check-in: fdc4fb29f3 user: rolf tags: trunk
00:03
This is an important but hard to explain bug fix. The symptom was: using expat in a certain way (triggering the "Welch dispatch" method of calling handler scripts behind the scene) suffered from a dramatic slowdown with 8.6, while it was the fastest method of using expat with all other versions < 8.6. This changes adapts tDOM to the relevant core changes. check-in: 32df86b4d4 user: rolf tags: trunk
2018-03-06
22:48
Done something with [e831cf931a07d]. check-in: a99a29a3aa user: rolf tags: trunk
2018-03-02
15:39
Made the 'load tDOM for test suite run' helper script a bit more flexible. check-in: 35c762d585 user: rolf tags: trunk
2018-03-01
12:47
Eliminate tabs. Closed branch. See issue [e831cf931a]. Closed-Leaf check-in: 69d2001fef user: yorick tags: issue-e831cf931a07-tdom_Finalize
08:13
Fix for [e831cf931a07] check-in: 34806d3b29 user: yorick tags: issue-e831cf931a07-tdom_Finalize
2018-02-27
09:36
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d3b6eabb2b user: yorick tags: pyk-parsexpath
09:35
Fixed [e6ccc3c1fac1eb]. check-in: b66886b8c2 user: yorick tags: pyk-parsexpath
2018-02-26
19:58
Save work for discussion. check-in: 950cd395a2 user: rolf tags: pullAPI
02:19
Started push/pull bench file. check-in: b380e93a74 user: rolf tags: pullAPI
02:14
More tests. check-in: 8b0a9f2c6a user: rolf tags: pullAPI
01:54
Plugged leak introduced with find-element. check-in: 124710d771 user: rolf tags: pullAPI
2018-02-25
02:39
More work on the pullparser documentation. check-in: 1a8ce66cda user: rolf tags: pullAPI
2018-02-24
16:11
Added legal boilerplate to tclpull.c check-in: ff44e93eb6 user: rolf tags: pullAPI
16:07
Merged from trunk. check-in: 98dddd2848 user: rolf tags: pullAPI
15:52
Avoid define redefinition, introduced with changes for [e6ccc3c1fac1]. check-in: d5ec6fc888 user: rolf tags: trunk
03:12
Started documentation. check-in: 75ba091015 user: rolf tags: pullAPI
02:09
Enabled method find-element also for START_DOCUMENT state. check-in: 9055eaa404 user: rolf tags: pullAPI
01:31
Enabled method find-element for pull parser state END_TAG. check-in: 99c809552e user: rolf tags: pullAPI
2018-02-23
16:27
Fixed error msg in case find-element is called while state isn't START_TAG check-in: 5a3a1b4cfd user: rolf tags: pullAPI
16:24
Implemented method find-element for state START_TAG. check-in: 418efdfa87 user: rolf tags: pullAPI
15:21
Fix error in xpathNodeTest. xpath-5.56 now passes. check-in: 7bafc781b3 user: yorick tags: pyk-parsexpath
12:27
Prepare code for integration of find-element method. check-in: 15ee069170 user: rolf tags: pullAPI
12:23
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 49c48c4626 user: yorick tags: pyk-parsexpath
12:08
Added constraint to test that uses a >= 8.5 tcl core feature. check-in: 7064f3a9eb user: rolf tags: deCONST
01:47
Fixed [e6ccc3c1fac1eb]. check-in: ecc68384d0 user: rolf tags: trunk
2018-02-22
12:50
Merged trunk. check-in: a49f7e938f user: rolf tags: pullAPI
12:49
Fixed the recently broken build w/ --enable-threads. check-in: c05bde9469 user: rolf tags: trunk
11:12
Make modifications necessary to support new %nodetest functionality. All tests pass except xpath-5.56, and that may be a problem in the test itself. check-in: 0fcd6c63e6 user: yorick tags: pyk-parsexpath
06:21
Merge trunk, breaking things. check-in: 9927f3c39e user: yorick tags: pyk-parsexpath
01:46
More pruning out history: all that CONST and even CONST84 business. check-in: 659134bc9a user: rolf tags: deCONST
00:57
A bit modernizing and gardening of the code base (e.g. pruning out pre-ansi stuff). Work mostly done by Gustaf Neumann. check-in: da20a637cf user: rolf tags: trunk
2018-02-21
23:58
Removed unused struct member. check-in: d43d04b976 user: rolf tags: pullAPI
22:46
HTML reader: Fixed reading of numeric character entities. Thanks to Gustaf Neumann for reporting and most of the work. check-in: 56d76bf7d7 user: rolf tags: trunk
22:26
HTML reader: Document memory access problem with invalid numeric character entity. check-in: 7cf78490e2 user: rolf tags: trunk
19:12
Merged trunk. check-in: 39e0da6177 user: rolf tags: pullAPI
19:07
Added new pull parser method skip. Valid only in START_TAG state. Skips every event until the corresponding END_TAG (which is reported). check-in: 1f504129d4 user: rolf tags: pullAPI
12:30
Removed the now unused interp argument from domCreateDocument. check-in: d0fbb5904c user: rolf tags: trunk
01:38
Merged trunk. check-in: e7afcf0b4a user: rolf tags: pullAPI
00:24
Made behaviour of the code match expectation: if a var is read-only you shoudn't be able to set it anyway. check-in: 20ad681036 user: rolf tags: trunk
00:14
More description and context of [e6ccc3c1fac1ebbfa]. check-in: 8515af3433 user: rolf tags: trunk
00:09
Respect [dom setNameCheck] even for [dom createDocument/createDocumentNS ...] Thanks to pooryorick for reporting. check-in: 66acb1bd7d user: rolf tags: trunk
2018-02-17
03:27
Added test for [e6ccc3c1fac1]. check-in: ebebdc3027 user: rolf tags: trunk
2018-02-16
17:12
Fixed invalid memory access. Seems, that at least the name argument to the startElement handler is only valid for the handler call, even if the parser is suspended within the same handler call. Added element tag name cache hash table, that stores Tcl_Objs with the tags as value for fast report with Tcl_SetObjResult(). check-in: 2bb12a2f61 user: rolf tags: pullAPI
02:02
Dumped some test framework into the test file. check-in: 75e12697af user: rolf tags: pullAPI
01:59
Needed another check about loading the script library, because with ::tDOM::pullparser the ::tDOM namespace is always there. check-in: 86d9953bf2 user: rolf tags: pullAPI
01:44
Another fix in case of using -ignorewhitecdata. check-in: 9906838526 user: rolf tags: pullAPI
01:08
Fixed bug of handling of the expat behaviour of calling a few callbacks more, even if XML_StopParser() is already called. check-in: 5b0aa6804f user: rolf tags: pullAPI
2018-02-15
23:52
Fixed bug in case of -ignorewhitecdata. check-in: c58ff2e14f user: rolf tags: pullAPI
18:48
Added optional flag -ignorewhitecdata on creation time which suppresses report of white space only text events. check-in: d37caddb43 user: rolf tags: pullAPI
14:43
Merged from trunk. check-in: 0701a158b7 user: rolf tags: pullAPI
14:22
Fixed versionhash.h generation on Mac. check-in: b054a3bb6e user: rolf tags: trunk
13:25
Report sensible state if [pull state] is called after parsing error. check-in: 52f4e3ec50 user: rolf tags: pullAPI
13:00
More cleanup at end of parsing / do not leak file descriptors. check-in: c178f276e1 user: rolf tags: pullAPI
12:40
Faster pull status reporting. check-in: 2a5ee0a2f4 user: rolf tags: pullAPI
02:15
Added streaming from file. check-in: 5b284aca8b user: rolf tags: pullAPI
00:56
Added streaming from Tcl_Channel. check-in: a6c90f3b6c user: rolf tags: pullAPI
2018-02-14
17:16
Added some more argument checks. Added a tiny tests file. check-in: 07b0fa7da5 user: rolf tags: pullAPI
16:28
Added method reset. Started work for streaming input sources. More refinement and error case handling. check-in: 35ce23541d user: rolf tags: pullAPI
14:37
Merged from trunk. check-in: 98ce01c385 user: rolf tags: pullAPI
14:35
Added the new user visible change to CHANGES. check-in: 9dd79ab391 user: rolf tags: trunk
14:31
Added [dom featureinfo versionhash]. check-in: c303ca134c user: rolf tags: trunk
14:20
Fixed spelling DOKUMENT -> DOCUMENT. Now, even empty tag short cuts (<e/>) will be reported as START_TAG END_TAG sequence of states. check-in: 681d9023e2 user: rolf tags: pullAPI
03:05
Make versionhash.h dependent on manifest.uuid Make only tcldom.c dependent on versionhash.h and not all object files as was the case before. Closed-Leaf check-in: b86521b6f4 user: apnadkarni tags: versionhash
2018-02-13
23:52
Should basically work in simple cases. One known problem: empty element shortcut. check-in: 5900240359 user: rolf tags: pullAPI
20:47
Fixed attribute reporting. First pieces actually start to work. check-in: 63e00f7e88 user: rolf tags: pullAPI
06:05
Add versionhash.h mechanism to Windows nmake builds check-in: b727b73d8f user: apnadkarni tags: versionhash
01:20
More work. check-in: b12b2e88cb user: rolf tags: pullAPI
2018-02-12
02:19
Save work, still wip check-in: efd441e644 user: rolf tags: pullAPI
2018-02-10
02:37
Started a pull API experiment / digression. check-in: 1cfd25c1cc user: rolf tags: pullAPI
2018-02-09
11:17
Spell fix. check-in: 661363f318 user: rolf tags: trunk
2018-02-08
22:13
Added versionhash to dom featureinfo, returning the fossil repository hash of the version tDOM was build from. A mechanism to build versionhash.h on windows is to be done. check-in: 5938460068 user: rolf tags: versionhash
12:40
Enable manifest on cloned repositories. check-in: ba1f8c4863 user: rolf tags: trunk
00:35
Adjusted test suite according name unification. check-in: 1d140ee6a9 user: rolf tags: trunk
2018-02-06
22:00
Spell fix. check-in: db949eaaba user: rolf tags: trunk
2018-02-03
00:22
More spell fixes and unification of names. A few messages (in marignal cases as configuration or in error cases) changed. check-in: de204a84e6 user: rolf tags: trunk
2018-02-01
12:08
One of the previously changed spellings was in fact correct. Changed back. check-in: d869524b70 user: rolf tags: trunk
00:16
A couple of spell fixes / typing error corrections. Thanks goes to Gustav Neumann. check-in: 4897033c1b user: rolf tags: trunk
00:11
Expose the SAX parser buffer size a bit. check-in: bf23a5e2b3 user: rolf tags: trunk
2018-01-31
16:58
Save wip. check-in: f8e25c96f4 user: rolf tags: stackless_asXML
2017-12-25
10:11
On Windows, install html docs, not manpages check-in: 76ab45e19d user: apnadkarni tags: trunk
07:42
Updated nmake to v1.1 from Tcl repository check-in: 367d3b204a user: apnadkarni tags: trunk, magicsplat-1.8.0
06:59
Streamline makefiles for new nmake system check-in: 7bfd42df88 user: apnadkarni tags: trunk
2017-12-13
23:47
Still not exactly the same output as the current serializer but close. check-in: 9c7e75e752 user: rolf tags: stackless_asXML
2017-12-12
21:58
Save work for discussion. check-in: dbf205286d user: rolf tags: stackless_asXML
2017-12-11
22:45
Ripped out stackless XML serialization from stacklessfs into own branch, while further working on it. This may be a worth thing for itself, since expat digests really deeply nested XML. wip. check-in: fe454a1b53 user: rolf tags: stackless_asXML
00:59
Test for CDATA section element with mixed content. check-in: 5f26ebf2dd user: rolf tags: trunk
2017-12-10
20:44
Fixed invalid memory read in case non-element node is called with appendFromScript. Leaf check-in: b5e7bcdab5 user: rolf tags: stacklessfs
2017-12-09
02:16
More work on stackless xml serialization. Still deep wip. check-in: 120e42774d user: rolf tags: stacklessfs
2017-11-26
02:21
Minor tweaks for default (non stackless) build. check-in: c92b24eb58 user: rolf tags: stacklessfs
2017-11-25
14:23
Working with deep nested XML data should also mean to be able to serialize it. Started implementation of non-recursive asXML. Wip. check-in: d04f2a20fe user: rolf tags: stacklessfs
14:20
Removed not used code. check-in: 1124913539 user: rolf tags: stacklessfs
02:27
Made xmlOpenFileWorker reporting the right encoding in case it is called by xmlReadFile. check-in: a29752b914 user: rolf tags: trunk
01:49
Botched tdom.tcl on trunk and nobody complained ... check-in: e42dab602e user: rolf tags: trunk
2017-11-23
00:59
Exploring stackless fromScript script code evaluation. check-in: 0a1f7977fe user: rolf tags: stacklessfs
2017-11-21
22:13
Replaced the deprecated Tcl_EvalObj with its successor. check-in: c4d91cd3e9 user: rolf tags: trunk
2017-11-18
15:33
Updated the README about the included expat version. check-in: 156eb276c9 user: rolf tags: expat-update
01:59
Added more sensitive detection of source of entropy for expat to the configure system. The default is to try to use the best available source for the build plattform. The new configure option -with-entropy allows to pick a certain source of entropy including XML_POOR_ENTROPY, which means use the old way of doing this. check-in: 2de0b19f93 user: rolf tags: expat-update
2017-11-16
22:47
Hallelujah. Can remove that knownBug test tag, after successfully nagging upstream. check-in: cbcf5049f7 user: rolf tags: expat-update
22:18
Updated to expat 2.2.5. check-in: 5034d18e1a user: rolf tags: expat-update
22:05
Merged from trunk. check-in: 2f825a10bb user: rolf tags: expat-update
2017-11-09
00:32
Added -keepCDATA to the tdom handler set based implementation of the [dom parse ...] API. Bug fix in arg check. check-in: 8cd193981c user: rolf tags: trunk
2017-11-07
23:36
Tweaked doc stuff. check-in: f4336d7b70 user: rolf tags: trunk
23:25
Added flag -keepCDATA to [dom parse ...], respected by the expat and simple xml parser. If not used together with -keepEmpties, white space only CDATA sections will not be included into the DOM tree. Used together with -keepEmpties, even empty CDATA sections will result into a node. Fixed the simple xml parser it now bulds an XPath/XSLT "ready" tree by default, as it the standard parser does. Added tDOM::xmlReadFileForSimple helper to read xml files for [dom parse -simple]. check-in: a0809eb3c1 user: rolf tags: trunk
22:22
Better interface to the "read the XML file for me" tcl helpers. xmlOpenFile/xmlReadFile stay as they are, a new xmlReadFileForSimple was added to be used together with [dom parse -simple ...]. Closed-Leaf check-in: d07b1bbc1c user: rolf tags: keepCDATA
00:47
Added a knob to the helper procs tDOM::xml(Read|Open)File so that they do the right thing for the simple parser in some cases. check-in: 4c688ab844 user: rolf tags: keepCDATA
2017-11-06
01:00
0.9.0 release mark in the CHANGES file. check-in: c630765b29 user: rolf tags: trunk
00:57
Made simple XML parser ([dom parse -simple ...]) -keepCDATA aware, with the same semantic as for the standard expat parser. check-in: 5809c91591 user: rolf tags: keepCDATA
2017-11-05
23:56
If -keepCDATA is used together with -keepEmpties even empty CDATA sections will be CDATA_SECTION_NODE (with empty text) in the DOM tree. check-in: d333be5a28 user: rolf tags: keepCDATA
18:27
Fixed simple parser: It now groups consecutive text and CDATA sections into one TEXT_NODE, as the expat based DOM building (without -keepCDATA) does. check-in: cde6b24b70 user: rolf tags: keepCDATA
01:15
Added some words of documentation about the new [dom parse ...] flag -keepCDATA. check-in: 43b6f8f843 user: rolf tags: keepCDATA
00:02
Made that work with the tdom expat handler set also. check-in: e320c2065d user: rolf tags: keepCDATA
2017-11-04
19:12
Added a few bench tests to check positional predicate optimization. check-in: e01e949947 user: rolf tags: trunk
02:00
Started implementation of a "keep CDATA sections" switch to [dom parse ...]. check-in: 1cd6dcbed5 user: rolf tags: keepCDATA
2017-10-29
18:34
Update from trunk. Leaf check-in: 4751836ea1 user: rolf tags: errorCode
18:27
Replaced the (creative) use of encoding identity to make tDOM compatible with the upcoming Tip 345. check-in: 33ee70bd11 user: rolf tags: trunk
2017-10-19
10:40
Updated tnc to new nmake system check-in: b226917ae3 user: apnadkarni tags: trunk
07:41
New nmake build system check-in: 78c6f9be15 user: apnadkarni tags: trunk
04:17
Create new branch named "vc-reform" Closed-Leaf check-in: ebc7fb932f user: apnadkarni tags: vc-reform
2017-10-06
00:03
Applyed spelling/ wording fixes in source code comments, error messages and even symbols (!) as reported by Debian lintian [9629f6d4fb8c9]. check-in: f8ced39e14 user: rolf tags: trunk
2017-10-05
23:48
Applyed spelling/ wording fixes (documentation part) as reported by Debian lintian [9629f6d4fb8c9]. check-in: 764b3d1ea0 user: rolf tags: trunk
2017-10-01
01:11
Musing: Provide useful errorCode information in case of [dom parse ...] error. check-in: 8dd6cf7f01 user: rolf tags: errorCode
2017-09-15
15:29
Added loadlibrary.c to Windows build. Minor update to README check-in: 2658b83255 user: apnadkarni tags: expat-update
2017-08-31
15:30
Reduced the fall out of this on user API level. $node delete now does the same as it does in threaded builds anyway. Restored "moving" subtrees between documents by copying the subtree over and delete it it after (that's of course slower), made appendXML also work (there's room for more improvement, even for the non-fastfree case). Even line/number info seems possible. Still some things to fix, check and improve. Leaf check-in: b17f640f6f user: rolf tags: fastFree
12:34
Added the new expat source file loadlibrary.c to the once to build; its needed on windows. check-in: 1caab6d4da user: rolf tags: expat-update
10:25
Cleanup of some no longer used typedefs. check-in: 88b7e885f8 user: rolf tags: fastFree
02:51
Merged from trunk. check-in: e5404d396d user: rolf tags: fastFree
02:47
Exploring optimization possibilities. Using doc specific simple mem pools speeds up a [dom parse $xml doc; $doc delete] by a factor of 1.25 (though, while DOM tree building is also slightly faster most of the gain is a much faster doc free). Test suite runs valgrind clean. Some tests fail but most of them do rightly so. Because this has a price: no subree move between documentes (the DOM recommendation doesn't allow this but tdom did, so far), no [domNode delete] (but this in fact freed the memory already only in non-threaded builds), no line/column information. Needs creation of nodeCmds in doc specific namespace for cleanup of the tcl commands in one go (to be implemented) and thread safety consideration. If all goes well and still looks as a gain could be integrated in a switch on/of at runtime way. check-in: 1965531605 user: rolf tags: fastFree
2017-08-30
15:21
Now the domNode method cloneNode does also copy the json type annotation of the node or subtree to clone. check-in: 784ff1de80 user: rolf tags: trunk
14:03
Plugged memory leak in case [dom createDocumentNS] is erroneously called with prefixed document element name and the empty string as namespace URI. check-in: 9352a1da41 user: rolf tags: trunk
11:44
Added new expat source files. check-in: f6b055a47b user: rolf tags: expat-update
2017-08-29
21:05
Merged from trunk. check-in: 367f9260b3 user: rolf tags: expat-update
21:05
There are a lot expat releases, lately. This is expat-2.2.4. check-in: 631d353e34 user: rolf tags: expat-update
2017-08-25
14:28
Changed version to 0.9.1. check-in: fa48078af4 user: rolf tags: trunk
2017-08-24
16:15
Merged from trunk. Closed-Leaf check-in: 84a004b5f0 user: rolf tags: expat-2.2.3
15:33
Release 0.9.0 check-in: 6c9e8589f1 user: rolf tags: trunk, tdom-0-9-0, release
13:57
Install also tdomConfig.sh. And since tdomConfig.sh is generated by configure, don't remove it with make clean but only with make distclean. Closed-Leaf check-in: 9ca8c82d0a user: rolf tags: prepare-release
2017-08-23
22:34
Started updating of the included expat to 2.2.3. check-in: 4a425e9b4b user: rolf tags: expat-2.2.3
16:16
Changed a last comma. check-in: fe91db4e27 user: rolf tags: prepare-release
15:52
Hopfully final proof-reading of README. check-in: 1aaa919d6e user: rolf tags: prepare-release
14:45
Changed the link to / file name of the source distribution. check-in: 316eda6f67 user: rolf tags: prepare-release
14:10
Added a link to the repository and a meta content tag to the HTML documentation. check-in: 44f479fa12 user: rolf tags: prepare-release
13:34
Updated README. check-in: 6cdde781d5 user: rolf tags: prepare-release
03:40
Fixed misspelt package name (todm->tdom) in pkgIndex check-in: 792b1394bc user: apnadkarni tags: prepare-release
2017-08-22
22:25
tnc: (Re-)generate pkgIndex.tcl with make, since it could be removed by a prior make clean. check-in: 135a5c1e5f user: rolf tags: prepare-release
2017-08-21
23:51
Merged from trunk. check-in: f110e5331f user: rolf tags: prepare-release
23:46
Some more proof reading. check-in: 9f9b4577ac user: rolf tags: trunk
21:38
Windows build system (VC and mingw) modernised. check-in: 640dd65ff9 user: rolf tags: trunk
2017-08-19
19:23
Cleanup. check-in: fe8daed3e6 user: rolf tags: trunk
05:35
Merged trunk Closed-Leaf check-in: 3843ca8dc2 user: apnadkarni tags: msvc
2017-08-18
18:58
Updated the requested TEA_INIT version, according to the new TEA version. check-in: 67fc5860ca user: rolf tags: trunk
17:21
Updated README for Windows builds check-in: e6c39c8eb5 user: apnadkarni tags: msvc
17:20
Fix 32-bit gumbo path check-in: 30a6caeae7 user: apnadkarni tags: msvc
16:26
Fixed counting of nested depth by the JSON parser. check-in: 7e98c7c356 user: rolf tags: trunk
14:11
nmake makefile for tdomhtml check-in: 8a37884196 user: apnadkarni tags: msvc
09:17
Remove duplicate BUILD_tdom definition check-in: 6ce051c4db user: apnadkarni tags: msvc
09:16
Fix clean target for versions.vc check-in: b7f5203f10 user: apnadkarni tags: msvc
09:15
Fix path to install script check-in: 8fa0b17673 user: apnadkarni tags: msvc
08:57
Removed redundant FULLWARNINGS check check-in: 43708f19a5 user: apnadkarni tags: msvc
08:53
Reverted inadvertent check-in of xslt-8.1 debug code check-in: bd8b1a9cce user: apnadkarni tags: msvc
08:05
Merged trunk check-in: 67820b67ca user: apnadkarni tags: msvc
2017-08-17
22:06
Removed BUILD_tdom Closed-Leaf check-in: a57a14bf31 user: rolf tags: tmp
18:44
Merged trunk. check-in: e5d5c534b7 user: rolf tags: prepare-release
18:44
Changed my mind: next version will be 0.9.0. check-in: d9742bb60d user: rolf tags: prepare-release
18:40
Regenerated extension configure files after TEA update. check-in: 4b6f04f245 user: rolf tags: trunk
18:05
Updated version nr at more places. check-in: 5d9e51455e user: rolf tags: prepare-release
17:58
Merged trunk. check-in: c75669c175 user: rolf tags: prepare-release
17:23
Regenerated user docs from xml sources. check-in: 7223713d86 user: rolf tags: trunk
15:03
Updated CHANGES. Noted new home page in ChangeLog. check-in: 13d2b92d84 user: rolf tags: trunk
14:33
Integrated new feature "creating real FQ nodes with *fromScript methods". check-in: 32afe7f843 user: rolf tags: trunk
14:30
Documented the new feature "creating real FQ nodes with *fromScript methods'. Added checks to createElementNS and createDocumentNS to prevent them to create xmlns prefixes with empty uri (which are not legal). Closed-Leaf check-in: 9e7f64d9c5 user: rolf tags: nodecmdns
00:46
Merged trunk. check-in: c642c50f1e user: rolf tags: nodecmdns
00:15
Pacify compiler warnings. check-in: 59d4d6b060 user: rolf tags: trunk
2017-08-16
16:13
Fixed bug in selecting nodes in the global namespace (in no namespace), which where created and inserted into the doc at a place were a default namespace is in scope with xpath. check-in: 4d9b475d35 user: rolf tags: nodecmdns
2017-08-15
21:27
Merged from trunk. check-in: 846183897f user: rolf tags: nodecmdns
20:59
Changed slightly the format of the output of the parsed tokens within the error msg in syntactically wrong xpath expressions, because the up to now format wasn't the same on different platforms. Renamed the json test file; the tests cover more than just parsing json. check-in: 7cce9c5133 user: rolf tags: trunk
2017-08-14
23:57
New option -namespace for createNodeCmd elementNode: the by this cmd created nodes will be XML namespaced (and for the namespace declarations is cared for you). check-in: b6e86350a0 user: rolf tags: nodecmdns
22:34
createNodeCmd: Fixed arg checking of -jsonType for text nodes. check-in: f77454e666 user: rolf tags: trunk
12:51
Merged from trunk. check-in: ab19103901 user: rolf tags: prepare-release
12:49
Merged trunk after tcl.m4 update check-in: 221a33e30b user: apnadkarni tags: msvc
12:47
FULLWARNINGS not needed anymore check-in: 4e55e26532 user: apnadkarni tags: msvc
12:17
Updated TEA to tclconfig trunk. check-in: dcb4735ca9 user: rolf tags: trunk
2017-08-12
19:57
Minor code cleanup: removed check for a condition which is always true. check-in: 1cfb36f6fa user: rolf tags: trunk
10:07
Merged trunk check-in: 7161d9dfd7 user: apnadkarni tags: msvc
09:35
Integrate Gumbo into VS 2017 builds. check-in: 646cc2b4d6 user: apnadkarni tags: msvc
2017-08-11
22:41
Hide implemention details behind warning in documentation. check-in: e6f379b2f5 user: rolf tags: trunk
14:25
Bring Windows build into the modern age. check-in: 31019684aa user: apnadkarni tags: msvc
14:24
Updated nmakehlp.c to latest version from Tcl repo. Fix defines in makefile.vc to match those in Unix configure. check-in: 845339cede user: apnadkarni tags: msvc
14:22
Remove HAVE_MEMMOVE def as already passed on command line check-in: 56564f04e3 user: apnadkarni tags: msvc
10:41
Statically link gumbo on Windows check-in: 326758aa50 user: apnadkarni tags: msvc
2017-08-10
17:34
Merge trunk and fix pkgIndex.tcl generation check-in: 50a1e5725f user: apnadkarni tags: msvc
17:04
Fixed the mess up of domhtml5.c due to editing error while changing the signatur of the tdom core functions domNewElementNode und domNewElementNodeNS. Corrected the help text of the configure option --enable-html (it wrongly claimed from an earlier state it would be build in if the gumbo lib is available, but it is in fact only enabled if explictely requested, for better). check-in: f02dd1b319 user: rolf tags: trunk
15:57
Updated MSVC build files for new compilers and 64-bit support (no gumbo yet) check-in: ed206ab786 user: apnadkarni tags: msvc
09:36
Added the new obj file to the vc makefiles. check-in: 8344151942 user: rolf tags: trunk
2017-08-09
11:50
Added documentation for the new dom parse options -jsonmaxnesting and --. check-in: 9e9b4c5225 user: rolf tags: trunk
10:23
More proof-reading. check-in: 251ff6233a user: rolf tags: trunk
2017-08-05
12:57
Merged from trunk. check-in: d9388d5e29 user: rolf tags: prepare-release
12:52
Added a random test. check-in: 19c24838e3 user: rolf tags: trunk
2017-07-31
11:31
Merged from trunk. check-in: e2945db9a3 user: rolf tags: fuzzer-instrumentation
08:42
Some doc proofreading. check-in: 7bd9eda430 user: rolf tags: trunk
2017-07-30
00:48
Fixed seg fault in case of attribute node as context node of an id() function call. check-in: 8a41290899 user: rolf tags: trunk
00:04
Fixed seg fault in case of attribute node as context node of a lang() function call. check-in: b8bbb8a60a user: rolf tags: trunk
2017-07-29
12:21
Removed all that TCL_UTF_MAX cruft, that tries to do the right thing. This is all a dubious hack without proper core support. Until we have that (if ever) it's the responsibility of the user to not mix core and binary extension build with different TUM. check-in: 549b689298 user: rolf tags: trunk
2017-07-28
22:28
Fixed a SIGFPE in case of a float that casts to integer 0 on the right side of a mod. check-in: 8c247cfc54 user: rolf tags: trunk
16:10
Changed to switch easily (though by code editing) between XPath parser / lexer and JSON parser testing. check-in: d7fe06cfbf user: rolf tags: fuzzer-instrumentation
11:49
Merged from trunk. check-in: 3cf44b6370 user: rolf tags: fuzzer-instrumentation
10:51
Small rewrite to prevent double evaluation in define in case of TCL_MEM_DEBUG defined. Added knownBug tag to the test that demonstrates the current limits of xsltFormatNumber. Problem is understood but the solution needs some rework, which is postponed, for now. check-in: 3ec9f3b32f user: rolf tags: trunk
10:20
Merged JSON support into trunk. check-in: 68e470ad09 user: rolf tags: trunk
2017-07-27
13:14
Updated from trunk. Fixed OASIS test suite wrapper. Added an xslt test. Closed-Leaf check-in: 6ef22b30dd user: rolf tags: json
13:11
Use the malloc defines consistent all over the place, otherwise some memory checking approaches (like the one included in the tcl core) report false positives. check-in: 127b775ae7 user: rolf tags: trunk
2017-07-24
13:03
Looking closer at it there are always fine points. Fixed the new element name injection syntax if the element name is '*'. check-in: efb5498f2d user: rolf tags: json
2017-07-21
22:29
Regenerated html and man documentation. check-in: be3f2f4ce7 user: rolf tags: json
22:24
Corrected markup. check-in: e06f1dbfc8 user: rolf tags: json
22:09
Added documentation for the new XPath syntax extension. check-in: 199814dab5 user: rolf tags: json
14:47
Merged from branch json. check-in: 59f4155c8f user: rolf tags: fuzzer-instrumentation
14:43
Added a few more tests, with edge cases. check-in: 407b3fac54 user: rolf tags: json
14:34
Last needed major feature added: A syntax to 'inject' any possible element name into an xpath expression. Lacking more input from interested parties I took the %varname approach (similar to $varname approach for injection of literals) because it seems it's almost bindly simple to implement. check-in: 9002adc958 user: rolf tags: json
12:50
Added more documentation. check-in: 839c42ea9d user: rolf tags: json
2017-07-20
23:42
Some proof-reading. check-in: 68f0eddeb0 user: rolf tags: json
22:33
Started documentation. Adjusted the code to do, what the doc say. check-in: 86b81a0c23 user: rolf tags: json
12:30
Handling binary 0s: Literal binary nulls are not allowed in input and need special care because of tcls internal MUTF-8 encoding. check-in: 3c29d95f88 user: rolf tags: json
00:00
Handling of binary 0 (NUL). Escape all control characters outside the ones with short escapes as as unicode character escapes. check-in: baf7e7d324 user: rolf tags: json
2017-07-19
18:06
createNodeCmd: check, if the provided jsonType is valid for the node command to create. check-in: 9f5f333bad user: rolf tags: json
16:08
The parse options -html, -html5 and -json are mutually exclusive. check-in: 9d8d7a159b user: rolf tags: json
15:02
Implemented optional indentation of asJSON output. check-in: 004f5b1f74 user: rolf tags: json
13:26
More work on the JSON serializer to ensure, that serializing any (not json type hinted) DOM tree results in valid JSON string. check-in: 2299091520 user: rolf tags: json
2017-07-17
23:28
Added -jsonType option to the createDocumentNode method. Intermediatly gardening. check-in: 57a3a1ce1c user: rolf tags: json
2017-07-14
23:59
Added more jsonType hinting to createNodeCmd / appendFromScript. On the way added the new option "-tagName" for createNodeCmd. If given, the nodeCmd will create element nodes with the nodeName eq the -tagName value. This had not much value, up to now, but with JSON it may be needed, if a members value is sometimes an object and sometimes an array and the user insists in setting the jsonType anyway. check-in: de1782fd97 user: rolf tags: json
13:11
Fixed error msg in case of trailing chars after the JSON input. check-in: 5d8d0b87b3 user: rolf tags: json
12:24
Added knowledge about the (HTML5) tag "source" to the html parser. check-in: ea10f0d3f2 user: rolf tags: trunk
00:44
Changed jsonType to symbolic names. DomDocs now also may have a jsontype. Other minor tweaks. check-in: e29235a43e user: rolf tags: json
2017-07-13
21:57
Fix in JSON unescaping. check-in: 7b3b9a9817 user: rolf tags: json
19:11
Still accept an escaped slash (\/) as slash in input (as required by the spec), but don't escape slash in serialization, because a slash isn't required to be escaped in input (it just can be). check-in: 65e76f96e0 user: rolf tags: json
12:13
Fixed bug in build tree in case of nested empty array as element of an array. check-in: e4b57e31b6 user: rolf tags: json
12:01
Fixed tree building bug in case of nested object as element value inside of array. check-in: f6a78d360b user: rolf tags: json
01:41
Build a compact tree; handle JSON types "magically". The recommended tools (which do the magic automagically) as appendFromScript et al enhancements and additional syntax for XPath expressions are tbd, but with the also added jsonType method it should now not even possible to parse all valid JSON but also to generate any JSON by building up a DOM tree from the scratch and serializing it with asJSON. check-in: 72b69e3ec3 user: rolf tags: json
2017-07-12
21:07
Combine memory allocations in tcldom_selectNodes and move cleanup into tcldom_FreePvcd. check-in: ee1833d642 user: yorick tags: pyk-parsexpath
12:23
Added a test, which shows the problem that was fixed by [ccc182cde5]. check-in: dc5a7088ce user: rolf tags: pyk-parsexpath
2017-07-11
23:01
Remove staticTokenPtr from tcldom_ParseVarData and use NULL as the fixup marker instead. check-in: e6cf5cb835 user: yorick tags: pyk-parsexpath
22:24
Removed build breaking artifact, introduced with [518504411f16]. check-in: ab13e17c86 user: rolf tags: trunk
22:18
Removed build breaking artifact, introduced with [518504411f16]. check-in: fd02176cec user: rolf tags: json
21:26
selectNodes needs to store the Tcl_Obj that is passed to Tcl_ParseVarName in tcldom_xpathParseVar because the Tcl_Token.start values point into its string value. check-in: ccc182cde5 user: yorick tags: pyk-parsexpath
19:34
Merged from trunk. check-in: e6c68d83fe user: rolf tags: json
00:13
Added a random test. check-in: c121a72ec5 user: rolf tags: trunk
2017-07-05
23:02
Clarified the selectNodes documentation: mentioned the potential pitfall with using tcl variable references in xpath expressions, if using the -cache 1 option. check-in: 8ebfc15ac4 user: rolf tags: trunk
12:06
Fixed spelling mistake in error msg. check-in: 0e97114f76 user: rolf tags: trunk
00:22
Fixed the 'latent bug' mentioned in ticket [d0405aff34]. check-in: 518504411f user: rolf tags: trunk
2017-07-03
20:51
Fixed all identified bugs and memory problems of the approach. Not ready for prime time, so far. See the ticket [d0405aff34deee85] for details. check-in: 7db984705f user: rolf tags: pyk-parsexpath
20:39
So far, for now. Closed-Leaf check-in: 0c6df91ce5 user: rolf tags: wip, pyk-parsexpath
14:28
More progress. check-in: 2d793fe147 user: rolf tags: wip, pyk-parsexpath
00:21
Still work in progress. check-in: e5c042fb0d user: rolf tags: wip, pyk-parsexpath
2017-07-01
14:17
Work in progress. check-in: 42b8823f76 user: rolf tags: wip, pyk-parsexpath
2017-06-30
23:01
Fixed some problems in the code. Saved before attempt to greater rework, to takle others. check-in: 41e23c35ea user: rolf tags: pyk-parsexpath
10:28
Separate XPath parse and eval function steps and move variable access from parsing step to eval step. check-in: 20779fa343 user: yorick tags: pyk-parsexpath
2017-06-17
01:03
Fix seg fault of removeAttributeNS, if there is a not namespaced attribute with the same localname as the attribute to remove. check-in: db3e95cb77 user: rolf tags: trunk
2017-06-16
00:36
Don't put syntaxically wrong XPath expressions into the cache. Fix for [97c0994ae4]. check-in: 5b9f6c7c6d user: rolf tags: trunk
2017-05-10
00:24
See - why this limits to XML name and char data rules. check-in: 5dacf40a1d user: rolf tags: json
2017-05-09
23:47
Let's implement it much simpler and without factitious limitations. check-in: 0e69127b10 user: rolf tags: json
22:13
Last state before I understood, that this could never be the "right" thing or involve into something good. There are better concepts, to deal with JSON w/ tDOM. check-in: 96c82f8a34 user: rolf tags: json
2017-05-01
23:21
Added serializer. Some edge case, convenience flags and more testing to be done. check-in: 5481915769 user: rolf tags: json
2017-04-25
21:28
Back in normal feature dev branch, after digression. check-in: c6dbf8336f user: rolf tags: json
2017-04-24
00:05
Adjust tests according to how the code now works. Closed-Leaf check-in: ffd617d8d7 user: rolf tags: wip
2017-04-22
13:26
More work in progress. Saved for transport. check-in: 6b4b6bb485 user: rolf tags: wip
2017-04-19
23:25
Merged from trunk and changed respectively. check-in: 71f5139f11 user: rolf tags: wip
23:15
Removed unused parameter from domNewElementNode and domNewElementNodeNS- check-in: c7e9aae252 user: rolf tags: trunk
22:58
In the middle of some rework. check-in: aa6e9da5a3 user: rolf tags: wip
2017-04-15
13:22
Save work in progress for transport. check-in: 1dddd40b6e user: rolf tags: wip
2017-04-14
01:06
Added boilerplate for a JSON serializer. check-in: 36d8b4b3c6 user: rolf tags: json
2017-04-13
15:23
Limit the depth of recursion for valid JSON in the JSON parser in order to avoid using excess stack space (seg fault). Default: maximum allowed nesting is 2000. That default could be changed at build time. The default could be queried with [dom featureinfo jsonmaxnesting]. May be set on call by call base with the new [dom parse ...] option -jsonmaxnesting. check-in: a139d28a41 user: rolf tags: json
2017-04-12
23:44
Sanitized the JSON parser. check-in: 4f158c61d8 user: rolf tags: json
22:38
With [dom parse -json ...] for the first time valid input could start with '-'. check-in: 685e270255 user: rolf tags: json
21:09
Added "--" as optional flag to [dom parse ...], signaling the end of options. check-in: e98ace106f user: rolf tags: json
2017-04-11
22:12
Added un-escaping on the fly of parsing. Obviously over-convoluted written, but it at least kind of works. check-in: bca3f461d5 user: rolf tags: json
2017-04-09
00:59
Improved error reporting. check-in: 0a8a1c0e15 user: rolf tags: json
2017-04-07
23:57
Changed, improved and cluttered with the correct XML namespace limbo dance the handling of ture, false, null. Partly to lower the 'fall out' of this: new option -jsonroot, which expects the document element name of the DOM tree to create. Ignored, if not used together with -json. Fixed parsing of emtpy string values. check-in: 672650884f user: rolf tags: json
16:25
Started implementation of JSON support. Parsing a JSON string into a DOM tree (via the new [dom parse -json] option) basically works. Work out of some details needs to be done, as well as serialization back to JSON. check-in: 7ba8482d10 user: rolf tags: json
01:25
Corrected header comment. check-in: ca060d66dc user: rolf tags: trunk
2017-04-06
23:55
Integrate the new -html5 option of [dom parse]. Builds on only on linux without too much fussing around and is disabled by default. check-in: f7671c27a3 user: rolf tags: trunk
2017-04-04
23:58
Changed default of --enable-html5 back to off. By following the rules now the generated DOM trees are "namespaced", the HTML tags in the xhtml, the sgv and mathml tags and the xlink attributes in their respectivly namespaces. Since this probably isn't wanted by a lot of users and adds only burden for no good in a lot of use cases -html5 can be combined with -ignorexmlns, in which case all nodes and attributes in the DOM tree are not in an XML namespace. Added a few words of documentation and tests. Closed-Leaf check-in: 15f1033a6f user: rolf tags: html5_by_gumbo
2017-03-27
20:29
Added a few tests. Bit minor gardening. check-in: c577fbde37 user: rolf tags: trunk
2017-03-25
01:46
Made the ../configure default of --enable-html5 to bw 'if available'- check-in: aef7455e78 user: rolf tags: html5_by_gumbo
01:32
Made it build also with just the default ../configure again. check-in: 5c13a6975f user: rolf tags: html5_by_gumbo
01:18
Added an experimental dom parse -html5 option, that uses the gumbo library (https://github.com/google/gumbo-parser) to generate a tdom DOM tree out of (html5) input. It's disabled, by default, enable it with ../configure --enable-html5. This link against the gumbo lib and therefor require that to be installed. check-in: 5f8d95de29 user: rolf tags: html5_by_gumbo
2016-10-08
23:19
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 2572154b1f user: rolf tags: prepare-release
23:11
Introduced due an editing mistake in [df00b99009] parsing of external entities, that are feeded back into the parsing engine as channel by the scripted external entities resolver, raised wrongly error for well-formed entities and vice versa. Fixed. check-in: 1d978619f5 user: rolf tags: trunk
2016-10-03
21:39
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 267416996f user: rolf tags: trunk
21:36
Updated CHANGES. Replaced the currently not updated github mirror with the tDOM mirror at core.tcl.tk. check-in: 199b03a2dd user: rolf tags: prepare-release
21:25
Regenerated configure. check-in: 6e83087b3a user: rolf tags: prepare-release
2016-10-02
12:59
Removed build stuff for mac os 8/9. I have no way to test this and probably nobody uses this anymore. check-in: 63d1763330 user: rolf tags: prepare-release
12:32
Pre-release branch. check-in: 6e4626b0b0 user: rolf tags: prepare-release
2016-10-01
22:38
Fixed [b7fcebac73]. check-in: df00b99009 user: rolf tags: trunk
19:12
Added tests for bug [b7fcebac73] check-in: 9fd45f15ab user: rolf tags: trunk
17:54
Updated to expat 2.2.0. check-in: 9e5f3982f6 user: rolf tags: trunk
2016-05-12
19:06
Fixed configure option --with-expat. check-in: 3ef47f8eca user: rolf tags: trunk
16:45
If not on windows include unistd.h unconditional. Fixes a warning on FreeBSD. check-in: f163795f4d user: rolf tags: trunk
16:28
Fixed long standing problem: Report undefined xml namespace prefixes as parsing error. check-in: 6d4a7d62c1 user: rolf tags: trunk
2015-09-11
00:44
Added options -xmlDeclaration and -encString to the asXML method of the domDoc and domNode commands. check-in: 400d92fee5 user: rolf tags: trunk
2015-09-07
14:08
Fixed HTML serialization of CDATA Sections. check-in: 230278ccf5 user: rolf tags: trunk
2015-08-28
21:55
More doc tweaks. check-in: d44a180b35 user: rolf tags: trunk
17:52
Added documentation for the new xslt transformation option -maxApplyDepth. Regenerated man and html files. Other minor doc tweaks. check-in: fe3d23e7ad user: rolf tags: trunk
17:45
Added limit (default 3000) for depth of nesting xslt apply templates. Added -maxApplyDepth option to xslt transformation, to set this limit. check-in: a52f940880 user: rolf tags: trunk
14:56
More detailed report and and more fancy external entity resolver for OASIS-suite.tcl. check-in: f773081411 user: rolf tags: trunk
2015-08-25
22:19
More work on and with OASIS-suite.tcl. check-in: e68b5e234f user: rolf tags: trunk
2015-08-21
13:23
Prevent, that circular attribute-set references blow up the stack. Return error msg instead. check-in: 44ca1203de user: rolf tags: trunk
13:21
More work on OASIS-suite.tcl. check-in: b682c5e4a2 user: rolf tags: trunk
2015-08-20
17:00
Fixed ridiculous errors in option handling of OASIS-suite.tcl. check-in: 50f3871fd6 user: rolf tags: trunk
2015-08-19
23:58
Removed code cruft. check-in: d68f0946b1 user: rolf tags: trunk
23:22
An xpath expression with more then one step after a // could return the matching nodes not in document order. check-in: 5ce8894ca4 user: rolf tags: trunk
2015-08-05
14:30
Removed another unnecessary variable initialazation. check-in: 16e874d04d user: rolf tags: trunk
14:02
Removed unnecessary variable initialazation. check-in: a406be0187 user: rolf tags: trunk
14:00
Guard against null pointer dereference in case of invalid stylesheet (template mode attribute is prefixed, but the prefix isnt bound to a namespace in scope). check-in: 34148043ce user: rolf tags: trunk
13:57
Removed unused (and unnecessary) code. check-in: 78df30fe04 user: rolf tags: trunk
2015-05-17
00:27
Brought CHANGES up to date. check-in: c27818aee3 user: rolf tags: trunk
2015-05-16
21:00
Brought info text files of the included expat version in sync with the actually used version 2.1.0. Missed to copy this files, while updating the code to expat 2.1.0. check-in: 8dfb0f574a user: rolf tags: trunk
2015-04-14
23:43
Added argument check for the boolean expecting tdom cmd option setter methods. Fixed the ignorexmlns method. check-in: c5f26a45cf user: rolf tags: trunk
2015-04-11
00:22
Changed behavior wrt to result code of a called -xsltmessagecmd script. Up to now, the result code of that script evaluation was ignored. Now, any other return code of that script then TCL_OK terminates the xslt transformation and returns error. Purposeful termination may be signaled with return -code break, for which the error message will be empty. check-in: 8438342bf7 user: rolf tags: trunk
2015-04-10
23:59
Sorted out how it will be, for now. Documented it somewhat. Closed-Leaf check-in: be9cfa8f2d user: rolf tags: xsltmsg
2015-04-04
12:58
Save changes. check-in: d296766c6c user: rolf tags: xsltmsg
2015-04-02
00:11
Merged from trunk. check-in: a441d3472d user: rolf tags: xsltmsg
2015-04-01
23:14
Added option -ignorexmlns to the dom parse method. check-in: 1fddc58c07 user: rolf tags: trunk
23:10
Initialize ignorexmlns for tdom cmd. Closed-Leaf check-in: 4cada4420f user: rolf tags: TDOM_NS
23:00
Merged from trunk. check-in: 4ac7a71245 user: rolf tags: TDOM_NS
22:40
Corrected typo. check-in: 65c1350cd7 user: rolf tags: trunk
22:12
Added new expat parser cmd method currentmarkup. check-in: 2b183ffd3f user: rolf tags: trunk
21:46
Added lokal clean-up to every test (as it should be) and removed general clean-up, which was interfered by other test helper procs. Closed-Leaf check-in: d501542ab8 user: rolf tags: parser-defaultcurrent
21:35
Corrected typo. check-in: 6f3daefad3 user: rolf tags: parser-defaultcurrent
19:13
Documented parser cmd method currentmarkup more precisely. check-in: e6bbca7bff user: rolf tags: parser-defaultcurrent
18:12
Plugged memory leaks in case of defective XPath expressions. check-in: 6cae756100 user: rolf tags: trunk
03:01
Handle calls from -characterdatacommand. Added tests. check-in: 4bb38582f8 user: rolf tags: parser-defaultcurrent
00:44
Merged from trunk. check-in: 9a616f0d21 user: rolf tags: parser-defaultcurrent
2015-03-26
11:29
Enforce value range for -indentAttrs value. check-in: ac03b8c44e user: rolf tags: trunk
01:23
Added option -indentAttrs to the domDoc/domNode method asXML. check-in: 3245a04ed5 user: rolf tags: trunk
01:17
Now, -indentAttrs expects an argument, 0..8 or no/none and indends the attributes relative to their element by the given value. Closed-Leaf check-in: ca5b82767d user: rolf tags: indentAttrs
2015-03-25
23:00
Merged from trunk. check-in: 3b71a11611 user: rolf tags: indentAttrs
21:59
Minor cleanup: Removed extraneous parentheses around comparison check-in: a57050673a user: rolf tags: trunk
2015-03-01
03:48
Made node detection from string token more reliable. check-in: 3401eb3d6b user: rolf tags: trunk
03:04
Clarified the xpath data type of tcl var references in xpath expressions. check-in: 9391fc5fe9 user: rolf tags: trunk
2015-02-27
02:31
Documented: Using tcl var reference in expr predicate. check-in: ff88c83a7b user: rolf tags: trunk
02:04
Documented: detecting node from string token isn't reliable. check-in: b41c199b1e user: rolf tags: trunk
02:01
Document: detecting node from string token isnt reliable. check-in: 2de2b4f0a1 user: rolf tags: xsltmsg
2015-02-15
01:29
Added bench tests to show the speed problem with large current nodelist argument. check-in: c6c85b25c2 user: rolf tags: trunk
00:45
Added tests to demonstrate the problems with modifying xmlns attributes and afterwards moving around the node. check-in: 6e2396d92b user: rolf tags: trunk
2015-02-14
20:36
Instrumentation of tcldomsh, to be able to use afl-fuzz to hammer on the XPath engine (well, to hammer on the XPath Parser/Lexer/Error Reporting, mostly, I guess). check-in: 69b07cdbed user: rolf tags: fuzzer-instrumentation
15:34
Started to add ability to terminate xslt processing by return code of the xsltmsgcmd. check-in: 18189825f9 user: rolf tags: xsltmsg
2015-01-25
13:17
Better error msg. check-in: 6bb4eda2c7 user: rolf tags: trunk
01:01
Still hardening the xpath engine against random input. check-in: cda6ae28c1 user: rolf tags: trunk
00:09
Fixed / better handling of over- or underflow integers given literal within the xpath expression. check-in: a34b1c1dff user: rolf tags: trunk
2015-01-21
00:37
Save bytes and be more general. check-in: 9bec85810d user: rolf tags: trunk
2015-01-20
23:08
Fixed even more possible seg faults in case of "random" xpath input. check-in: e44ca3a81b user: rolf tags: trunk
2015-01-18
20:34
Fixed more possible seg faults in case of 'random' xpath input. check-in: 66eccc9114 user: rolf tags: trunk
01:57
Fixed seg fault in case of special crafted XPath expressions. check-in: 987b9125a2 user: rolf tags: trunk
2014-12-11
22:49
Fixed XPath bug, if logical comparing nodesets with numbers. If some node in the nodeset has a string value, that looks like a double in some other standards but is not a number according to XPath, the result of the comparsion could be wrong. check-in: 9c3092c53e user: rolf tags: trunk
15:32
Added some words of documentation for the new parse option -ignorexmlns. check-in: 8a3978d548 user: rolf tags: TDOM_NS
2014-11-27
14:58
Merged from trunk. check-in: a154b27b05 user: rolf tags: TDOM_NS
2014-11-19
21:59
Cleaned up test naming, removed a few duplicated tests. check-in: 34b677ad0b user: rolf tags: trunk
2014-11-06
01:35
More scripted XPath function tests. check-in: 9f3c84cdb3 user: rolf tags: trunk
00:27
A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. check-in: 00c36ac1c9 user: rolf tags: trunk
2014-11-05
23:53
Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. check-in: 55e2fefda5 user: rolf tags: trunk
2014-11-02
23:30
Editorial corrections. check-in: 0f71f6ce74 user: rolf tags: trunk
2014-10-31
17:54
Added at least one test for the expat parser cmd method parsefile. check-in: 96de69454e user: rolf tags: trunk
2014-10-16
23:17
Added configure option --with-expat, to build and link against the system or a custom expat lib. Default is, to use the included sources. check-in: e008f28a6e user: rolf tags: trunk
21:58
Saved work in progress. check-in: 3cc840358e user: rolf tags: parser-defaultcurrent
2014-10-09
15:38
Update parser.test to the new method name currentmarkup (in fact, missed to save the file prior to commit the method name change. check-in: f7c8e4e77f user: rolf tags: parser-defaultcurrent
2014-10-08
00:45
Renamend method defaultcurrent to currentmarkup. check-in: 0337e934ea user: rolf tags: parser-defaultcurrent
00:28
Tried to document defaultcurrent. check-in: 358cff26da user: rolf tags: parser-defaultcurrent
00:06
Merged from trunk. check-in: fb8b793fef user: rolf tags: parser-defaultcurrent
2014-10-07
23:50
Reworked parser cmd method defaultcurrent to work much simpler. Instead of getting the result of the method by another handler, which may be, since its there, get called otherwise also (so you may have to flag, that this handler is called by defaultcurrent) just return currentdefault. check-in: f5b29530ef user: rolf tags: parser-defaultcurrent
2014-10-03
23:46
Added a first test of the new defaultcurrent method. check-in: e47ccd2f2f user: rolf tags: parser-defaultcurrent
00:07
Fixed a seg fault if tdom $parser enable is called in a callback of the parser it works on. check-in: dd44c6e0e0 user: rolf tags: trunk
2014-10-02
23:09
Editorial change. check-in: 4afd32f535 user: rolf tags: trunk
22:57
added a "parser defaultcurrent" subcommand that calls XML_DefaultCurrent check-in: 0cb35638d1 user: evilotto tags: parser-defaultcurrent
21:45
Fixed seg fault, if expat parser cmd method get is called without argument. check-in: a5417947d1 user: rolf tags: trunk
2014-06-25
18:42
Added test. check-in: 7f6a517aba user: rolf tags: TDOM_NS
2014-05-02
00:25
Simplyfied test suite infrastructur. check-in: dd0926133d user: rolf tags: trunk
2014-05-01
12:33
Added more minimal xslt doc tests. check-in: 73c26eb87f user: rolf tags: trunk
12:28
Added minimal xslt doc tests. check-in: 3f2c9c70c6 user: rolf tags: trunk
12:16
Added minimal xslt doc tests. check-in: d05e85a15f user: rolf tags: trunk
2014-04-10
14:39
Started to migrate the build time TDOM_NS hack to a runtime parse option. check-in: 93da576a41 user: rolf tags: TDOM_NS
2014-03-07
00:25
added "indentAttrs" option to domNode asXML that adds newlines in between attributes check-in: 190f3c4596 user: evilotto tags: indentAttrs
2014-01-18
18:39
Removed unused define. check-in: cbd75ded2b user: rolf tags: trunk
2014-01-10
01:11
Improved speed of operations in node token mode notable. This is achieved by introducing a Tcl_Obj type tdomNodeType. Tcl_Objs of type tdomNodeType are created without string representation, saving malloc costs until string representation is needed (which typically isn't needed). Additionally, DOM node identification from token is faster with tdomNodeType Tcl_Objs. check-in: 8f70a39a92 user: rolf tags: trunk
2014-01-01
22:08
Enhanced bench suite. Closed-Leaf check-in: 7148e12240 user: rolf tags: tdomNodeType
04:03
Made tcldom_returnNodeOjb static. check-in: 40b95f4a60 user: rolf tags: tdomNodeType
2013-12-31
18:01
Most obvious, low hanging fruits of the tdomNodeType Tcl_Obj reform are harvested now. A lot of (if not most) operations in token mode are faster (some micro-benchmark measurements say roughly double speed (or even more)). Even operations in cmd mode seem to be a little bit faster, for whatever reasons. Valgrind checked test suite run is still fine. Because this are changes within the heart of the extension, I'll test this futher in real-live applications, before merging this into trunk. check-in: 9b93825de2 user: rolf tags: tdomNodeType
2013-12-30
19:52
Return tdomNodeType Tcl_Objs from a couple of methods (still some to do), if in token mode. check-in: 7d85454598 user: rolf tags: tdomNodeType
2013-12-29
23:47
Continue work: tdomNodeType works, next step will be to use that. check-in: bb9692ad56 user: rolf tags: tdomNodeType
01:29
Update from trunk. check-in: 6b6f0a48b7 user: rolf tags: tdomNodeType
01:25
Minor test suite correction and addition. check-in: 12ce2296e4 user: rolf tags: trunk
2013-12-28
14:51
Start tdom Tcl_ObjType reform. check-in: 06841faa5b user: rolf tags: tdomNodeType
2013-12-27
21:56
More #ifdefery, to handle tip 388 changes to tcl.h. check-in: ebe56a3001 user: rolf tags: trunk
2013-12-24
01:07
Improved handling of characters beyond BMP. check-in: ea86851d90 user: rolf tags: trunk
01:00
Improved check for binary compatibility. Closed-Leaf check-in: f8a539484c user: rolf tags: beyondBMP
2013-12-23
22:27
More tests in this area. check-in: 0061b52914 user: rolf tags: beyondBMP
02:19
Handled this mess even further. New dom method isBMPCharData, to check, if a string has only characters out of the BMP. With TCL_UTF_MAX > 3 even 4 byte utf-8 character will be serialized as character entities only with -escapeNonASCII. With TCL_UTF_MAX = 3 (the default of the core) 4 byte utf-8 character will always be serialized als character entities, even if -escapeNonASCII is not given. If tDOM was build against a core with other TCL_UTF_MAX then the interpreter, which [load]s it, it complains and raises error. New dom featureinfo subcommand TCL_UTF_MAX, which returns the TCL_UTF_MAX value of the tcl core, tDOM was build with. check-in: ab3fea493c user: rolf tags: beyondBMP
2013-12-22
18:16
Some more minor modifications to make tdom handle 4 byte utf-8 characters right (if one gets them into a dom tree, by character entities within the xml or using parsefile). Still, accessing such pcdata beyond BMP with dom methods or xpath queries and using the result at script level will not work correctly with current tcl default build (mangled results without notification by error). check-in: 57d6c144cc user: rolf tags: beyondBMP
2013-12-21
13:21
Don't panic while serializing 4 bytes utf-8 chars, just write them as character enities. check-in: 24d35f6835 user: rolf tags: beyondBMP
2013-12-20
14:36
Added pointer to the CHANGES file. check-in: 104046edbb user: rolf tags: trunk
14:28
Updated CHANGES. check-in: 38bc0537ec user: rolf tags: trunk
14:09
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. A return -code break from the -feedbackcmd causes the parser to almost immediatly abort parsing and let the [dom parse] call return the empty string (instead of a document) and no error. For expat parser objects: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: 611c50075f user: rolf tags: trunk
13:48
Documented behaviour of the new, special handled handler script return code -return. Added some test. Closed-Leaf check-in: 55c9bb1681 user: rolf tags: abortableParse
03:45
Handler script return codes other than -code ok, -code continue or -code break causes parse abort (via XML_StopParser). New feature: If a handler script returns -code return, then parsing is aborted, but no error is raised. check-in: f8cab49830 user: rolf tags: abortableParse
01:48
Added documentation for -feedbackcmd. check-in: 45571cd469 user: rolf tags: abortableParse
2013-12-19
18:31
Added option -feedbackcmd to the dom parse method. This option allows to specify a script, which will be called as feedback command. For backward compatibility, if no -feedbackcmd is given, but there is a tcl proc named ::dom::domParseFeedback then this proc is used as -feedbackcmd. If there isn't such a proc and -feedbackAfter is used, it is an error to not also use -feedbackcmd. check-in: db8378c250 user: rolf tags: abortableParse
2013-12-16
10:37
Correted test description. check-in: 7e27b29b15 user: rolf tags: abortableParse
01:12
Improved error msg handling for recursive external entities. check-in: 4b9e219335 user: rolf tags: abortableParse
2013-12-15
01:13
Removed debugging code. check-in: 847fe0e7c5 user: rolf tags: abortableParse
2013-12-14
15:45
Added another test. check-in: 32853b1ede user: rolf tags: abortableParse
15:40
Fixes and improvements in case of external entities. check-in: 5cdd39dc5a user: rolf tags: abortableParse
02:50
Futher work. check-in: b9ee715299 user: rolf tags: abortableParse
2013-12-08
22:58
New feature: parsing may be aborted by the application. Dom building will be aborted by returning non TCL_OK from feedback cmd (nc). check-in: fd2b6b294a user: rolf tags: abortableParse
2013-12-06
23:12
Worked through compiler warnings, removed or cleand up some cruft. Less noisier build (at least for my current tool chain). check-in: 99765c41e5 user: rolf tags: trunk
2013-12-05
23:17
Minor corrections in comments and the reason for a compiler warning removed. check-in: d168f6f959 user: rolf tags: trunk
00:35
More gardening ... :-} check-in: 9d0ae0bb38 user: rolf tags: trunk
00:33
Gardening. check-in: 8d14c9884b user: rolf tags: trunk
2013-12-04
23:39
Make tdom cross-compile on linux for windows (w32/w64) with mingw-w64. check-in: 0026eb9d33 user: rolf tags: trunk
2013-11-03
22:06
Improved handling of node deletion in mt builds (fixed memory corruption, if document is attached more than one time and deleted node is other than ELEMENT_NODE type, fixed memory clean up). Still room for improvement. check-in: a77a362003 user: rolf tags: trunk
01:07
Corrected some test names. check-in: 10f0972864 user: rolf tags: trunk
2013-11-02
00:33
Document github issue 14. check-in: d2c4737409 user: rolf tags: trunk
2013-09-26
01:35
Added dom method featureinfo. check-in: 9ab65ed6fc user: rolf tags: trunk
01:30
Added tests. Documentation tweak. Closed-Leaf check-in: d40d0f4c10 user: rolf tags: dom_featureinfo
2013-09-25
00:47
Updated and regenerated doc. check-in: 8ccb6f120b user: rolf tags: dom_featureinfo
00:09
Updated from trunk. check-in: 3a3b825826 user: rolf tags: dom_featureinfo
00:03
More work on OASIS-suite.tcl. check-in: 02675cd3c8 user: rolf tags: trunk
2013-09-24
22:50
Added a Relax NG compact tmml schema definition (generated by trang from the tmml.dtd and a minor modification. check-in: 1189b8bada user: rolf tags: trunk
00:27
Added INDEX.MAP to be more in sync with README. check-in: 49ccac621d user: rolf tags: trunk
00:24
Basic tmml cleanup. check-in: b1f1aba98e user: rolf tags: trunk
00:20
Editorial change. check-in: 80ce5f7895 user: rolf tags: trunk
2013-09-22
11:27
Corrected tmml syntax errors in domNode.xml. Started documentation of dom featureinfo. check-in: aecda7733d user: rolf tags: dom_featureinfo
2013-09-21
23:44
Added dom method featureinfo. check-in: 2877d5b58a user: rolf tags: dom_featureinfo
2013-09-20
23:44
Integrated toXPath bug fix. check-in: 85d99b56af user: rolf tags: trunk
23:35
More tests. Minimal documentation. Closed-Leaf check-in: 9da0732eb4 user: rolf tags: toXPath
21:18
Updated from trunk. check-in: 697274d232 user: rolf tags: toXPath
21:17
xslt.tcl better usable for memory debugging. check-in: 5bb0267890 user: rolf tags: trunk
2013-09-19
00:10
Made OASIS-suite.tcl better usable. Started comparing with the provided ref output. check-in: 1387f10c23 user: rolf tags: trunk
2013-09-08
23:32
Skeleton to run the OASIS xslt 1.0 test suite. check-in: 1e5a9b3310 user: rolf tags: trunk
22:47
Bug fix: apply-imports could run wild, if there is an overwritten template with the same import precedence. check-in: da559675c5 user: rolf tags: trunk
2013-09-06
22:44
Added new option -legacy to the domNode cmd error msg text. check-in: e799d2e8c5 user: rolf tags: toXPath
22:41
Spell fix. check-in: 94beb1bc99 user: rolf tags: toXPath
22:36
Fixed toXPath, which didn't worked at all for namespaced nodes without a prefix and with namespaced nodes with prefix not for patholotical cases. Because the string result of the toXPath method changed even in cases, which did work there is a new option -legacy, that returns the old string value.The -legacy option will go away, in future clean ups, if it show. check-in: 1745c828bc user: rolf tags: toXPath
2013-08-31
18:23
Raised the limit of maximum number of different XML namespaceses within one DOM tree to what a signed int can hold. New configure switch --enable-lessns restores old code. This may mean (depending on the used malloc) that the DOM tree of an XML file may need a bit more memory (even if you don't have any XML namespace declaration within your documents) than before. check-in: 981c0340e2 user: rolf tags: trunk
2013-08-29
14:44
Added configure switch to build tdom with the old (much smaller) limit of different XML namespace declarations within one document while building a dom tree (and restore the old lesser memory demands). Closed-Leaf check-in: dd4f2b0aae user: rolf tags: more-xml-ns
2013-08-28
12:50
Raise the limit of maximum number of different xml namespace declarations within an xml document. check-in: a689b0c326 user: rolf tags: more-xml-ns
2013-08-17
12:49
Noted the TEA update in CHANGES. Declared Changelog as obsolete. check-in: 6c1a36e58f user: rolf tags: trunk
2013-08-16
14:59
Fixed memory corruption in case of scripted xpath function with an attribute as context node (reported by https://github.com/tDOM/tdom/issues/16). check-in: d5664646d6 user: rolf tags: trunk
2013-08-15
01:16
Test documenting the seg fault reported by https://github.com/tDOM/tdom/issues/16. check-in: 97f6f2f627 user: rolf tags: trunk
2013-07-21
16:36
Updated TEA build system of tdom itself and the extensions (merged from branch "tea-update"). check-in: 67628d28e2 user: rolf tags: trunk
16:32
Made the example extension "example" work again. Closed-Leaf check-in: 21aeb4698d user: rolf tags: tea-update
15:25
Build of working tcldomsh finally restored. check-in: a95bf4cf89 user: rolf tags: tea-update
2013-06-13
21:29
More work on tea update for extensions. check-in: 7dab1bfb78 user: rolf tags: tea-update
2013-06-08
12:15
Started tea update of extensions. check-in: d0ce231bf9 user: rolf tags: tea-update
2013-06-06
01:49
Updated TEA for tdom core. tcldomsh seg fault makes that retarded. check-in: f5d136bd2f user: rolf tags: tea-update
2013-05-16
00:03
Update to expat 2.1.0. check-in: 90dd28722d user: rolf tags: trunk
2012-05-17
21:21
Updated check-in: a842228559 user: rolf@point.pointsman.de tags: trunk
21:12
Compatibility with Tcl 8.6 - Beginning with 8.6, interp->errorLine isn't public visible anymore (TIP 330). check-in: 411908be4f user: rolf@point.pointsman.de tags: trunk
20:30
Fixed wrong size on memcpy on 64 bit (when sizeof(int)!=sizeof(int*)) check-in: c62dffee03 user: rolf@point.pointsman.de tags: trunk
2011-12-20
00:54
fix minor grammar typo in domDoc check-in: 22a1a70a31 user: jeff@bovine.net tags: trunk
2011-03-30
16:17
as per email exchange with Richard Hipp on March 29th, 2011, we can move the license of his very old XML parsing code (from TMML) into public domain: " Call it public domain. Do whatever you like with it. (Just please remove my name from the comment.) " drh@sqlite.org check-in: 1968382659 user: jolo@osslab-jl.emea.hpqcorp.net tags: trunk
2009-11-10
20:49
See file. Leaf check-in: 3e8527de8c user: rolf tags: trunk, origin
20:47
Fix for possible DoS attack (see CVE-2009-3720) check-in: 156458f135 user: rolf tags: trunk, origin
2008-08-27
11:40
See file. check-in: 171f741ae8 user: rolf tags: trunk, origin
11:39
Added missing space in target pkgIndex.tcl-hand. Thanks to Gustaf Neumann for reporting the problem and providing a fix. check-in: f72751fb57 user: rolf tags: trunk, origin
2008-05-24
22:01
See file. check-in: b4d7122edf user: rolf tags: trunk, origin
21:59
The XPath function element-available() should, aroding to the rec, return true "if and only if the <argument> is the name of an instruction". That is, not for all known XSLT elements. check-in: eb05498afc user: rolf tags: trunk, origin
2008-03-04
21:04
See file. Leaf check-in: 1b5b7e10e4 user: rolf tags: tdom-0.8.3-postrelease, trunk
21:03
Added a few casts, to pacify picky compliers. check-in: 43b903a3b0 user: rolf tags: trunk
20:58
See file. check-in: 45cb0ea256 user: rolf tags: trunk
20:52
Added a cast, to pacify picky compliers. check-in: 33c186a204 user: rolf tags: trunk
20:35
See file. check-in: 5abde0c7a3 user: rolf tags: trunk
20:34
Editorial changes. check-in: ed2de2fd5c user: rolf tags: trunk
2007-12-25
23:19
See file. check-in: 88b105d155 user: rolf tags: trunk
23:18
Fixed a memory leak in case of --enable-threads. check-in: 96ee41816c user: rolf tags: trunk
2007-10-30
11:49
See file. check-in: 1a8b351623 user: rolf tags: trunk
01:05
See file. check-in: 804488f478 user: rolf tags: trunk
01:04
ID Attributes in HTML documents parsed with -html do what you expect: you find it with getElementById. check-in: 4ce79736e0 user: rolf tags: trunk
2007-10-29
19:10
See file. check-in: 6f35ae3850 user: rolf tags: trunk
19:07
Fixed documentation error in the documentation of the replaceChild method. check-in: 335a3354ed user: rolf tags: trunk
2007-10-08
16:23
See file. check-in: 9d006c9b12 user: rolf tags: trunk
16:23
Fixed handling of attributes without value. Now, an attribute without value gets the attribute name as value. check-in: d11d12aebe user: rolf tags: trunk
2007-10-04
17:48
See file. check-in: 0141ef9e02 user: rolf tags: trunk
17:48
Fixed test domDoc-1.2: Test was broken in case of locale != ISO-8859-1 (or -15). check-in: 7d6119c645 user: rolf tags: trunk
2007-10-03
11:16
See file. check-in: 68b613a1f1 user: rolf tags: trunk
11:16
makefile.vc generated a pkgIndex.tcl file, that didn't work in case of spaces in the install path. Thanks to Koen Danckaert. check-in: 030301a147 user: rolf tags: trunk
2007-09-27
23:19
See file. check-in: 220f9aa9b2 user: rolf tags: trunk
23:17
Added this files: Start of a benchmark suite. check-in: e327e2dd7b user: rolf tags: trunk
2007-09-24
23:36
See file. check-in: 3f97b142e5 user: rolf tags: trunk
23:35
Updated. (Thanks to Pat Thoyts.) check-in: 9fdf326a15 user: rolf tags: trunk
23:31
See file. check-in: cb867d5532 user: rolf tags: trunk
23:30
Fixes tnc building against uninstalled tdom (Thanks to Daniel A. Steffen.) check-in: a4268b4f7d user: rolf tags: trunk
2007-09-21
12:35
Bumped version number to 0.8.3. check-in: 0e9efad745 user: rolf tags: trunk
2007-08-23
16:35
See file. check-in: dd26df8a4e user: rolf tags: trunk
16:34
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). check-in: 5d08962991 user: rolf tags: trunk
16:33
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). Checked the code for similar spots and fixed a few. Replaced a fprintf(stderr, ..) called in an 'impossible' case with a more appropriate domPanic call. check-in: 7614ab937d user: rolf tags: trunk
2007-08-18
19:45
See file. check-in: 22f69747ad user: rolf tags: trunk
19:44
Code cleanup in document() implementation. check-in: beb97872f7 user: rolf tags: trunk
12:52
See file. check-in: 21ff9cd6fa user: rolf tags: trunk
12:51
More constification and clean up. check-in: a3bd6b4470 user: rolf tags: trunk
00:33
See file. check-in: c77a449cd1 user: rolf tags: trunk
00:33
Big const ification. check-in: d68baf7688 user: rolf tags: trunk
2007-08-15
21:49
Doh! It's still 2007-08-15! check-in: 9655a52fdc user: rolf tags: trunk
21:44
See file. check-in: bce8238427 user: rolf tags: trunk
21:42
New default build: --disable-tdomalloc. check-in: 1cc5318f8e user: rolf tags: trunk
21:40
See file. check-in: b13b9c529a user: rolf tags: trunk
21:40
New default build: --disable-tdomalloc. check-in: 984d64380a user: rolf tags: trunk
21:07
See file. check-in: 549783a376 user: rolf tags: trunk
21:06
Updated. check-in: fb0051746c user: rolf tags: trunk
21:05
See file. check-in: f8cf723db4 user: rolf tags: trunk
20:53
Bumped version to 0.8.3. check-in: 8e7e1eb103 user: rolf tags: trunk
2007-08-14
23:22
See file. check-in: 61c43e99fc user: rolf tags: trunk
23:22
Bumped version to 0.8.2 check-in: 4852addeb4 user: rolf tags: trunk
2007-08-12
11:55
See file. check-in: 205a9e2f16 user: rolf tags: trunk
11:55
Updated the asXML related parts of the doc and node cmd usage msg. Corrected a typo in the error msg in case of wrong # of args to asXML. check-in: f5076031ca user: rolf tags: trunk
11:30
See file. check-in: f273b0e834 user: rolf tags: trunk
11:29
Ensure that the new code build also with tcl8.0.x (although that old versions doesn't have extension stubs tables.) check-in: addc00e739 user: rolf tags: trunk
2007-08-11
23:11
See file. check-in: a7cde3fcae user: rolf tags: trunk
23:10
Tweaks to build tnc with win/msys/mingw. check-in: 93fa66332f user: rolf tags: trunk
23:08
Removed irritating breaks in TDOM_PATH_CONFIG. check-in: 084ad3d90a user: rolf tags: trunk
22:20
See file. check-in: 35882199d9 user: rolf tags: trunk
22:20
Editorial fix. check-in: fcd1946f1b user: rolf tags: trunk
22:15
See file. check-in: 0d808b808a user: rolf tags: trunk
22:15
Rewritten from the scratch. check-in: 3af502623e user: rolf tags: trunk
00:39
See file. check-in: 2b38339d0a user: rolf tags: trunk
00:39
Code cosmetic. check-in: 8257fa162c user: rolf tags: trunk
00:12
See file. check-in: 144a742fb9 user: rolf tags: trunk
00:04
See file. check-in: 576601d1ab user: rolf tags: trunk
00:04
Updated error msg in case of wrong # of args to the asXML method to the new added option -escapeAllQuot. check-in: 1b47625393 user: rolf tags: trunk
00:01
See file. check-in: 0f03f9df2d user: rolf tags: trunk
00:00
Fixed build problem with the build environment win/msys/mingw. check-in: cd06b33d20 user: rolf tags: trunk
2007-08-10
22:46
See file. check-in: a40a203b67 user: rolf tags: trunk
22:46
Fixed editorial mistake in comment. check-in: f20f436aeb user: rolf tags: trunk
22:40
See file. check-in: bddfeb7bfb user: rolf tags: trunk
22:38
Rewritten from the scratch. check-in: 097560b234 user: rolf tags: trunk
2007-08-08
15:52
See file. check-in: 3e3cd4f70e user: rolf tags: trunk
15:52
Another change needed, to complete the new type of domDoc->documentNumber. check-in: 44a3ae9ffd user: rolf tags: trunk
2007-08-07
20:32
See file. check-in: b3fe57ee36 user: rolf tags: trunk
20:32
See file. check-in: 59d99d938e user: rolf tags: trunk
20:32
Correction for 64 bit systems. check-in: ef534410d7 user: rolf tags: trunk
20:12
See file. check-in: 5754fc9ae9 user: rolf tags: trunk
20:10
Changed domDoc->documentNumber, domUniqueNodeNr and domUniqueDocNr to unsigned long, to prevent hard to debug / reproduce problems on 64 systems. check-in: 47be960351 user: rolf tags: trunk
19:59
Don't use precompiled headers. check-in: 8d89644b7b user: rolf tags: trunk
18:09
See file. check-in: 9dc5b2a8c3 user: rolf tags: trunk
18:09
Brought in sync with tdom core. check-in: 37a883998f user: rolf tags: trunk
17:54
See file. check-in: 6f42ee9aa9 user: rolf tags: trunk
17:54
Compiler pacifying. check-in: 6bb6d68fde user: rolf tags: trunk
17:27
Editorial correction. check-in: 4648b6e894 user: rolf tags: trunk
17:26
See file. check-in: 0960c6afa1 user: rolf tags: trunk
17:26
Fixed a wrong function signature. check-in: 3ca432a232 user: rolf tags: trunk
17:25
Made the compiler happy. check-in: e2883d0b25 user: rolf tags: trunk
00:06
Corrected typo. check-in: 6e8a4fd524 user: rolf tags: trunk
2007-08-06
23:56
See file. check-in: 51e46e37b0 user: rolf tags: trunk
23:55
Still problems on 64bit /w -externalentitycommand. This health the biggest pain. check-in: 577fa61eff user: rolf tags: trunk
23:55
Corrected an error msg. check-in: 73bf9fdbb0 user: rolf tags: trunk
2007-08-05
19:34
See file. check-in: 7e56787f3d user: rolf tags: trunk
19:33
Bumped version to 0.8.2. Missed that in 0.8.2rc1 check-in: 42acc3a56c user: rolf tags: trunk
18:51
See file. check-in: aa8aed96e3 user: rolf tags: trunk
18:47
Bumped version to 0.8.2. check-in: ed3492aa0b user: rolf tags: trunk
18:09
See file. check-in: f5a6c26e8e user: rolf tags: trunk
17:53
See file. check-in: cb17e14a8d user: rolf tags: trunk
17:52
Casted arg of ctype.h is* macros/function calles to unsigned char to reduce compiler warning noise. check-in: 523049bfc6 user: rolf tags: trunk
17:27
In case of asXML with indentation: indent XML comments as well. check-in: afb7224400 user: rolf tags: trunk
17:04
See file. check-in: eb764ed238 user: rolf tags: trunk
17:04
Added documentation to the new variable references feature of the selectNodes method, for the deleteXPathCache method and the -escapeAllQuot option of the asXML method. check-in: 06328981a1 user: rolf tags: trunk
16:52
See file. check-in: 35cc194bda user: rolf tags: trunk
16:52
Fixed a mem leak introduced by deleteXPathCache. Added option -escapeAllQuot to the asXML method. check-in: 6f8271b479 user: rolf tags: trunk
02:12
See file. check-in: ce2548d4aa user: rolf tags: trunk
02:11
Added method deleteXPathCache: basic control over the xpath expression cache. check-in: 4ff79014b6 user: rolf tags: trunk
01:17
See file. check-in: 12a65f6735 user: rolf tags: trunk
01:15
Variable references (at the places allowed by the XPath syntax) will now be resoved as Tcl variables, relative to the scope of the expression. Ignoring the XPath syntax rules at this point, any valid Tcl variable name will work. check-in: 3843d517af user: rolf tags: trunk
2007-08-02
23:44
See file. check-in: b13684706a user: rolf tags: trunk
23:43
Added doc method renameNode, without XML namespace awareness. There will be a final (XML namespace aware) method implementation after 0.8.2, therefore, this will slip in as hidden or 'unsupported' and at least undocumented method. check-in: 5f42d91a2e user: rolf tags: trunk
2007-07-31
00:58
See file. check-in: a475d9f6c2 user: rolf tags: trunk
00:57
Bug fix: floats in xpath expressions starting with . could have an additional (erroneous) dot in it without detection. check-in: 2d062126ae user: rolf tags: trunk
00:25
See file. check-in: 07090a77a3 user: rolf tags: trunk
00:23
Update to expat 2.0.1; minor build cosmetic. check-in: 8ef882fd3e user: rolf tags: trunk
00:16
Update to expat 2.0.1; minor build cosmetic. check-in: 5658159fd7 user: rolf tags: trunk
2007-07-26
23:52
See file. check-in: dd449f00e1 user: rolf tags: trunk
23:51
Updated to TEA 3.6. Rebuild configure. check-in: 14aa2aca24 user: rolf tags: trunk
23:46
See file. check-in: 7799570581 user: rolf tags: trunk
23:44
Updated to TEA 3.6. Rebuild configure. check-in: 23a07048b3 user: rolf tags: trunk
2007-07-25
15:28
Editorial change to the entry 2007-07-23. check-in: fd547f1d52 user: rolf tags: trunk
15:27
See file. check-in: 0af172693d user: rolf tags: trunk
15:27
Fix for the -externalentitycommand problems on (some) 64-bit plattforms. check-in: 65346f35d7 user: rolf tags: trunk
12:12
See file. check-in: ecdd09eca5 user: rolf tags: trunk
12:12
Added a few tests related to white-space in XPath expressions. check-in: fb68977404 user: rolf tags: trunk
2007-07-22
23:50
See file. check-in: fbfe73de5f user: rolf tags: trunk
23:45
Fix for problem reported by http://tech.groups.yahoo.com/group/tdom/message/1666 check-in: bf1ece8716 user: rolf tags: trunk
2007-04-19
10:57
Entry 2007-04-18: I changed the doc/domDoc.* files, not the domNode.* ones. check-in: b536ac904b user: rolf tags: trunk
2007-04-18
00:03
See file. check-in: 12afacb38d user: rolf tags: trunk
00:02
Emendation. check-in: b56663a551 user: rolf tags: trunk
2007-03-02
23:44
See file. check-in: 5c41729798 user: rolf tags: trunk
23:43
Fixed (at least for most of the cases) bug in test target, in case the user builds in a dir elsewhere. check-in: 4459974038 user: rolf tags: trunk
2007-02-06
00:18
See file. check-in: c38607bb3d user: rolf tags: trunk
2007-02-04
19:55
See file. check-in: cf32e1aa7c user: rolf tags: trunk
19:54
Fixed bug in xsl:fallback handling. check-in: 7c656e1620 user: rolf tags: trunk
19:45
See file. check-in: 45bcc639c6 user: rolf tags: trunk
19:44
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and a pointer to that to README. check-in: 57121ebec7 user: rolf tags: trunk
19:43
Fixed the loading of the tDOM scripted library in case of run with tcldomsh. check-in: 8a6220e665 user: rolf tags: trunk
19:40
Minor editorial changes. check-in: 8ef295c71f user: rolf tags: trunk
19:36
Modified the tdom.m4 configure macros to use the current documentation style of TEA in case of configure --help. Fixed a bug in the TDOM_ENABLE_DTD. Re-generated configure and tnc configure. Added some explanations about the tDOM specific configure options to unix/CONFIG and an pointer to that to README. check-in: 2758739247 user: rolf tags: trunk
2007-02-02
15:22
See file. check-in: 33f0ef70e3 user: rolf tags: trunk
15:21
Corrected spelling error in tdom.m4, re-generatedconfigure. Thanks to Larry Virden for reporting. check-in: 128d38605b user: rolf tags: trunk
2007-01-16
00:16
See file. check-in: 5bcce284e1 user: rolf tags: trunk
00:16
The build tool combination TEA/cygwin/VC++ needs a crude hack. check-in: 4ece8812d4 user: rolf tags: trunk
2007-01-10
19:05
See file. check-in: 122a61e08b user: rolf tags: trunk
19:04
Now uses @PKG_LIB_FILE@ for the dll name. check-in: 4239e87aa6 user: rolf tags: trunk
18:15
See file. check-in: 320e611268 user: rolf tags: trunk
18:15
Fixed the name of the shared lib. check-in: fc23a77adf user: rolf tags: trunk
18:14
Don't call target install-doc while installing - the tnc doc is in the top level doc dir. check-in: 12288e9463 user: rolf tags: trunk
18:13
More corrections: Did not install the tDOM stubs library. Minor other corrections related to distclean. Again thanks to Andreas Kupries. check-in: 4d9e87bcdb user: rolf tags: trunk
2007-01-09
17:58
See file. check-in: 8e6c3338b3 user: rolf tags: trunk
17:58
Did not install tdomConfig.sh anymore, which causes trouble building tDOM extensions (including tnc). Thanks to Andreas Kupries for reporting the problem with analysis. check-in: 7de609e50c user: rolf tags: trunk
2007-01-05
13:36
See file. check-in: b94c45eca0 user: rolf tags: trunk
13:35
In XPath expressions: Whitespace between the abbreviated attribute axis specifier @ and the attribute name is allowed. check-in: cdce3c4ffa user: rolf tags: trunk
2006-11-22
16:40
See file. check-in: 8c536c37f9 user: rolf tags: trunk
16:40
Normalize case of attribute also (not only elements). Accept space on both sides of the = of attribute values. check-in: 749a4d3019 user: rolf tags: trunk
2006-11-08
00:20
See file. check-in: f5a107046d user: rolf tags: trunk
00:19
Fixed seg fault in XPath expr parser for a certain kind of erroneous XPath expressions. check-in: 7a36c0d787 user: rolf tags: trunk
2006-08-27
21:47
See file. check-in: d6b799ebb3 user: rolf tags: trunk
21:12
Updated the TEA build system to 3.5. check-in: 034a85acb8 user: rolf tags: trunk
2006-05-24
11:32
See file. check-in: 1cbe237abe user: rolf tags: trunk
11:32
Fix of the isQName method: Strings with valid prefix and non-NCNameStart char as first char after the ':' wasn't detected as invalid QName. check-in: 4333e15e90 user: rolf tags: trunk
2006-01-08
00:26
See file. check-in: 0550334acc user: rolf tags: trunk
00:26
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: 8f42a7da8b user: rolf tags: trunk
2006-01-07
23:58
See file. check-in: 602ea7d933 user: rolf tags: trunk
23:57
Fixed a rounding bug of format-number() (http://groups.yahoo.com/group/tdom/message/1217). check-in: a9884cb919 user: rolf tags: trunk
2006-01-06
13:20
Fixed typo in the last changes. check-in: e1e4c2c5f7 user: rolf tags: trunk
13:20
See file. check-in: 164a674cb0 user: rolf tags: trunk
01:57
Fixed markup errors. check-in: 9c95e09217 user: rolf tags: trunk
2005-12-10
21:10
See file. check-in: ef90570e5a user: rolf tags: trunk
21:09
Fixed bug in namespace handling in xsl:copy-of. check-in: d3f39e0552 user: rolf tags: trunk
2005-12-03
13:14
See file. check-in: 5176d9984b user: rolf tags: trunk
13:14
Added a test for the special handling of the content of script/style tags in case of asHTML. check-in: 7064f907ba user: rolf tags: trunk
13:12
Fix of the cloneNode method: if the node to clone (or, in case of -deep, a node within the subtree to clone) had a namespace declaration attribute then the result was wrong. check-in: 748bc149ec user: rolf tags: trunk
2005-10-19
19:15
See file. check-in: 978789845b user: rolf tags: trunk
19:14
Fixed string-length() and substring() to work on chars, as they should, not on bytes. check-in: a4a5e6d71a user: rolf tags: trunk
2005-09-27
16:43
See file. check-in: db14336200 user: rolf tags: trunk
16:43
Added a test case, reported by Richard Suchenwirth, which crashes 0.8.0, but raises error with current cvs head, without any mem problems. check-in: fdb76e5535 user: rolf tags: trunk
2005-09-24
16:52
See file. check-in: 9a6bd2ff4a user: rolf tags: trunk
16:51
Doh! The code detected ill grouping-size values and set errMsg accordingly, but didn't propagate the error. Fixed. Do memory cleanup after detecting wrong xsl:number level attribute value. Fixed memory leak in case of incorrect xslt attributes of included or imported xsl:stylesheet elements. Fixed memory leak in case of syntactically wrong xsl:key use attribute XPath expression. Fixed memory leak in case of toplevel parameter or variables which are syntactically incorrect, because they have both a select attribute and content. check-in: ca646d6601 user: rolf tags: trunk
2005-09-20
10:44
Corrected wording of last check in comment. check-in: 53b65a7af4 user: rolf tags: trunk
2005-09-18
23:43
See file. check-in: 7598616ca8 user: rolf tags: trunk
23:42
Improved detection/reporting of XPath syntax errors. Fixed two memory leaks in the XPath parser in case of kind of erroneous XPath expressions. check-in: 8cf25a61b6 user: rolf tags: trunk
2005-09-17
00:35
Removed baseless claim in last check-in comment: The corrected id() error raising case was the last one of wrong runtime errors. The other XPath expression errors, with are still in fact run time detected errors could be catched, at least in theory, at expr 'compilation' time. check-in: f0b804376d user: rolf tags: trunk
00:18
See file. check-in: 16be01fc8a user: rolf tags: trunk
00:18
id() on an empty node set should return an empty string, according to the rec, not raise an error, as it did up to now. Fixed a memory leak in concat() in the case of xpath expressions as arguments, which raise error. Normally, XPath expressions doens't raise error at all; that's how XPath is designed. That is unfortunately not completely true with current tDOM, because of a few buggy returns in the tDOM XPath function implementations (to be fixed quickly), because, tDOM doesn't do an as rigoros as possible argument check at XPath expression parsing time (that will change) and because of user defined XPath extension functions. check-in: 88f05466f1 user: rolf tags: trunk
2005-09-16
00:25
See file. check-in: 535084eb59 user: rolf tags: trunk
00:25
Fixed memory fault in case of external documents resolved based on the base URI of a node of the source element. check-in: 3c56644148 user: rolf tags: trunk
2005-09-12
22:12
See file. check-in: 32234129ee user: rolf tags: trunk
22:11
Bug fix: The namespace axis will be emtpy unless the context node is an element. check-in: 5d5240f9ee user: rolf tags: trunk
22:08
See file. check-in: 270ec05e2b user: rolf tags: trunk
22:07
Improvement of the build system. Now works also with the tool combination cygwin/TEA/VC++. Thanks to Andreas Kupries for his patch. check-in: 08094ff26d user: rolf tags: trunk
2005-08-25
23:05
Spelling correction of the last check-in. check-in: 4481b1b0f7 user: rolf tags: trunk
23:00
See file. check-in: cc2e897e70 user: rolf tags: trunk
22:59
Removed tests about mt-ness of tclsh/tdom, due to popular demand. Mt compiled tDOM now will load into non-mt tclsh, as will a non-mt compiled tDOM into a mt tclsh. NOTES: Using a non-mt tDOM within only one thread of a mt tclsh should work just fine. But never ever use a non-mt tDOM in several threads of a mt tclsh. That may crash randomly. Use, how surprising, an mt-enabled tDOM for that. This will work fine. Using a mt aware tDOM within a non-tm tclsh is little bit slower and memory demanding. It will also have a few methods, that are superfluous with the non-tm tcl context. It should always work, but for best results use a non-mt tDOM with non-mt tclsh. check-in: 1871fb2c18 user: rolf tags: trunk
2005-08-20
01:33
See file. check-in: 832f1a9aa5 user: rolf tags: trunk
01:33
Bug fix: Use domPreviousSibling() in xsltNumber() to prevent erroneous results, if attribute nodes are involved in the numbering. check-in: 008cee2391 user: rolf tags: trunk
01:31
Added function domPreviousSibling(). check-in: 234b84b7bd user: rolf tags: trunk
2005-06-10
00:38
See file. check-in: 00d8864765 user: rolf tags: trunk
00:36
Added a few tests. check-in: beff6b3d33 user: rolf tags: trunk
00:33
Added test, to document handling of white space outside the document element even in case of -keepEmpties (it's markup white space and will be removed). check-in: dcd1541d6c user: rolf tags: trunk
00:21
Removed unused variable. check-in: 82165d42d4 user: rolf tags: trunk
00:21
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. Closed memory leak in case of not well-formed input to the simple or html parser. check-in: 2d252a117c user: rolf tags: trunk
00:20
Internal dispersion: Cleaned up rootNode/toplevel nodes connection, added new function domSetDocumentElement. check-in: 7988ebf1b0 user: rolf tags: trunk
2005-05-13
00:44
Fixed typo in last entry. check-in: 59269725bf user: rolf tags: trunk
00:43
See file. check-in: 3cebcfa5e3 user: rolf tags: trunk
00:28
Fixed seg fault is case of some garbage input. check-in: b07dff03b4 user: rolf tags: trunk
2005-05-12
17:11
See file. check-in: 376696646f user: rolf tags: trunk
17:11
Fix: domNode nodeValue $newValue didn't check the newValue for being valid pcdata. check-in: 0a6e18b84c user: rolf tags: trunk
2005-05-02
13:20
See file. check-in: 13bf90cb4c user: rolf tags: trunk
13:18
Bug fix: expat parser method parsechannel didn't (depending on the encoding of the channel) reported parsing errors. check-in: 71c78179db user: rolf tags: trunk
2005-04-11
12:21
Use @AR@, as in TEA 3.2. check-in: 2d9aa51942 user: rolf tags: trunk
02:02
See file. check-in: 4c23538244 user: rolf tags: trunk
02:01
Updated. check-in: cb109fbb35 user: rolf tags: trunk
02:00
Deleted. check-in: b57d4ce2ca user: rolf tags: trunk
01:43
Updated to request tdom 0.8.1. check-in: 20871bd940 user: rolf tags: trunk
01:39
Updated to use TEA 3.2. Thanks to Daniel A. Steffen and Andreas Kupries for input. check-in: 707f0d9f50 user: rolf tags: trunk
2005-04-04
19:04
See file. check-in: 7bde8b1c6c user: rolf tags: trunk
19:03
Removed last comma in enum XML_Status declaration, to prevent compiler errors (xlc on AIX 64). (Current expat CVS head has the same fix.) check-in: d05ccff18b user: rolf tags: trunk
2005-03-26
14:08
See file. check-in: 302d4d8619 user: rolf tags: trunk
14:07
Changes, to prepare adding of node creating cmds, which creates namespace aware nodes. check-in: 18537ed52a user: rolf tags: trunk
14:07
Removed (anyway not correctly working) work-around to set parent of the childs of doc->root (problem now correctly fixed by changes in dom.c). check-in: 61ee883ba8 user: rolf tags: trunk
14:06
Fix in domAppendNewElementNode(), domAppendLiteralNode() and domAppendNewTextNode(): if the created node is a child of doc->root, set the parentNode according. check-in: b97cb015ce user: rolf tags: trunk
2005-03-21
01:10
Fixed spelling error in last entry. check-in: 09d39d9d79 user: rolf tags: trunk
01:08
See file. check-in: 65f6c924cf user: rolf tags: trunk
01:08
Fixed flawed test, which slipped throu, somehow. check-in: 96d301a67f user: rolf tags: trunk
2005-03-18
02:17
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: aa91d3c654 user: rolf tags: trunk
02:16
See file. check-in: f5786b685b user: rolf tags: trunk
02:16
Added document method selectNodesNamespaces, to provide a document global XPath prefix/namespace mapping. check-in: b34752dead user: rolf tags: trunk
2005-03-13
01:07
Grrr. And the date was also wrong. check-in: 6112c381b8 user: rolf tags: trunk
01:07
Fixed an mistake in the last check-in: the changed file was xslt.text, not xpath.test. check-in: e1dbfb7887 user: rolf tags: trunk
01:06
See file. check-in: f25a93872c user: rolf tags: trunk
01:06
Added two tests about two subtleties of the XPath syntax: white space between the $ and a varname are not allowed, while white space between the braces of node() is allowed. check-in: 0240a04ee8 user: rolf tags: trunk
00:48
Fixed mess created by using two different check outs and commiting from both without syncing. check-in: 7c9d524443 user: rolf tags: trunk
2005-03-11
18:16
Using of a node creating command outside of node context after that node creating command was already used in node context didn't raised error (as it should) but could have all kinds of effects (including seg fault). check-in: 4d169116f2 user: rolf tags: trunk
2005-02-26
13:25
See file. check-in: 65002a1a5a user: rolf tags: trunk
13:25
Fix for MT-enabled tDOM: If a doc was attached to more than one thread, nodeCmd creation was borken (only one thread got a nodeCmd for a given node). check-in: eff67db5ef user: rolf tags: trunk
2005-02-03
18:44
See file. check-in: 5cff7b495c user: rolf tags: trunk
18:35
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Added documentation for the domDoc method internalSubset. check-in: 68ef504f34 user: rolf tags: trunk
18:27
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: 6fb1633bd7 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. Bug fix: current() did not work in xsl:key use expressions. Moved setting of xs->current from all about the place into evalXPath. A bit code massage, to avoid bogus compiler warning. check-in: 28b1d4af23 user: rolf tags: trunk
18:21
Added support for xsl:output cdata-section-elements attribute. Added method cdataSectionElements to domDocs, as tcl interface to cdata-section-elements. check-in: affe666ca5 user: rolf tags: trunk
17:45
Editorial changes. check-in: 82f23225b0 user: rolf tags: trunk
2005-02-02
08:58
See file. check-in: b81a5dbb42 user: rolf tags: trunk
08:58
Updated to provide the new defines PACKAGE_NAME and PACKAGE_VERSION introduced by the update to TEA-3 support. check-in: 66d1f50c2d user: rolf tags: trunk
2005-01-18
23:55
See file. check-in: 7a22ab6b87 user: rolf tags: trunk
23:44
Renamed exported symbols attrNames and tagNames to tdom_attrNames and tdom_tagNames, to avoid name clash. tartDoctypeDeclHandler() and endDoctypeDeclHandler(): added missing static. check-in: 2ac9019f04 user: rolf tags: trunk
2005-01-16
12:05
Updated file. check-in: cf70bc0c97 user: zv tags: trunk
11:59
Added example how to build tDOM as module for AOLserver 4.x check-in: 1e3e501ba4 user: zv tags: trunk
11:59
Added TEA-3 support check-in: 6b8ed8381a user: zv tags: trunk
11:57
Uses PACKAGE_NAME and PACKAGE_VERSION instead of hard-coded strings check-in: 15c12b1b44 user: zv tags: trunk
11:57
Honours virtual servers in 4.x AOLserver check-in: 0980d4a5ef user: zv tags: trunk
11:56
Loads 0.8.1 for testing check-in: 97e5ceb43e user: zv tags: trunk
11:56
Added new TEA-3 build check-in: 2707d1eae6 user: zv tags: trunk
11:55
Bumped version to 0.8.1 check-in: 9b10717c76 user: zv tags: trunk
2005-01-11
18:00
See file. check-in: 8bd27969e0 user: rolf tags: trunk
17:59
Added documentation for the -cache option of the selectNodes method. check-in: 6f917aad90 user: rolf tags: trunk
16:02
Corrected indentation of the last few entries. check-in: 160537cb14 user: rolf tags: trunk
16:00
See file. check-in: f55a568a01 user: rolf tags: trunk
15:57
Scripted xpath function element-available: moved xsl:output to the avaliable elements, since it's in fact avaliable in the meantime (with exception of the 'version' and 'cdata-section-elements' attributes) - the output options could be queried from the result doc, but it's the responsibility of the application, to serialize the tree according to that settings. check-in: 3955ed2be7 user: rolf tags: trunk
2005-01-10
20:44
See file. check-in: 5d369f1836 user: rolf tags: trunk
20:43
Corrected typo. check-in: 3299c813f6 user: rolf tags: trunk
19:09
See file. check-in: cec75cf5d0 user: rolf tags: trunk
19:07
Fixed a leftover reference to embedded hash table in domDocument struct. check-in: 2a90ec4f84 user: rolf tags: trunk
02:13
See file. check-in: 219425fc7b user: rolf tags: trunk
02:11
Don't embed Tcl_HashTables into dom Docs, use pointers to the hash table. Added -cache option to the selectNodes method. check-in: 1bc3712dbc user: rolf tags: trunk
2005-01-07
15:16
See file. check-in: b672d05e22 user: rolf tags: trunk
15:16
Added this files. Thanks to Pat Thoyts for contribution. check-in: 0d4188b820 user: rolf tags: trunk
15:14
Improved VC++ compiler makefile. Thanks to Pat Thoyts for contribution. check-in: 1dc6acc00d user: rolf tags: trunk
15:08
Clean up, to decrease (innocuous) compiler warnings (thanks to Pat Thoyts for triggering input and patch). check-in: 557cc56ed2 user: rolf tags: trunk
2005-01-06
19:25
See file. check-in: 58221ebd8f user: rolf tags: trunk
19:24
Noted, that if the list bind the same prefix to different namespaces, then the first binding will win. check-in: 687db99f29 user: rolf tags: trunk
19:22
Added methods transform and delete to xsltCmds. check-in: 272d1209c5 user: rolf tags: trunk
19:21
Added some 'selectNodes -namespaces' tests. check-in: dfe76f6946 user: rolf tags: trunk
19:20
Handle multiple -namespaces option to selectNodes method. Added methods transform and delete to xsltCmds. Ensure, that documents created with the [dom createDocument* methods] are created as docCmds in case of 'auto' creation mode. check-in: 66fc252099 user: rolf tags: trunk
18:21
See file. check-in: cab4e74d39 user: rolf tags: trunk
18:21
Added a few tests: related to createNodeCmd (dom), node text method (domNode), chancing callback from within a callback (element, parser) and catching of recursive xsl include/import (xslt). check-in: 330a5b833e user: rolf tags: trunk
2004-12-21
12:52
See file. check-in: b1a6b651ae user: rolf tags: trunk
12:51
xsl:key with match expressions, which matches attributes, did not work. Prevent, that a stylesheet import/include itself. Editorial changes. check-in: a741ba098f user: rolf tags: trunk
02:13
See file. check-in: fd1ada9540 user: rolf tags: trunk
02:12
domAppendNewElementNode(): Set the namespace of a per xslt transformation generated node wrong under certain circumstances. This fixes http://groups.yahoo.com/group/tdom/message/1008. Removed leftover (former local used) define TNODE. check-in: 2c65ed39b6 user: rolf tags: trunk
2004-12-12
16:09
See file. check-in: ac54b13067 user: rolf tags: trunk
16:09
xpath expressions ancestor-or-self::node() and parent::node() returned wrong result if the context node is /. check-in: 5fecb1d987 user: rolf tags: trunk
2004-12-10
18:58
See file. check-in: 472f3f4e8f user: rolf tags: trunk
18:56
Don't allow the methods parse, parsechannel, parsefile, free and reset from within a callback of the parser be used but raise a tcl error. check-in: a3f7814234 user: rolf tags: trunk
2004-10-26
01:07
See file. check-in: ffcfdc3866 user: rolf tags: trunk
01:06
Added documentation for the '-namespaces' option of the selectNodes method. check-in: 61c0ee194f user: rolf tags: trunk
01:05
Added a note to the -externalentitycommand option of the parse method, that the programmer is responsible for closing the channel, if the resolver script returns a channel. check-in: 8c5b6c1329 user: rolf tags: trunk
2004-10-22
16:55
Fixed typo. check-in: da2d774c77 user: rolf tags: trunk
2004-09-29
12:18
See file. check-in: 0c5aedde96 user: rolf tags: trunk
12:18
First [load] the lib, which has [package provide tdom], so that a [package require tdom] within the script lib doesn't loop. check-in: 057873f79a user: rolf tags: trunk
11:41
See file. check-in: 0dbc5d3fd5 user: rolf tags: trunk
11:41
Added the with 0.8 added doc methods to the doc_usage. check-in: b15c8c65bb user: rolf tags: trunk
2004-09-21
01:46
See file. check-in: a008835f13 user: rolf tags: trunk
01:43
Added the '-namespaces' option to the selectNdoes method. Not resolved namespace prefixes within the xpath expression now raises an error. *** POTENTIAL INCOMPATIBILITY *** check-in: b08cb7d224 user: rolf tags: trunk
01:06
Add documentation for 'selectNodes' option. check-in: b0902bcbc3 user: rolf tags: trunk
2004-09-13
17:29
See file. check-in: b4607b15a8 user: rolf tags: trunk
17:29
Corrected a typo in an error msg. check-in: 7a9fd4dba5 user: rolf tags: trunk
2004-09-08
03:12
See file. check-in: cdabc49f0a user: rolf tags: trunk
03:12
Editorial changes. check-in: df3edb8558 user: rolf tags: trunk
2004-09-02
17:08
See file. check-in: 152b5c5f6b user: rolf tags: trunk
17:07
toXPath method: fixed bug with non-element top level nodes, closed mem leak. check-in: e5074c2f5d user: rolf tags: trunk
2004-08-31
01:56
Regenerated with current tmml HEAD, to change encoding from utf-8 to iso-8859-1. check-in: 407398a157 user: rolf tags: trunk
2004-08-23
13:03
See file. check-in: 43b8613180 user: rolf tags: trunk
13:01
Corrected typos (thanks to G. Neumann). check-in: 31fa51d7d6 user: rolf tags: trunk
2004-08-21
03:27
See file. check-in: 34f04803c7 user: rolf tags: trunk
03:23
Update to expat 1.95.8. check-in: 413ab3d861 user: rolf tags: trunk
2004-08-19
01:06
See file. check-in: 3d08e75435 user: rolf tags: trunk
01:06
Made tDOM work out of the box on 64-bit systems like Itanium 2 (though --disable-tdomalloc configure option at build time is still needed). check-in: c69e6f98cd user: rolf tags: trunk
2004-08-17
19:54
Fixed rolfs mail address for the last few entries. check-in: 12b7b3da93 user: rolf tags: trunk
19:53
See file. check-in: 50ccd5b249 user: rolf tags: trunk
19:52
Added fluff, to fix build problemx on AIX w/ xlc compiler. check-in: 0d0da079bd user: rolf tags: trunk
19:37
Removed unused variables. check-in: c55ee6bc39 user: rolf tags: trunk
2004-08-16
03:18
See file. check-in: 199df0f142 user: rolf tags: trunk
03:13
See file. check-in: e4e93d50ef user: rolf tags: trunk
03:12
Pass external entity resolver script around in string representation, (insteand of Tcl_Obj), to avoid problems with mt builds. check-in: fe5093d90c user: rolf tags: trunk
2004-08-14
14:42
Use 'Id' cvs keyword (instead of 'Header') in the file heads. check-in: 53f68b654a user: rolf tags: trunk
2004-08-11
15:21
Use Id not Header cvs keyword in the file heads. check-in: e933944ab5 user: rolf tags: trunk
02:16
See file check-in: 886900dcec user: rolf tags: trunk
00:56
Corrected a spelling mistake check-in: d656833f9d user: rolf tags: trunk
2004-08-10
19:49
Link against tDOM 0.8.0. check-in: 6c1d396a77 user: rolf tags: trunk
2004-07-28
19:29
See file. check-in: 47da660a54 user: rolf tags: trunk
18:50
[namespace export] the public procs in ::tDOM. Added a few more encodings to IANAEncoding2TclEncoding. check-in: cb6c094a97 user: rolf tags: trunk
17:22
Changed test according to the changed wording of the error msg in case of wrong mode arg to setObjectCommands. check-in: 8df6514f41 user: rolf tags: trunk
03:57
See file. check-in: 244b7c26a2 user: rolf tags: trunk
03:56
See file. check-in: 6809a487d0 user: rolf tags: trunk
03:52
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Better error msg in case of 'filename' and not valid file name. check-in: a62f1de836 user: rolf tags: trunk
03:49
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. New method createDocumentNode. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. Improved speed of the getAttribute shortcut '@attname' (and, not so notable, of tcl coded methods of the dom, domDoc and domNode cmds). Corrected typo in domNode usage msg for getElementByID. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes). check-in: 76c8406dfe user: rolf tags: trunk
03:48
New (experimental) method setObjectCommands. check-in: 507cb84752 user: rolf tags: trunk
03:46
New (experimental) method setObjectCommands. Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 63ec828117 user: rolf tags: trunk
03:44
More tests for script errors in external entity handler or errors in the requested external entities. check-in: a40d2d0cf8 user: rolf tags: trunk
03:43
Documented behaviour in case of using (senseless, wrong) 'xslt variable' in selectNode exprs. check-in: 0f334692af user: rolf tags: trunk
03:42
Better error msg in case of 'filename' and not valid file name. check-in: 38246a9641 user: rolf tags: trunk
03:41
Reworked internal base URI handling, to fix a bug of the old approach and to be closer to (though not fully support) what DOM 3 say about base URI handling. Improved error msg for getAttribute, if attribute is not found. Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes) check-in: 09c30b9758 user: rolf tags: trunk
03:39
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild, hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: 497d487e77 user: rolf tags: trunk
03:37
New (experimental) method setObjectCommands. New method createDocumentNode. check-in: d5e3779d2c user: rolf tags: trunk
03:35
Changed behavior of getElementByID: if no element with the given id is found, returns now the emtpy string, not a TCL_ERROR (more close to DOM rec, getElementByID never raise an exception). Bug fix: nodeName now returns the per DOM rec correct values for comment and cdata section nodes (were as yet reported as if they where text nodes).Corrected appendChild, insertBefore, replaceChild: the new child must not be out of the fragment node, but could be a node out of the tree, check-in: af1c407048 user: rolf tags: trunk
03:31
Added methods nodeType, getElementById, firstChild, lastChild, appendChild, removeChild,hasChildNodes, childNodes, ownerDocument, insertBefore, replaceChild, appendFromList, appendXML, selectNodes, baseURI, appendFromScript and insertBeforeFromScript to dom docs. Beside other things, this allows much easier handling of top level nodes. The result tree may not be an XML document, but a general parsed entity. check-in: b1f887f36f user: rolf tags: trunk
03:29
New (experimental) method setObjectCommands.New method createDocumentNode. check-in: f508d3015b user: rolf tags: trunk
2004-07-19
03:21
See file. check-in: 8302869bfd user: rolf tags: trunk
03:21
Better error msg in case of XML parsing errors in external entities. check-in: 26b90837e9 user: rolf tags: trunk
03:20
Bug fix: Check, if refnode given to insertBeforeFromScript is valid. check-in: d3a5b99bfd user: rolf tags: trunk
2004-07-13
03:33
See file. check-in: 75bce633fc user: rolf tags: trunk
03:32
Ensure, that the first element node of the result tree is the documentElement of the generated document. check-in: 85260eca80 user: rolf tags: trunk
03:28
See file. check-in: 5d0e3a4fc4 user: rolf tags: trunk
03:27
Empty CDATA sections should not create a node. check-in: 3c4659e86a user: rolf tags: trunk
2004-07-09
01:16
See file. check-in: 82e6cb11bf user: rolf tags: trunk
01:15
Test, if a non-mt tDOM is tried to load into a mt tclsh. check-in: 6aef2fc4a9 user: rolf tags: trunk
2004-05-26
14:41
Remove it check-in: 7a9789ba15 user: rolf tags: trunk
01:56
See file. check-in: d5704fb73e user: rolf tags: trunk
01:56
See file. check-in: f356b88094 user: rolf tags: trunk
01:51
Minor changes. check-in: 306c383ae9 user: rolf tags: trunk
01:50
Added this file. check-in: 400ba86a48 user: rolf tags: trunk
01:49
Minor editorial changes. check-in: 3dfa6b9f59 user: rolf tags: trunk
01:49
Uses the new domIsComment, domIsPINAME and domIsPIValue API functions of dom.c. Improved xsl:processing-instruction processing (now instantiating the content). check-in: ef7e89aa78 user: rolf tags: trunk
01:47
Added isPIName, isComment, isCDATA and isPIValue method to the dom command. Created new global (thread wide) flags for name and value checks (Names and FQ Names (element, attribute and processing instruction names), text nodes, comments, CDATA sections and processing instruction values). New methods setNameCheck and setTextCheck to control this flags.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23:44
The new 1.95-4 needs expat_config.h. check-in: ab838fca4d user: rolf tags: trunk
23:43
Was needed by expat 1.95.1. The new 1.95-4 has renamed this to expat_config.h. check-in: 119e5ceddb user: rolf tags: trunk
23:41
Editorial/typo fixes. check-in: 999508dd49 user: rolf tags: trunk
23:39
Added a few tests for Tcl coded XPath functions. check-in: a551b99b29 user: rolf tags: trunk
23:34
Added BYTEORDER define needed by expat 1.95-4. check-in: 6027fd23d1 user: rolf tags: trunk
23:29
m4 macros for byte order check. It's out ouf the expat 1.95-4 distribution (with small modification). check-in: 4a032d3921 user: rolf tags: trunk
23:26
Added check for byte order. Define needed by expat 1.95-4. check-in: 50ccf9f14e user: rolf tags: trunk
23:24
Update from expat 1.95.1 to 1.95.4. check-in: d14d944e90 user: rolf tags: trunk
23:23
Not valid any more, because of the change from expat 1.95.1 to 1.95.4. (I wonder, what it was in the first place.) check-in: 552e8be473 user: rolf tags: trunk
2002-08-19
00:33
Bug fix: for every node type other than element nodes the type given to a tcl coded extension function was "attrnodes", which was cleary wrong for text nodes etc. Added error msg, if the result type of the tcl coded XPath function was not known. check-in: 3636f23b8c user: rolf tags: trunk
00:27
Package version bumped to 0.2. check-in: 745b6729b7 user: rolf tags: trunk
00:26
Small opitimization: Now we store the Attribute informatation for an element direct in the TNC_Content structure, and don't look them up every time, they are needed any more. Package version bumped to 0.2. check-in: f5b11e7270 user: rolf tags: trunk
00:23
Completely new build stuff, following the lines of TEA 2 and building on the great groundwork of Zoran. check-in: 215772d6dc user: rolf tags: trunk
00:20
Not longer needed for the new build stuff. check-in: b04dc7e8af user: rolf tags: trunk
2002-08-09
00:41
More getElementsByTagName and getElementsByTagNameNS Fixes: it worked on the descendant-or-self axes, now works on descendant axis. Special handling of namespace ""; this now the same as getElementsByTagName. getElementsByTagName does not return any element, that is in a namespace. Plus editorial change. check-in: cc052ed3ac user: rolf tags: trunk
00:34
More getElementsByTagName and getElementsByTagNameNS tests. check-in: 026953d29f user: rolf tags: trunk
2002-08-07
22:38
Fixed problems, if there are was no -baseurl given while parsing the stylesheet document. check-in: 7d087beae7 user: rolf tags: trunk
2002-08-06
02:35
Added doc for new method getElementsByTagNameNS check-in: b086ab2cc1 user: rolf tags: trunk
02:35
getElementsByTagNameNS: made clear, that the user have to give uri and localname. check-in: 72641c4794 user: rolf tags: trunk
02:27
Added a few tests for getElementsByTagName and getElementsByTagNameNS (we need more!). check-in: ec10501831 user: rolf tags: trunk
02:26
Changed the ref handler so, that absolute urls under w32 (file://C:/...) also work. check-in: 1f7c74236a user: rolf tags: trunk
02:23
Editorial change: Removed the log out of the file header. check-in: 44551d1078 user: rolf tags: trunk
02:22
Changed the version number to 0.7.5 check-in: c2d843993a user: rolf tags: trunk
02:21
Fixed the getElementsByTagNameNS node method, which was not standard compliant, incomplete and broken in several ways. Added a getElementsByTagNameNS method to the doc interface, according DOM 2. Added a few arg checks to methods. check-in: 83a955723a user: rolf tags: trunk
02:17
Fix in domLookupNamespace(). doc->nsptr points to the last used namespace. It is initialized with -1. There for the new <= is right and secure. check-in: 4e160a0dad user: rolf tags: trunk
2002-08-05
00:15
Bumped the 'little help' by Zoran an me to the more realistic 'major contributions'. Added a few things to the features list and w2k to the platforms list. check-in: 1491270150 user: rolf tags: trunk
2002-08-04
23:49
Add the 'build-in' namespace prefix "xml" also for documents parsed with the simple parser. check-in: ae0c6f4b12 user: rolf tags: trunk
23:47
Fix for the format-number() code. Fix for the notorious (notorious what? - Hm, to complicated, to slow) variable/parameter handling. In cases like <xsl:call-template name="PrintNSPrefix"> <xsl:with-param name="prefix"> <xsl:call-template name="GetElementPrefix"> <xsl:with-param name="element" select="$element"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> ie we call a template with a parameter, which setting template calls another template, there was a var scope problem. Code to handle differences between node and attrnode structures at a few places. check-in: 88aeb96b3f user: rolf tags: trunk
23:35
Bugfix for absolute path starting with full qualified elementname. Notorious Problem: the attribute nodes structure is substantial different from the node structure - no ownerDocument pointer, parent node pointer at different place. This means type check at all places, where the context node could also be an ATTRIBUTE_NODE. This is already done at, well, as this example shows shows, almost all places. Now it's also done for selectRoot. Minor editorial changes. check-in: 12bab8d699 user: rolf tags: trunk
23:27
domCreateXMLNamespaceNode() is now also used by xmlsimple. Editorial change: removed the cvs log, as in the other files. check-in: 1f6a4c4f40 user: rolf tags: trunk
23:23
Fixed handling of the 'build-in' namespace prefix "xml". check-in: 1541e67085 user: rolf tags: trunk
2002-08-03
20:54
Fixed clean files (added the tdomConfig.sh to the list) check-in: 8d8d823606 user: zoran tags: trunk
20:53
Added definitions for generating entries in the config file. check-in: 1cd97562f4 user: zoran tags: trunk
20:52
First import. Used for extensions building check-in: b42d6e52ff user: zoran tags: trunk
20:51
Added some targets for locating and loading the config file. check-in: aa0bf0d9a0 user: zoran tags: trunk
2002-08-02
21:20
Shouldn't this actually be the Mozzila license? check-in: bd3a38e641 user: zoran tags: trunk
21:19
Added this file. It references the MPL 1.1 so we might add this one also. check-in: f4eea6df9d user: zoran tags: trunk
21:19
Added the *bare bones* README. check-in: 4204a31929 user: zoran tags: trunk
19:09
Added tests for memmove and bcopy early in the configuration sequence. check-in: 0689db8101 user: zoran tags: trunk
2002-07-29
21:58
Changed a few remining isnan to IS_NAN. check-in: ce90ca7c2b user: rolf tags: trunk
16:01
Uses normal Tcl allocator for aolserver check-in: eb1fda13df user: zoran tags: trunk
2002-07-28
23:22
Moved external files used by some tests from tests/ to tests/data. check-in: 7bdad16ac2 user: rolf tags: trunk
23:20
Added the inclusion of loadtdom.tcl and adjusted baseURI / load of external files where necessary. check-in: 0c74c1fded user: rolf tags: trunk