Commit graph

15 commits

Author SHA1 Message Date
Jez Higgins
5ebb3f02b0 All done. Compiles and runs again. 2012-11-15 22:03:42 +00:00
Jez Higgins
39d85b29c6 First pass as parameterising the whole of the XSLT library on string_type is done 2012-11-12 21:46:08 +00:00
Jez Higgins
03cf2ed1a9 more templating 2012-11-09 19:17:13 +00:00
Jez Higgins
69f040133b execution context 2012-11-08 17:13:33 +00:00
Jez Higgins
2e1bbdbec9 sort 2012-11-05 09:18:08 +00: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
a1ed87da31 fix segfault using MSXML 2010-05-19 20:22:22 +01:00
Jez Higgins
9d7384c8ef fixed unused parameter warnings 2010-02-20 09:27:32 +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
3dc2f255c7 silenced many more warnings 2010-01-11 09:02:17 +00:00
Jez Higgins
74f8a55ed4 chmod -x *.hpp 2010-01-02 22:53:28 +00:00
jez
f74170e268 In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5,
'+1.5' converts to NaN.  Weird and counter-intuitive perhaps, but it's there
in the spec.

Sort now sets context node appropriately, so current() works in sorting 
expressions.
2008-11-03 22:19:59 +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
d30bba750e merged with mangle-dev branch 2007-07-19 17:01:42 +00:00