jez
0a6f2071eb
Id and Key match patterns now compile
2009-03-23 19:08:04 +00:00
jez
83cd0cd15b
working on the IdKey match pattern - currently crashes
2009-03-17 21:08:26 +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
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
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
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
6a04f6ba58
fixed for new namespace node constructor
2008-05-28 17:17:12 +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
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
146698bcde
removed unused param
2007-11-22 16:48:18 +00:00
jez
894d296b7f
took out a bit of debug output
2007-11-12 09:00:52 +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
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
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
afe8903976
reworked test builds to use Automakes built in check target
2007-08-29 02:03:12 +00:00
jez
669200cd59
fixed wide string detection
2007-07-20 20:54:29 +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
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