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
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