Commit graph

205 commits

Author SHA1 Message Date
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