jez
68a6d52d11
don't output attributes in the xsl namespace or declare the namespace itself
2007-11-08 23:05:46 +00:00
jez
2053c94f4a
Use std::stable_sort instead of std::sort. When xsl:sort specifies a numerical sort, but you've got some string data in there we need to maintain the relative of that string data. This is the first time I've actually used std::stable_sort. I will mark it down in my big book of programming accomplishments.
2007-11-03 01:55:20 +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
2231423e33
escape naughty text when outputting processing instructions and comments
2007-11-02 21:55:50 +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
82f22d9dd3
changes to variable scoping in xsl:for-each, xsl:if, and xsl:choose.
2007-11-01 22:28:20 +00:00
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
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
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
240c97814c
added dom2pyx example
2007-10-25 20:40:08 +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
29b4f59ee5
bumped version
2007-10-02 11:46:37 +00:00
jez
889305618e
fixes for older gcc
2007-09-28 08:30:16 +00:00
jez
cd4c50772a
oops - correct version
2007-09-26 09:06:10 +00:00
jez
896cc70503
2007-09-26 08:58:44 +00:00
jez
80c2db05f9
bumped version
2007-09-26 08:57:02 +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
0e02b8cdf3
sorted out file paths
2007-09-13 21:19:53 +00:00
jez
77fdf64971
sorted out makefiles to fix dist targets
2007-09-11 09:25:18 +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
07323ba4fb
changes to docs target
2007-09-11 08:32:05 +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
0281c34a61
moved from Arabica::Internal namespace to Arabica::convert::impl namespace
2007-09-10 16:27:53 +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