Commit graph

256 commits

Author SHA1 Message Date
Jez Higgins
efcb81b80c sink 2012-11-06 19:29:22 +00:00
Jez Higgins
3d0806460d output handler 2012-11-06 19:09:20 +00:00
Jez Higgins
29b9db9e80 namespace alias 2012-11-06 19:05:52 +00:00
Jez Higgins
ab7e8337a2 keyhandler 2012-11-06 19:02:31 +00:00
Jez Higgins
db1f9bac46 key 2012-11-06 09:17:16 +00:00
Jez Higgins
c970605a0f param 2012-11-06 08:29:42 +00:00
Jez Higgins
bbafbf4b63 toplevel param 2012-11-06 08:20:10 +00:00
Jez Higgins
25e0671eb2 withparam 2012-11-06 08:14:07 +00:00
Jez Higgins
c58ae015b8 withparam 2012-11-06 08:11:27 +00:00
Jez Higgins
3b4ec78a13 template 2012-11-06 07:53:00 +00:00
Jez Higgins
4197825a7c template 2012-11-06 07:50:57 +00:00
Jez Higgins
456b38c37f gcc fixes 2012-11-05 09:22:05 +00:00
Jez Higgins
2e1bbdbec9 sort 2012-11-05 09:18:08 +00:00
Jez Higgins
16e61b50fb item_container_handler 2012-11-04 22:39:16 +00:00
Jez Higgins
2a83b64cf3 genericised childelement 2012-11-04 22:34:40 +00:00
Jez Higgins
b567e0f668 qualifiers 2012-11-04 17:24:37 +00:00
Jez Higgins
ab2ae612c9 inline elements 2012-11-04 17:22:47 +00:00
Jez Higgins
1dd953346b typename 2012-11-04 17:15:34 +00:00
Jez Higgins
40cb778596 copy and copy_of 2012-11-04 17:12:14 +00:00
Jez Higgins
fc91f0329a message 2012-11-04 17:07:41 +00:00
Jez Higgins
769a5b98a3 typename fix 2012-11-04 13:09:12 +00:00
Jez Higgins
0ea5226801 processing instruction 2012-11-04 13:04:08 +00:00
Jez Higgins
895bd0baf3 notimplementedyethandler 2012-11-04 08:41:53 +00:00
Jez Higgins
a792502472 element 2012-11-04 08:38:48 +00:00
Jez Higgins
4ddf44c269 apply_templates 2012-11-03 09:54:07 +00:00
Jez Higgins
69e767f668 for_Each 2012-11-03 09:38:31 +00:00
Jez Higgins
fc7b6be757 for_each 2012-11-03 09:37:53 +00:00
Jez Higgins
842feef711 for_each 2012-11-03 09:37:13 +00:00
Jez Higgins
c358aacccd qualify base class calls 2012-11-02 23:33:41 +00:00
Jez Higgins
732f316710 qualify base class call 2012-11-02 23:30:39 +00:00
Jez Higgins
f3e661c715 corrections, more templateing 2012-11-02 23:16:43 +00:00
Jez Higgins
7d76185a44 value_if 2012-11-02 23:07:17 +00:00
Jez Higgins
3743972b0a text 2012-11-02 23:00:31 +00:00
Jez Higgins
0d3a91876a if 2012-11-02 22:56:14 +00:00
Jez Higgins
d68a9240ce attribute and call_tempalte 2012-11-02 22:52:42 +00:00
Jez Higgins
e3a06bec80 choose handler 2012-11-02 22:46:11 +00:00
Jez Higgins
52f9db8061 comment handler 2012-11-02 22:37:46 +00:00
Jez Higgins
6c8f6246bf Starting to parameterise the XSLT library 2012-11-02 21:01:15 +00:00
jez
247b2170a0 if no namespace, assume in the XSL namespace 2011-01-01 22:58:29 +00:00
jez
dbfcf1c41b fix output for CDATA sections that contain ]]> 2010-12-21 09:47:22 +00:00
jez
af44166e99 Silence unused variable warning 2010-10-22 10:32:03 +01:00
Jez Higgins
144fb9a6d6 Disallow variable references in xsl:key match and use expressions 2010-10-09 23:10:35 +01:00
Jez Higgins
f8d7701f12 Named templates now take precedence into account - templates with higher precedence are discarded 2010-10-07 22:48:03 +01:00
Jez Higgins
3beed1d092 Verify that qNames used in the stylesheet (for template names and what not) have prefixes which are actually bound 2010-10-06 22:37:01 +01:00
Jez Higgins
981fd4e9e3 Failed if namespace was explicitly given as empty. Fixed 2010-10-05 09:39:58 +01:00
Jez Higgins
ccc4836fd7 Allow and ignore attributes in foreign namespaces 2010-10-05 09:39:05 +01:00
Jez Higgins
eda354be6d Correctly implement the xsl:sort option attributes as attr-value-templates. Validate values *after* evaulated AVT, not before. Doh 2010-10-04 22:18:39 +01:00
jez
94b834ff30 Sorted out exception handling in MSXML ContentHandler wrapper so that it no longer corrupts the stack 2010-05-21 09:56:18 +01:00
jez
a1ed87da31 fix segfault using MSXML 2010-05-19 20:22:22 +01:00
Jez Higgins
04754750c5 fixed initialisation order warnings 2010-02-21 22:29:06 +00:00
Jez Higgins
94a28f07f8 filled out element-available implementation 2010-02-21 22:14:04 +00:00
Jez Higgins
44b5d6ed3a whipped up a quick do-nothing (ie broken) implementation of element-available 2010-02-21 18:35:58 +00:00
Jez Higgins
7977423180 fixed warning 2010-02-20 23:39:38 +00:00
Jez Higgins
bd9052e486 think I finally done function-available 2010-02-20 23:25:36 +00:00
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
9d7384c8ef fixed unused parameter warnings 2010-02-20 09:27:32 +00:00
Jez Higgins
4e29877ac1 initial implementation of function-available, currently returned only false 2010-02-19 23:21:30 +00:00
jez
427129f83d refactored string sorting 2010-02-16 10:18:29 +00:00
jez
95c8185828 refactored numeric sort 2010-02-16 08:59:45 +00:00
Jez Higgins
613f99af9d xsl:sort/@lang - still don't do anything with it, but now only output a warning rather than throwing an exception 2010-01-13 22:13:12 +00:00
Jez Higgins
b46b48d006 I think that's the last of the warnings 2010-01-11 09:28:48 +00:00
Jez Higgins
3dc2f255c7 silenced many more warnings 2010-01-11 09:02:17 +00:00
Jez Higgins
953e46ba92 another warning squashed 2010-01-10 22:59:33 +00:00
Jez Higgins
36a305d55b fixed more warnings 2010-01-10 22:02:43 +00:00
Jez Higgins
2e82578767 more warnings silenced 2010-01-10 21:25:35 +00:00
Jez Higgins
74f8a55ed4 chmod -x *.hpp 2010-01-02 22:53:28 +00:00
Jez Higgins
181d5eab5c normalize whitespace when extracting CDATA element names 2010-01-02 22:21:38 +00:00
Jez Higgins
29d425528d popped quotes around the wrong thing 2010-01-02 22:20:13 +00:00
Jez Higgins
d7c3b7c260 reverted work on variables - will come back to it another time 2009-12-14 23:55:56 +00:00
Jez Higgins
5fa42997f4 make each variable its own little stack frame. i am, howver, going to back all this stuff out because I'm getting it wrong in some subtle but segfaulty way 2009-12-14 22:40:05 +00:00
jez
17e93705ae redirect to DOMSink when evaluating variables. This wasn't being done for ResolvedVariables and so everything was exploding. 2009-12-14 14:20:12 +00:00
jez
3991f80eb2 increment changes with the aim of improviing performance of variables 2009-11-23 21:00:23 +00:00
jez
6785fd8944 litte bit more work on variable resolution, but train in v wobbly and it giving me a headache 2009-10-05 19:27:24 +01:00
jez
29f73f285b When declaring a parameter, only create a new variable closure if a parameter
hasn't been passed.
2009-08-18 21:16:12 +01:00
jez
db940c9b78 Pass select by const ref not by value 2009-08-18 20:42:37 +01:00
jez
1f12f0a2f0 nodeset functions now use NodeSetXPathFunction base class 2009-07-13 09:24:26 +01:00
jez
428121bab4 moved string functions to use StringXPathFunction base class 2009-07-13 09:13:50 +01:00
jez
014ea05879 updated TO-DO to include various performance improvement ideas 2009-05-05 19:30:47 +01:00
jez
d681db69b2 Literal result element as stylesheet - done 2009-04-28 20:59:52 +01:00
jez
9f6fbba927 removed left over stuff for foreign element handling 2009-04-28 09:00:05 +01:00
jez
7b1c5c9541 started on literal result elements as stylesheet 2009-04-28 08:57:14 +01:00
jez
bf5799eefd pulled foreign element handling - fixed parameter order inconsistency 2009-04-24 19:02:14 +01:00
jez
6081659b71 neatening 2009-04-24 15:54:13 +01:00
jez
62b24c144d Resolved cdata-section-element names so that unprefixed names are in the default namespace. Merge multiple xsl:output/@cdata-section-elements 2009-04-07 13:39:31 +01:00
jez
b70e521d79 hooked up cdata-section-elements to the output 2009-04-07 10:29:56 +01:00
jez
f6dfa127a1 OK, forget what I said about state machines, let just hack in some flags.
Initial work on CDATA section output.  If I manually populate the set of 
cdata section elements, everything looks great, so I just need to hook that up.
Added operator< to QName so I pop it in a std::set.
2009-04-03 19:01:26 +01:00
jez
89f6585d65 pulled output into its own file 2009-03-31 20:06:06 +01:00
jez
f373a1d01b some work on implementing cdata section output, then realised it would probably be easier if I dropped a state machine in there 2009-03-31 20:00:26 +01:00
jez
7dd3cb4ab4 blow up if we see an extension prefix declaration 2009-03-31 09:15:32 +01:00
jez
94d5a26c6c skip test for two arg version of document() - not yet implemented 2009-03-27 08:30:28 +00:00
jez
83cd0cd15b working on the IdKey match pattern - currently crashes 2009-03-17 21:08:26 +00:00
jez
9f4c8d213a xsl:stylesheet can have an id attribute 2009-03-17 19:07:00 +00:00
jez
67e8a31360 allow whitespace within xsl:output 2009-03-17 09:07:22 +00:00
jez
8f97c52f8a added copy constructor to KeyFunction::UriMapper - some compilers want to copy, while the cooler ones can optimise that copy away :) 2009-03-04 20:34:30 +00:00
jez
b01c03f591 exclude attributes in the XSL namespace from literal elements 2009-03-03 18:15:34 +00:00
jez
b6c83a0028 corrected key population when use is a union 2009-03-03 08:12:26 +00:00
jez
9ddbb95491 implemented nodeset version of key() 2009-03-03 07:58:29 +00:00
jez
88150c062e use NodeSet.to_document_order instead of sort 2009-03-03 07:58:14 +00:00