Commit graph

302 commits

Author SHA1 Message Date
jez
2cb2cc8bbe NamedNodeMap tests and bugfix 2009-11-23 22:36:15 +00:00
jez
3991f80eb2 increment changes with the aim of improviing performance of variables 2009-11-23 21:00:23 +00:00
Alex Ott
2eba62942a add virtual destructors for classes, to avoid warnings when inheriting from these classes 2009-10-06 15:13:17 +02:00
Alex Ott
42f85936fa explicit casting, to avoid warnings 2009-10-06 15:12:43 +02:00
Alex Ott
975cca8c20 Use proper boost includes for different boost versions
starting from boost 1.38, there is boost.spirit v2 in the repository, older version
could be used as 'classic'
2009-10-06 12:38:30 +02: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
U-isla\jez
2adf2618ed Pulled static const int definitions out into cpp file 2009-08-01 08:48:41 +01:00
jez
9d72ecf556 More work on optimising expression evaluation. 2009-07-31 17:44:54 +01:00
jez
1f12f0a2f0 nodeset functions now use NodeSetXPathFunction base class 2009-07-13 09:24:26 +01:00
jez
b56f09d2d9 added NodeSetXPathFunction base class 2009-07-13 09:24:03 +01:00
jez
428121bab4 moved string functions to use StringXPathFunction base class 2009-07-13 09:13:50 +01:00
jez
bbcae98bec renamed XPath function base classes, moved out of impl namespace 2009-07-13 09:13:11 +01:00
jez
41b0da452f added StringFunction base class 2009-07-13 08:47:46 +01:00
jez
c65cb5c8aa added NumericExpression and NumericFunction base classes 2009-07-13 08:24:52 +01:00
jez
7e3caeb2d0 converted AxisEnumerator to uses Node_impl* internally 2009-05-19 09:24:19 +01:00
jez
4611919eff whitespace changes 2009-05-18 19:33:04 +01:00
jez
a46276eb57 Reworked to reduce number of temporary objects created 2009-05-12 09:18:56 +01:00
jez
9167533dc8 compiled recent changes with GCC so made the necessary standard compliance fixes :) 2009-05-11 19:33:48 +01:00
jez
50e46f3bcc refactored to eliminate temporary object creation 2009-05-11 10:24:51 +01:00
jez
50fbb691cd efactgoring to avoid creating so many temporary objects when evaluation expressions and values 2009-05-11 08:55:52 +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
4f28c8ae71 key as match pattern now runs - woo 2009-03-23 19:38:59 +00:00
jez
0a6f2071eb Id and Key match patterns now compile 2009-03-23 19:08:04 +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
334317f422 filename case fixes 2009-03-12 20:00:35 +00:00
jez
8cadf886d0 Got Taggle test passing.
Rework Taggle's internal Element class to use a reference counting scheme, 
so it's passed around by reference, rather than y value (and hence having lots of copying).  I think the ref-counting is correct, but I haven't checked it yet.
2009-03-12 09:49:45 +00:00
jez
55e7094204 whitespace changes 2009-03-09 22:52:34 +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
jez
d7602d5a7d Windows compatibility fix - it defines min as a macro, so use bracket function call to defeat it 2009-02-26 14:38:23 +00:00
jez
e33535905a propagating qualified name changes 2009-02-26 14:04:41 +00:00