jez
a0083c14d2
''
2007-11-19 22:11:05 +00:00
jez
0d385d1ab2
xsl:call-template throws if it can't find a matching template
2007-11-16 23:11:39 +00:00
jez
a9d7e1dcdd
verify xsl:sort attribute values
2007-11-16 23:10:41 +00:00
jez
7962545efb
Blow up if unknown child element encounter
2007-11-16 22:27:21 +00:00
jez
308cde7df7
xsl:templates - make sure any mode attribute is not empty
2007-11-16 22:05:42 +00:00
jez
bfe132b8a5
ensure xsl:choose has at least one xsl:when
2007-11-16 22:03:47 +00:00
jez
8f6b783dc7
don't actually need to worry about refcounting here - in fact even though I was keeping count, I wasn't actually doing anything with it :)
2007-11-12 09:06:25 +00:00
jez
67ad360326
tightened constness on DOMImplementation
2007-11-12 09:04:54 +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
feb7ffb025
fixed for base URIs with leading ../
2007-11-11 21:35:17 +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
7b5f83ee43
fixed for empty comment
2007-11-11 21:31:49 +00:00
jez
a1c71b3625
xsl:message can contain an xsl:message - now handled properly
2007-11-11 21:31:10 +00:00
jez
8228130d7a
whipped out bit of old commented out code
2007-11-10 22:27:27 +00:00
jez
b3bbe5f533
commented out elephant headers
2007-11-10 22:26:37 +00:00
jez
99a5d5cb85
fixed local-name for namespace nodes
2007-11-10 22:23:36 +00:00
jez
7912efaa62
Stream Document fragment nodes properly
2007-11-10 22:22:26 +00:00
jez
6a25214982
''
2007-11-09 23:02:48 +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
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