Commit graph

31 commits

Author SHA1 Message Date
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
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
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
2231423e33 escape naughty text when outputting processing instructions and comments 2007-11-02 21:55:50 +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
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
3e246cb85a xsl:apply-imports - params are not passed on through an xsl:apply-imports call 2007-10-25 22:08:31 +00:00
jez
af3ebfde60 s/XPathExpressionPtr/XPathExpression/g 2007-10-25 20:42:00 +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
3f156c9fcf reworked MatchExpr so that it doesn't expose its inner XPathExpression 2007-10-14 20:06:27 +00:00
jez
889305618e fixes for older gcc 2007-09-28 08:30:16 +00:00
jez
63e18542a8 Fix for GCC on tiger
see http://sourceforge.net/mailarchive/forum.php?thread_name=m2sl5p4o2a.fsf%40gmail.com&forum_name=arabica-devel
2007-09-08 08:16:24 +00:00
jez
bbcf3e1001 all SAX classes now take both string_type and string_adaptor. everything builds through. tests pass 2007-09-06 18:54:02 +00:00
jez
a76b137b60 removed basic_ prefixes from SAX classes, removed typedefs 2007-09-05 12:57:07 +00:00
jez
7cf3897061 renamed all .h to .hpp 2007-09-04 22:55:47 +00:00
jez
83c34592f3 2007-08-25 11:51:29 +00:00
jez
ccde3a8404 pass through prefix mappings too, so we pick up the namespace declatations in included docs 2007-08-25 09:33:11 +00:00
jez
320344dfec set base URI correctly on included stylesheets, while also respecting xml:base (like Saxon, but not like msxml and xalan, ner ner) 2007-08-24 12:37:32 +00:00
jez
70910a56de allow non xsl elements as children of xsl:stylesheet 2007-08-24 08:52:12 +00:00
jez
9d70b5c1c0 now handles document('') 2007-08-24 08:51:31 +00:00
jez
d63b9a504c make document(url) respect base URI 2007-08-23 13:55:06 +00:00
jez
f036ba1b64 pulled out stylesheet parser into a seperate class 2007-08-22 12:38:20 +00:00
jez
e95b455b83 check select returns a node-set 2007-08-22 12:23:38 +00:00
jez
1108d7f5de whitespace changes 2007-08-22 12:22:57 +00:00
jez
d30bba750e merged with mangle-dev branch 2007-07-19 17:01:42 +00:00