Jez Higgins
cbc3f6e8d6
still chipping away at function-available
2010-02-20 21:56:47 +00:00
Jez Higgins
fb380c8e08
fixed warnings
2010-02-20 13:47:07 +00:00
Jez Higgins
c35185a64c
add hasFunction to FunctionResolver interface
2010-02-20 13:03:22 +00:00
Jez Higgins
e774bba632
fixed unused parameter warnings
2010-01-10 17:07:41 +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
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
af3ebfde60
s/XPathExpressionPtr/XPathExpression/g
2007-10-25 20:42:00 +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
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
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
7d46f6f4e2
Moved DOM:: into Arabica::DOM::
2007-09-05 11:47:13 +00:00
jez
7cf3897061
renamed all .h to .hpp
2007-09-04 22:55:47 +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
c12723cfb7
2006-10-11 22:51:04 +00:00