Commit graph

314 commits

Author SHA1 Message Date
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
jez
8201b2e9cc unskipped a couple of tests 2007-10-26 12:28:01 +00:00
jez
af3ebfde60 s/XPathExpressionPtr/XPathExpression/g 2007-10-25 20:42:00 +00:00
jez
a7d050841d s/XPathExpression/XPathExpression_impl/ 2007-10-23 21:37:24 +00:00
jez
fac7cf88de XPathExpressionPtr no longer derives from boost::shared_ptr, it contains it instead 2007-10-22 20:25:35 +00:00
jez
f6b2ed4966 OK, I think that's it. XPathValue is now your man. Existing code using XPathValuePtr should still work, but new stuff should use XPathValue 2007-10-22 17:42:50 +00:00
jez
6e2f594dc9 more reworking on XPathValuePtr -> XPathValue. XPathValue contains rather than derives from boost::shared_ptr. Added operator== so can still compare to 0 to see if the value is null or not. 2007-10-22 14:10:49 +00:00
jez
9b32ed13e4 Some time ago, it was gently suggested to me that XPathValuePtr and XPathExpressionPtr both exposed an implementation detail, because they derive fromboost::shared_ptr, and provided an interface that was inconsisted with the DOM classes, because you accessed the member functions via -> rather than .
At the time, I was just pleased to have got the XPath stuff done and wasn't really fussed, so I left it.  Since then though, it's niggled and niggled away at the back of my mind and now I've decided to do something about it.

XPathValuePtr will become XPathValue, with the member functions accessed through the . operator.  The XPathValuePtr name and -> member access will be retained for the meantime, so that existing code won't be broken.  XPathExpressionPtr will be similarly changed.

This commit is the first bit of that work, now I've satisfied myself it's going to be pretty easy so long as I pay proper attention.
2007-10-19 21:59:24 +00:00
jez
3f156c9fcf reworked MatchExpr so that it doesn't expose its inner XPathExpression 2007-10-14 20:06:27 +00:00
jez
f213c402cd moved DOM streaming from Utils/ to io/ 2007-09-13 21:21:55 +00:00
jez
77fdf64971 sorted out makefiles to fix dist targets 2007-09-11 09:25:18 +00:00
jez
c3bffa005a renamed include/Utils to include/Arabica 2007-09-10 17:52:04 +00:00
jez
8fe1e5f9c5 moved convert_adaptor and convertstream into Arabica::io namespace 2007-09-10 17:39:52 +00:00
jez
0525191ebe move convert_adaptor.hpp and convertstream.hpp into io subdirectory 2007-09-10 17:32:43 +00:00
jez
17248585af more namespace and file moving shenanigans 2007-09-10 17:24:17 +00:00
jez
caebe3f63e moved codecvt facets into convert subdirectory 2007-09-10 16:21:31 +00:00
jez
2ef3dffa7d moved URI into io subdirectory 2007-09-10 15:58:45 +00:00
jez
e4352a910e test Autotools to ignore the result of these tests - returning magic number 77 2007-09-08 22:30:13 +00:00
jez
7b43037a37 Added string_adaptor parameter to DOM classes. DOM and XPath tests compile and run, but still need to add defaults so more "normal" bits of code will go. 2007-09-07 23:52:30 +00:00
jez
bbcf3e1001 all SAX classes now take both string_type and string_adaptor. everything builds through. tests pass 2007-09-06 18:54:02 +00:00
jez
a76b137b60 removed basic_ prefixes from SAX classes, removed typedefs 2007-09-05 12:57:07 +00:00
jez
7d46f6f4e2 Moved DOM:: into Arabica::DOM:: 2007-09-05 11:47:13 +00:00
jez
a6c116acd6 moved SAX:: into Arabica::SAX:: 2007-09-05 09:49:18 +00:00
jez
7cf3897061 renamed all .h to .hpp 2007-09-04 22:55:47 +00:00
jez
c8927a92ff corrected VS warnings 2007-08-31 10:59:35 +00:00
jez
4b255762c5 fixed xslt_test so it can be built and run outside the source tree 2007-08-30 12:39:45 +00:00
jez
afe8903976 reworked test builds to use Automakes built in check target 2007-08-29 02:03:12 +00:00
jez
07b7e8e9bb disable VS8 warning about unsafe library functions - in this case sprinf 2007-08-29 02:01:08 +00:00
jez
f370e9277a corrected dependencies 2007-08-28 01:57:39 +00:00
jez
13a5baae06 2007-08-27 02:42:08 +00:00
jez
04411f4cd9 Error in test data - correct namespace declaration 2007-08-27 01:42:22 +00:00
jez
cc1ad0ca24 got a couple of cases which now work 2007-08-25 12:35:36 +00:00
jez
1c78d6cadc Error in test data - namespace declaration didn't match stylesheet or expected output 2007-08-25 12:34:42 +00:00
jez
d2b66ca34f mdocs14 now passes 2007-08-25 10:09:38 +00:00
jez
887e4d9003 whitespace changes 2007-08-24 08:49:58 +00:00
jez
b1149906ab skip mdocs14 2007-08-22 12:37:36 +00:00
jez
584299cf94 2007-08-10 11:28:45 +00:00
jez
74da13769b added silly and wide string versions of these tests 2007-08-08 09:09:28 +00:00
jez
cc374c5f8f what it says - whitespace stripping filter tests 2007-08-07 21:31:18 +00:00
jez
0dd9e4f728 cross-platform std::mbstate_t initialisation 2007-08-07 16:11:29 +00:00
jez
6b7de2cb2b ensure state is zeroed before test 2007-08-07 11:11:42 +00:00
jez
7b03098199 whitespace changes 2007-07-20 21:13:09 +00:00
jez
85dc57160c corrected test - worked for vstudio, but started failing on other platforms 2007-07-20 21:11:53 +00:00
jez
669200cd59 fixed wide string detection 2007-07-20 20:54:29 +00:00
jez
136a68107e let's call that that then 2007-07-19 18:57:37 +00:00
jez
4861c93e6c renamed test directory to tests 2007-07-19 17:43:13 +00:00
jez
13a0c3c3c2 renamed tests back to test 2007-06-20 23:22:10 +00:00
jez
7574ae9253 added treewalker header to dependencies 2007-01-16 16:47:07 +00:00
jez
3a18023963 TreeWalker: C++ compliance fixes 2007-01-12 14:52:14 +00:00
jez
8c89727a06 tests from Node's operator bool() 2007-01-02 11:33:29 +00:00
jez
d1ca51079f add more TreeWalker tests, including one with a NodeFilter 2006-12-14 19:34:48 +00:00
jez
664f6fd116 added TreeWalker implementation, dondated by craigp 2006-12-14 15:06:36 +00:00
jez
78c783b7c1 bug fix to Attr::setValue 2006-12-14 11:51:23 +00:00
jez
eb65f43391 made verbose test output the default 2006-11-13 16:52:25 +00:00
jez
618371db52 added first cut at test target 2006-10-11 23:04:59 +00:00
jez
c12723cfb7 2006-10-11 22:51:04 +00:00