Commit graph

986 commits

Author SHA1 Message Date
jez
a5deb92650 added a following and following-sibling axis test 2008-09-16 08:58:46 +01:00
jez
49fa53e9b0 Updated child and descendant axis to skip over adjacent text nodes 2008-09-16 08:58:18 +01:00
jez
9c839505dd added more text node tests 2008-09-16 08:31:30 +01:00
jez
57e8e9248e Reworked node value to combine consecutive text nodes together into a single value 2008-09-13 18:36:46 +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
b495dc316f vs8 project files munged from vs9 files - don't try this at home either 2008-09-13 18:36:46 +01:00
jez
19da22b16a vs7 project files munged from vs9 files - don't try this at home 2008-09-13 18:36:46 +01:00
jez
e03345f5df vs7 back-portability fixes 2008-09-13 18:36:46 +01:00
jez
25dc9795ab slipped TextCoalescer filter into the DOM builder, so that consecutive bits of text get applied to a single Text or CDATA node, rather than as a series of nodes. (A series of nodes is perfectly legal, it's just slightly unexpected. Even to me, and I work with DOMs a lot :) 2008-09-03 00:44:50 +01:00
jez
d173537cde sync with home 2008-09-03 00:39:39 +01:00
jez
f96de3937d little script to backport vs9 project files to earlier versions of vs 2008-09-02 10:15:02 +01:00
jez
bc233d68ca Updated NodeTest to match CDATA sections as well as text nodes. 2008-08-26 11:53:14 +01:00
jez
5e1868b525 added bzip2 and zip bundles to the dist target 2008-08-26 11:53:14 +01:00
jez
8a695424ed corrected Makefile - it's TableTestResult.hpp not .h 2008-08-26 11:51:31 +01:00
jez
d01be793d4 maybe I'll release this month? 2008-08-25 23:07:19 +00: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
1ad8594aad updated attribute validation to allow attributes in the xml namespace 2008-08-09 21:03:15 +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
cd3577292d Ensure an unbound namespace prefix throws an exception 2008-08-09 18:24:34 +01:00
jez
b668bdc3b2 removed TODO comment, because I actually did it sometime ago 2008-08-09 18:24:11 +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
04af379b54 ensure @xmlns|@xsmlns:* selects no nodes 2008-08-09 17:03:44 +01:00
jez
3511768691 was evaluating select expression twice - there was no need 2008-08-09 17:03:02 +01:00
jez
8e648de0af started running Namespace_XPath tests 2008-08-09 10:34:14 +01:00
jez
0aeeb9c1fb Don't suppress element namespace prefixes or attributes which are in the
XSL namespace.
2008-08-08 22:46:18 +01:00
jez
468d401865 converted tabs to spaces 2008-08-08 22:45:53 +01:00
jez
4e77e95aac started running some more of the MS tests 2008-08-08 22:00:36 +01:00
jez
a09ad003e8 Add configure option to disable running tests. 2008-08-07 21:53:53 +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
b08e5f8ab5 Visual Studio 6 hasn't been a build target for some time now. Removed the left over bits of VS6 specific workarounds. 2008-08-06 23:05:53 +01:00
jez
812925e669 Added configure tests for std::mbstate_t and/or mbstate_t. Some platforms
don't have it (VxWorks, for example).
2008-08-06 22:31:39 +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
fc2a67619b Corrected spelling of precedence. I have no idea why I had it wrong in the first place, it just seems to be what comes out of my fingers 2008-08-06 12:07:59 +01:00
jez
b187cc1667 Removed use of boost:ptr_vector. Turns out that std::vector<boost::ptr_vector<something> > won't compile.
Also see http://sourceforge.net/mailarchive/message.php?msg_name=2103b1960807291110y5f0063eaqb4c855f5aa56974e%40mail.gmail.com and discussion for bonus reason.
2008-08-06 11:48:06 +01:00
jez
1ce9e00043 Convert \ to / for relative paths as well as absolute windows paths. 2008-08-06 09:38:06 +01:00
jez
843631092c Resolve top level variables, to make sure they are properly defined.
Variables within templates are not resolved in this way unless they are actually used.
2008-08-05 22:17:08 +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
2667963142 Top level variables are now handled according to import precedence. 2008-08-05 18:29:18 +01:00
jez
01db7aad46 added some new tests concerning variable declarations inside variables 2008-08-05 16:17:28 +01:00
jez
538fe00271 whitespace changes 2008-08-05 15:32:40 +01:00
jez
7007980d4d Variables_VariableScopeWithinLRE is an XML comparision not text 2008-08-04 07:20:39 +01:00
jez
441be1bbf2 attribute and elements now form there own variable scope. 2008-08-03 17:11:27 +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