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

History of tests/xpath.test

2019-07-16
20:47
Modified test to work as intended on 32-bit also. Fixes [156ce3b130e8]. file: [356f9014ba] check-in: [4aa07a679d] user: rolf branch: trunk, size: 40816
2019-07-11
14:07
Fixed possible floating point exception with arithmetic operator 'mod'. file: [7636f8032f] check-in: [7cf8bdeb6c] user: rolf branch: trunk, size: 40819
02:02
Fixed possible seg fault with malicious input. file: [d19b4504ca] check-in: [d22f55f9a3] user: rolf branch: trunk, size: 40049
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. file: [715fb1c546] check-in: [ad8242fa18] user: rolf branch: trunk, size: 39847
2018-10-24
12:56
Added a few tests more regarding to processing instruction nodes handling in XPath expressions. file: [af08a3b18b] check-in: [9b7ef1556b] user: rolf branch: trunk, size: 39595
09:21
Fix for [9eba7475e7f6f9]. file: [cdd8c095e7] check-in: [8943afe645] user: rolf branch: trunk, size: 38679
2018-02-22
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. file: [f1ac7485bc] check-in: [0fcd6c63e6] user: yorick branch: pyk-parsexpath, size: 38555
2018-02-08
00:35
Adjusted test suite according name unification. file: [73e21d99d9] check-in: [1d140ee6a9] user: rolf branch: trunk, size: 38052
2018-02-01
00:16
A couple of spell fixes / typing error corrections. Thanks goes to Gustav Neumann. file: [89e6c4c9fd] check-in: [4897033c1b] user: rolf branch: trunk, size: 38052
2017-08-15
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. file: [ce29707355] check-in: [7cce9c5133] user: rolf branch: trunk, size: 38049
2017-07-30
00:48
Fixed seg fault in case of attribute node as context node of an id() function call. file: [1441124b00] check-in: [8a41290899] user: rolf branch: trunk, size: 38049
00:04
Fixed seg fault in case of attribute node as context node of a lang() function call. file: [80e944fbd3] check-in: [b8bbb8a60a] user: rolf branch: trunk, size: 37841
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. file: [88987a048e] check-in: [8c247cfc54] user: rolf branch: trunk, size: 37628
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 '*'. file: [2e9215c75e] check-in: [efb5498f2d] user: rolf branch: json, size: 37526
2017-07-21
14:43
Added a few more tests, with edge cases. file: [738d6b6392] check-in: [407b3fac54] user: rolf branch: json, size: 35450
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. file: [c46bd3a37b] check-in: [9002adc958] user: rolf branch: json, size: 34170
2017-07-12
12:23
Added a test, which shows the problem that was fixed by [ccc182cde5]. file: [562a5832d1] check-in: [dc5a7088ce] user: rolf branch: pyk-parsexpath, size: 32471
2017-07-11
00:13
Added a random test. file: [5d3869e2ea] check-in: [c121a72ec5] user: rolf branch: trunk, size: 32459
2017-07-05
00:22
Fixed the 'latent bug' mentioned in ticket [d0405aff34]. file: [5cfa98ef17] check-in: [518504411f] user: rolf branch: trunk, size: 31997
2017-07-03
20:39
So far, for now. file: [dcd24be39c] check-in: [0c6df91ce5] user: rolf branch: wip, size: 31961
14:28
More progress. file: [96185974c5] check-in: [2d793fe147] user: rolf branch: wip, size: 31977
2017-07-01
14:17
Work in progress. file: [22295e7450] check-in: [42b8823f76] user: rolf branch: wip, size: 29698
2017-06-30
23:01
Fixed some problems in the code. Saved before attempt to greater rework, to takle others. file: [e7a6438b18] check-in: [41e23c35ea] user: rolf branch: pyk-parsexpath, size: 29683
2015-08-19
23:22
An xpath expression with more then one step after a // could return the matching nodes not in document order. file: [d27dad4a46] check-in: [5ce8894ca4] user: rolf branch: trunk, size: 27750
2015-03-01
03:04
Clarified the xpath data type of tcl var references in xpath expressions. file: [9029a85ac1] check-in: [9391fc5fe9] user: rolf branch: trunk, size: 27168
2015-02-27
02:31
Documented: Using tcl var reference in expr predicate. file: [fc31211d91] check-in: [ff88c83a7b] user: rolf branch: trunk, size: 27286
2015-01-25
01:01
Still hardening the xpath engine against random input. file: [758cd66889] check-in: [cda6ae28c1] user: rolf branch: trunk, size: 26460
00:09
Fixed / better handling of over- or underflow integers given literal within the xpath expression. file: [52b9a55670] check-in: [a34b1c1dff] user: rolf branch: trunk, size: 26262
2015-01-21
00:37
Save bytes and be more general. file: [ad64e14390] check-in: [9bec85810d] user: rolf branch: trunk, size: 25905
2015-01-20
23:08
Fixed even more possible seg faults in case of "random" xpath input. file: [e2bf41320e] check-in: [e44ca3a81b] user: rolf branch: trunk, size: 26124
2015-01-18
20:34
Fixed more possible seg faults in case of 'random' xpath input. file: [23f30c8df2] check-in: [66eccc9114] user: rolf branch: trunk, size: 25701
01:57
Fixed seg fault in case of special crafted XPath expressions. file: [001560fd32] check-in: [987b9125a2] user: rolf branch: trunk, size: 25487
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. file: [e040ae5813] check-in: [9c3092c53e] user: rolf branch: trunk, size: 25338
2014-11-06
01:35
More scripted XPath function tests. file: [a50f60a73d] check-in: [9f3c84cdb3] user: rolf branch: trunk, size: 24823
00:27
A node set returned from a tcl scripted XPath function is a XPath node set, as returned from any XPath expression. file: [99f01294ea] check-in: [00c36ac1c9] user: rolf branch: trunk, size: 23776
2014-11-05
23:53
Fixed a bug in the implicit string result short return path of tcl scripted additional XPath functions. file: [41db86dba3] check-in: [55e2fefda5] user: rolf branch: trunk, size: 23561
2007-08-23
16:34
Fixed bug triggered by invalid XSLT XPath pattern (normal XPath expr (via selectNodes) wasn't infected). file: [034c709485] check-in: [5d08962991] user: rolf branch: trunk, size: 23241
2007-08-05
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. file: [792f26ba22] check-in: [3843d517af] user: rolf branch: trunk, size: 22853
2007-07-31
00:57
Bug fix: floats in xpath expressions starting with . could have an additional (erroneous) dot in it without detection. file: [033353f2ff] check-in: [2d062126ae] user: rolf branch: trunk, size: 18671
2007-07-25
12:12
Added a few tests related to white-space in XPath expressions. file: [0e46e1efa2] check-in: [fb68977404] user: rolf branch: trunk, size: 18282
2006-11-08
00:19
Fixed seg fault in XPath expr parser for a certain kind of erroneous XPath expressions. file: [5fd5f171f5] check-in: [7a36c0d787] user: rolf branch: trunk, size: 17556
2005-10-19
19:14
Fixed string-length() and substring() to work on chars, as they should, not on bytes. file: [8b9bb55f4b] check-in: [a4a5e6d71a] user: rolf branch: trunk, size: 17246
2004-12-12
16:09
xpath expressions ancestor-or-self::node() and parent::node() returned wrong result if the context node is /. file: [3b8ed5f301] check-in: [5fecb1d987] user: rolf branch: trunk, size: 16519
2004-09-21
01:43
Added the '-namespaces' option to the selectNdoes method. Not resolved namespace prefixes within the xpath expression now raises an error. *** POTENTIAL INCOMPATIBILITY *** file: [d06dde658a] check-in: [b08cb7d224] user: rolf branch: trunk, size: 15852
2004-07-28
03:43
Documented behaviour in case of using (senseless, wrong) 'xslt variable' in selectNode exprs. file: [9241a216eb] check-in: [0f334692af] user: rolf branch: trunk, size: 15866
2004-05-26
01:51
Minor changes. file: [1a7a709bdd] check-in: [306c383ae9] user: rolf branch: trunk, size: 15602
2003-11-03
00:19
Added a few tests related to declarations to chapter 4.2 and 4.4 in the errata to the XPath rec. file: [732d4144cb] check-in: [a7464f9aa0] user: rolf branch: trunk, size: 15110
2003-10-22
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. file: [07f72d47be] check-in: [c434fd2b49] user: rolf branch: trunk, size: 13387
2003-09-27
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). file: [2340e4b0bb] check-in: [8bf9c107c2] user: rolf branch: trunk, size: 12890
2003-04-09
20:06
Added test which documents the bug prior to domxpath.c r1.63. file: [4d25939017] check-in: [8c30521612] user: rolf branch: trunk, size: 12197
2002-12-27
23:43
Editorial changes. file: [2286d9ee6f] check-in: [9e4ab919e4] user: rolf branch: trunk, size: 12251
2002-11-01
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). file: [d62883b8d1] check-in: [e27d352ceb] user: rolf branch: trunk, size: 12254
2002-10-20
15:40
A few editorial changes and new tests. file: [212979e239] check-in: [080f877f0e] user: rolf branch: trunk, size: 10079
2002-10-01
11:00
Added RCS string to comment file: [1b9a66ad93] check-in: [e66725042a] user: zoran branch: trunk, size: 9679
2002-09-10
13:55
Added tests, which documents bug reported in http://groups.yahoo.com/group/tdom/message/240 (and the fix). file: [cc2ba0e85e] check-in: [e4b54425b6] user: rolf branch: trunk, size: 9660
2002-08-20
23:39
Added a few tests for Tcl coded XPath functions. file: [260ecede3e] check-in: [a551b99b29] user: rolf branch: trunk, size: 8602
2002-07-28
23:20
Added the inclusion of loadtdom.tcl and adjusted baseURI / load of external files where necessary. file: [f2aa3c5b5c] check-in: [0c74c1fded] user: rolf branch: trunk, size: 4533
2002-07-07
21:15
Added NaN/Infinity handling related tests. file: [27ed25b784] check-in: [3348afa16c] user: rolf branch: trunk, size: 4473
2002-05-16
17:45
Added a xpath test non US-ASCII chars (uh, blame me, only one...) file: [296e7b74c3] check-in: [a25ac56080] user: rolf branch: trunk, size: 747
2002-03-03
01:02
tcltest test suite started. The expat related tests are mostly out of an older tclexpat test suite by Steve Ball (reviewed, bug fixed and adapted to tDOMs SAX interface). Plus a few tDOM specific tests. file: [b3cc63a815] check-in: [8ba496bb01] user: rolf branch: trunk, size: 258 Added