Commit graph

305 commits

Author SHA1 Message Date
Jez Higgins
b46b48d006 I think that's the last of the warnings 2010-01-11 09:28:48 +00:00
Jez Higgins
7a85b3aebc an XSLTFunctions test is now passing as I've sorted warnings 2010-01-10 22:30:19 +00:00
Jez Higgins
191ea1a001 changed diff order so its more obvious what's old and what's new 2010-01-10 22:29:21 +00:00
Jez Higgins
708afa0ebd fixed more warnings 2010-01-10 17:46:55 +00:00
Jez Higgins
e774bba632 fixed unused parameter warnings 2010-01-10 17:07:41 +00:00
Jez Higgins
9b0ffe958f added the new test script 2010-01-09 21:25:52 +00:00
Jez Higgins
0030be4581 record tests as changes since last time 2010-01-09 21:24:10 +00:00
Jez Higgins
acff44245d updated test results and expected fails 2010-01-02 22:19:01 +00:00
Jez Higgins
7e62969c6c Fixed double delete problem when removing and readding an attribute 2010-01-01 23:03:01 +00:00
Jez Higgins
c7e49c5278 Test results 2009-12-14 23:56:19 +00:00
Jez Higgins
5881521c04 reinstated segfaulting test. now I've fixed the actual bug, it doesn't segfault any more :) 2009-12-14 14:46:57 +00:00
jez
17e93705ae redirect to DOMSink when evaluating variables. This wasn't being done for ResolvedVariables and so everything was exploding. 2009-12-14 14:20:12 +00:00
Jez Higgins
8890b8e450 skip a test that's causing a segfault on linux 2009-12-12 12:00:07 +00:00
Jez Higgins
b736278781 commented out segfaulting tests 2009-12-11 10:13:52 +00:00
Jez Higgins
e770fe0b28 had managed to commit a borken file - oops 2009-12-11 10:13:11 +00:00
jez
80da48a661 Ash Berlin's patch for Element.setAttributeNodeNS 2009-12-06 21:39:46 +00:00
jez
719829f10a Ash Berlin's patch to get Text.splitText working properly 2009-12-06 21:34:46 +00:00
jez
9a532b73cb NamedNodeMap tests - not complete yet 2009-11-25 10:24:21 +00:00
jez
2cb2cc8bbe NamedNodeMap tests and bugfix 2009-11-23 22:36:15 +00:00
jez
3991f80eb2 increment changes with the aim of improviing performance of variables 2009-11-23 21:00:23 +00:00
jez
6785fd8944 litte bit more work on variable resolution, but train in v wobbly and it giving me a headache 2009-10-05 19:27:24 +01:00
jez
584502ec16 Added some more ideas for variable and parameter passing 2009-08-18 21:13:44 +01:00
jez
014ea05879 updated TO-DO to include various performance improvement ideas 2009-05-05 19:30:47 +01:00
jez
5a507fd22c ToDo list 2009-05-01 20:03:27 +01:00
jez
9d0ac38302 removed all the skips relating to lre as stylesheet 2009-04-28 21:56:33 +01:00
jez
ea5bf9ca8e test results 2009-04-07 19:11:40 +01:00
jez
c3869b6a53 updated expected-fails 2009-03-31 08:59:19 +01:00
jez
94d5a26c6c skip test for two arg version of document() - not yet implemented 2009-03-27 08:30:28 +00:00
jez
27fc312bde Excluded a Stylesheet test case 2009-03-27 08:19:45 +00:00
jez
4f28c8ae71 key as match pattern now runs - woo 2009-03-23 19:38:59 +00:00
jez
0a6f2071eb Id and Key match patterns now compile 2009-03-23 19:08:04 +00:00
jez
3aaa4de937 working on the IdKey match pattern - currently crashes
include MS Import tests
xsl:stylesheet can have an id attribute
expected fails for Keys
added MS Keys tests
allow whitespace within xsl:output
2009-03-17 21:10:53 +00:00
jez
83cd0cd15b working on the IdKey match pattern - currently crashes 2009-03-17 21:08:26 +00:00
jez
1a33572c06 include MS Import tests 2009-03-17 19:07:38 +00:00
jez
72939c397a expected fails for Keys 2009-03-17 15:57:20 +00:00
jez
c3615c265b added MS Keys tests 2009-03-17 09:07:38 +00:00
jez
128916c133 Makefile.am fix 2009-03-13 20:24:36 +00:00
jez
334317f422 filename case fixes 2009-03-12 20:00:35 +00:00
jez
6d7f9aafae Makefile corrections 2009-03-12 13:21:48 +00:00
jez
8cadf886d0 Got Taggle test passing.
Rework Taggle's internal Element class to use a reference counting scheme, 
so it's passed around by reference, rather than y value (and hence having lots of copying).  I think the ref-counting is correct, but I haven't checked it yet.
2009-03-12 09:49:45 +00:00
U-isla\jez
4ebfe4614d got sense test passing 2009-03-11 18:23:17 +00:00
jez
aba1deb76b started quick Taggle sense test 2009-03-09 21:29:32 +00:00
jez
e26f2fc5f8 Fixed - had committed a bad file 2009-03-05 23:39:06 +00:00
jez
3389a61f7f more relative uri tests 2009-03-04 12:42:48 +00:00
jez
e5f7291d57 Updated reasons why some tests don't compile 2009-03-04 12:42:24 +00:00
jez
bbe3f44d8c run select tests that use key() 2009-03-03 08:00:49 +00:00
jez
9ddbb95491 implemented nodeset version of key() 2009-03-03 07:58:29 +00:00
jez
340093a56d updated to run xsl:key/key() tests 2009-02-27 17:10:23 +00:00
jez
9b70ca5187 rather large commit, propagating the QualifiedName changes through the NamespaceSupport and Tracker, simplifying item names in XSLT and so on. 2009-02-24 12:21:35 +00:00
jez
a958b03544 parameterised XML string tests on string_adaptor
hooked into qname parsing
2009-02-23 19:23:12 +00:00
jez
1620541fb8 added another qname parsing test 2009-02-23 18:42:52 +00:00
jez
412a7f2204 initial version of parseQName 2009-02-23 09:14:35 +00:00
jez
31b8d99a83 parameterised QualifiedName 2009-02-23 08:38:50 +00:00
jez
32bc0e6597 decided to go with prefixes after all 2009-02-23 07:57:24 +00:00
jez
46d51800aa Fix to uri parsing so that something like
http://www.google.com
finishes up with www.google.com as the host, and not the path.
Yay.
2009-02-20 23:00:01 +00:00
jez
2fd1f52ace starting xsl:key/key()
started qnmae refactoring
2009-02-18 22:48:35 +00:00
jez
3e3447dcff marked a couple of skips 2009-01-03 22:01:33 +00:00
jez
ae1b2f0acb better frag checking 2009-01-03 21:41:45 +00:00
jez
bd49423c2d synced laptop. added include tests with loops 2009-01-02 23:54:58 +00:00
jez
c9b50e484e working on attribute tests 2009-01-02 23:08:49 +00:00
jez
83894f9e17 Started reinstating loop checking during imports and includes. Loops in
includes are detected, however imports are not yet.
2008-12-02 17:43:46 +00:00
jez
3ea6fde701 marked another couple of variable tests as skips 2008-12-02 11:31:59 +00:00
jez
db54b7c7bc In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5, '+1.5' converts to NaN. Weird and counter-intuitive, but in the spec. 2008-11-03 18:29:10 +00:00
jez
b9a2e6e2f6 finished up Sorting expected fails 2008-11-03 10:21:56 +00:00
jez
ae7e196374 Updated Sorting expects 2008-11-02 20:25:58 +00:00
jez
57f793ccc8 provided null implementation for unparsed-entity-uri 2008-10-27 22:20:49 +00:00
jez
4e418a8622 Implemented generate-id function 2008-10-27 19:13:47 +00:00
jez
d1f9efc865 don't have to skip so many tests that sort 2008-10-27 16:00:12 +00:00
jez
18c3c2f604 Direct informational messages to cerr not cout 2008-09-25 09:38:30 +01:00
jez
8fbedce990 Updated some Text and Variable skips 2008-09-19 09:03:19 +01:00
jez
2f4848bedc Fixed element value when has consecutive text node descendants 2008-09-19 09:03:19 +01:00
jez
9cbe2c1621 Added tests for preceding and preceding-sibling 2008-09-18 22:43:00 +01:00
jez
2cf6d009bf added some more following, following-sibling, and child axis tests in the presence of text nodes 2008-09-17 22:58:36 +01:00
jez
a5deb92650 added a following and following-sibling axis test 2008-09-16 08:58:46 +01:00
jez
9c839505dd added more text node tests 2008-09-16 08:31:30 +01:00
jez
fa3f59083c Added tests looking at the behaviour of XPath when dealing with text nodes. I want XPath the evaluate as if the DOM had been normalised, even if it hasn't. That is, consecutive text nodes should be treated as a single node. 2008-09-13 18:36:46 +01:00
jez
d173537cde sync with home 2008-09-03 00:39:39 +01:00
jez
8a695424ed corrected Makefile - it's TableTestResult.hpp not .h 2008-08-26 11:51:31 +01:00
jez
cec3c0c659 reworked absolutising, it's better, but I need to go back to the RFC at some point 2008-08-25 23:05:37 +00:00
jez
3d661b355c added extra URI tests. One failing case at the moment, which will be sorted out next time 2008-08-14 21:45:32 +00:00
jez
07ef52f308 Added -table option to test executables. It outputs the results as a tab
seperated table, which can be pasted into spreadsheet/google docs/etc.
2008-08-09 23:19:21 +01:00
jez
5870c68fa6 fiddled with NamedTemplates tests 2008-08-09 23:12:58 +01:00
jez
119d03572f started running the Text tests 2008-08-09 21:03:36 +01:00
jez
f7dca473b5 Started work on Stylesheet tests 2008-08-09 20:03:39 +01:00
jez
6f33aea5f3 sorted out Namespace_XPath tests 2008-08-09 18:25:36 +01:00
jez
a1890d2a31 amazingly, the XPath prefix:* didn't compile. I had no test for it, and had overlooked it. fixed 2008-08-09 17:32:28 +01:00
jez
8e648de0af started running Namespace_XPath tests 2008-08-09 10:34:14 +01:00
jez
4e77e95aac started running some more of the MS tests 2008-08-08 22:00:36 +01:00
jez
bc9bc15b6a Add configure option to disable running tests. make check will still build
tests, but will not run them.
--with-tests=no to manually disable.  Tests are automatically disabled if
cross-compiling.
2008-08-07 18:56:02 +01:00
jez
363a413a53 When running stylesheet, resolve variable values straightaway. This flushes out unresolved references and so on, although only in templates which are actually run.
Added several more test cases.
2008-08-06 12:34:35 +01:00
jez
b559feb7be Added several more variables tests, related the namespace prefixes
fixed internal qname resolution - 2.4 says unprefixed names are not in the default namespace
fixed xsl:element - unprefixed names, when no namespace uri is supplied are in teh default namespace
2008-08-05 22:03:33 +01:00
jez
72e8decc76 added some precedence tests 2008-08-05 20:35:28 +01:00
jez
01db7aad46 added some new tests concerning variable declarations inside variables 2008-08-05 16:17:28 +01:00
jez
7007980d4d Variables_VariableScopeWithinLRE is an XML comparision not text 2008-08-04 07:20:39 +01:00
jez
216bfe0590 working on Variables tests 2008-08-03 08:51:00 +01:00
jez
0c9ea8a23f added more detail for Variables test 2008-08-02 22:09:48 +00:00
jez
f14cb010a3 added is_qname function, and tests 2008-08-01 13:02:41 +01:00
jez
83d1e971ff 2008-07-19 18:08:12 +00:00
jez
1719005582 updated for gcc 4.3.1 2008-07-03 21:43:56 +00:00
jez
88cdbb98fe added more skips/compares/etc 2008-06-04 20:32:23 +00:00
jez
1257c08bff only load tests you want to run 2008-06-04 20:32:06 +00:00
jez
6a04f6ba58 fixed for new namespace node constructor 2008-05-28 17:17:12 +00:00
jez
8eec99f4b4 annotated position skips 2008-05-28 14:10:23 +00:00
jez
120905f3ac 2008-05-27 20:26:51 +00:00
jez
dee85af224 fixes to help out-of-tree builds 2008-05-04 14:42:09 +00:00
jez
68301e8878 added a couple of ancestor tests 2008-04-17 09:54:55 +00:00
jez
b569dbb43e rejigged things so that it doesn't core dump on exit. it's always nice when things exit cleanly 2008-04-16 22:10:01 +00:00
jez
71b7af819f xsl:sort - blow up if we get a lang attribute 2008-01-19 22:45:48 +00:00
jez
3441a1271e 2007-12-30 22:33:14 +00:00
jez
adc1150712 2007-12-29 23:35:01 +00:00
jez
462274002e updated 2007-12-29 22:30:34 +00:00
jez
7bd88a7bbe 2007-12-25 22:23:25 +00:00
jez
16e8a45e86 added fails for XSLTFunctions 2007-12-25 21:58:52 +00:00
jez
b3939f14ab removed IBM437 encoding declaration - WTF is IBM427 anyway 2007-12-25 20:54:42 +00:00
jez
934a03e703 oops - ncnames don't contain colons 2007-12-23 22:52:39 +00:00
jez
27d23630ce fixed test 2007-12-23 21:32:04 +00:00
jez
2e6c372933 hacked up a ncname test, although it's not working at the moment and I'm tired and can't think 2007-12-22 22:21:26 +00:00
jez
432191dfbe 2007-12-21 17:03:09 +00:00
jez
cdac22542e added type() to XPath expressions. I need this to allow XSLT match patterns to be rewritten properly - see http://www.jezuk.co.uk/cgi-bin/view/arabica/log?id=3546 - but it will also be useful for compile time checking (should I get sufficiently keen :) 2007-12-18 23:03:16 +00:00
jez
fc982bf8e8 return pass/fail to environment 2007-12-08 21:20:28 +00:00
jez
3c13a1af81 return pass/fail to environment 2007-12-08 20:47:53 +00:00
jez
29a3d1f63b add test for windows file path 2007-12-08 20:47:32 +00:00
jez
ad597b2374 minor change to return pass/fail from run 2007-12-08 20:46:40 +00:00
jez
6d0c134c61 - 2007-12-01 21:52:15 +00:00
jez
e659f3cce4 changed scope of StackFrame for apply templates 2007-11-26 23:17:11 +00:00
jez
f1f729917e 2007-11-26 23:16:25 +00:00
jez
213934528b xsl:stylesheet now allows top-level elements in a foreign namespace 2007-11-23 00:07:08 +00:00
jez
5cbf3ff65e qname tests 2007-11-22 22:37:23 +00:00
jez
ccbdeeaa41 added a quick pi test 2007-11-22 21:53:44 +00:00
jez
c7c0c3d36c xsl:processing-instruction shouldn't allow xml as the name 2007-11-22 21:24:17 +00:00
jez
146698bcde removed unused param 2007-11-22 16:48:18 +00:00
jez
83602c0417 removed a skip - fixed the bug 2007-11-21 22:36:07 +00:00
jez
e027a3cef9 concentrating on Errors section atm 2007-11-21 22:32:17 +00:00
jez
1f7dd78a3e minor reowkring to support my own test suite 2007-11-20 23:08:49 +00:00
jez
491b6c9739 added some of my own tests 2007-11-20 23:06:59 +00:00
jez
a0083c14d2 '' 2007-11-19 22:11:05 +00:00
jez
aacb33a3bd made destructor public 2007-11-12 09:03:47 +00:00
jez
894d296b7f took out a bit of debug output 2007-11-12 09:00:52 +00:00
jez
6fb74b8feb lots more URI tests, for cases wth leading ../ 2007-11-11 21:34:47 +00:00
jez
5d50a960bf message01 has text output 2007-11-11 21:33:51 +00:00
jez
b3bbe5f533 commented out elephant headers 2007-11-10 22:26:37 +00:00
jez
46d9064040 added build support for the Elephant memory monitoring library 2007-11-09 22:56:07 +00:00
jez
7dd33fdd50 XSLT expected fail tests now output reason 2007-11-09 22:55:04 +00:00
jez
95cd084e0e added entries a couple of lre tests 2007-11-09 22:54:12 +00:00
jez
a697193623 no newline after output flags 2007-11-03 01:13:04 +00:00
jez
e14a24c4ce no need to skip tests with text output any more 2007-11-03 01:12:37 +00:00
jez
42028bdac3 added new test to do text rather than XML comparisions 2007-11-03 00:15:58 +00:00
jez
bb6c41d02a added another skip 2007-11-02 21:54:36 +00:00
jez
3080c240d8 skip several (actually quite a lot) of output test - all the ones with HTML or text results, or which use crazy output encoding 2007-11-02 19:24:46 +00:00
jez
32ea3d8523 strip all whitespace for 2nd comparison 2007-10-26 12:28:24 +00:00