jez
a52aafebd5
In XPath node() matches any node of any type. In an XSLT match pattern, node() matches everything except attributes and the document root node. Tweaked that match pattern grammar to introduce a new token in the AST.
2007-10-26 23:24:58 +00:00
jez
adbdb31f65
passed parameters are now unpassed when they aren't needed any more, removing them from the current stack frame. that may not match you idea of what a stack frame actually is (mine too, if I'm honest) but it's a straightforward change to fix a bug
2007-10-26 23:21:21 +00:00
jez
0167bd53c1
XSLT: template mode is now a QName
2007-10-26 19:12:27 +00:00
jez
b45e512845
XSLT: template names are now QNames
2007-10-26 12:28:48 +00:00
jez
3e246cb85a
xsl:apply-imports - params are not passed on through an xsl:apply-imports call
2007-10-25 22:08:31 +00:00
jez
229a859c91
whitespace change
2007-10-25 20:58:27 +00:00
jez
fa235dc7af
Fixed to AttributesImpl.getIndex from Isak Johnsson. Thanks go to him and a "what on earth was I thinking" to me.
2007-10-25 20:57:40 +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
3d5c7995cb
added value_type typedef as per Evan Burkitt's suggestion
2007-10-05 14:56:26 +00:00
jez
889305618e
fixes for older gcc
2007-09-28 08:30:16 +00:00
jez
494493d1c2
fixed template parameters in libxml2 binding
2007-09-25 21:43:25 +00:00
jez
6d76412103
fixed namespaces declaration
2007-09-25 19:17:58 +00:00
jez
c8a8be2fb7
fixed codecvt specialisation include paths
2007-09-19 17:33:23 +00:00
jez
1ffe707532
fixed codecvt specialisation include paths
2007-09-19 17:30:48 +00:00
jez
f213c402cd
moved DOM streaming from Utils/ to io/
2007-09-13 21:21:55 +00:00
jez
2a61c8f9df
removed redundant includes
2007-09-11 08:44:00 +00:00
jez
723ef90108
the last, I think, of the namespace shuffling business
2007-09-11 08:32:54 +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
3a1a0ae9de
moved from Arabica::Internal namespace to Arabica::convert::impl namespace
2007-09-10 16:27:43 +00:00
jez
caebe3f63e
moved codecvt facets into convert subdirectory
2007-09-10 16:21:31 +00:00
jez
6c8549e923
Moved socket_stream.hpp into io directory
...
Moved socketstream into Arabica::io namespace
2007-09-10 16:02:42 +00:00
jez
2ef3dffa7d
moved URI into io subdirectory
2007-09-10 15:58:45 +00:00
jez
cc3ffc1a79
added extra template parameters
2007-09-10 08:19:44 +00:00
jez
63ed794d58
finished adding string adaptor param to DOM. everything builds and runs now
2007-09-08 22:31:24 +00:00
jez
63e18542a8
Fix for GCC on tiger
...
see http://sourceforge.net/mailarchive/forum.php?thread_name=m2sl5p4o2a.fsf%40gmail.com&forum_name=arabica-devel
2007-09-08 08:16: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
90685582ea
working on DOM template params - build is currently broken
2007-09-07 22:03:27 +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
8e0c0ec4f0
template param fixes for garden
2007-09-06 15:07:16 +00:00
jez
905d680b3d
more template stuff
2007-09-06 10:51:50 +00:00
jez
77c2d74398
more template parameter malarkey
2007-09-06 09:04:01 +00:00
jez
abca0daf9a
first pass adding string_adaptor parameter
2007-09-05 22:08:51 +00:00
jez
635707cdde
built through with expat, libxml2, xerces, and garden
2007-09-05 13:54:04 +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
9cd4752c00
Prevent hierarchy exception if the parser reports the DTD as a skipped entity
2007-08-26 23:12:49 +00:00
jez
83c34592f3
2007-08-25 11:51:29 +00:00
jez
ccde3a8404
pass through prefix mappings too, so we pick up the namespace declatations in included docs
2007-08-25 09:33:11 +00:00
jez
320344dfec
set base URI correctly on included stylesheets, while also respecting xml:base (like Saxon, but not like msxml and xalan, ner ner)
2007-08-24 12:37:32 +00:00