Commit graph

837 commits

Author SHA1 Message Date
jez
213934528b xsl:stylesheet now allows top-level elements in a foreign namespace 2007-11-23 00:07:08 +00:00
jez
7c491700d3 disallow pcdata ahead of xsl:param 2007-11-22 23:02:08 +00:00
jez
5cbf3ff65e qname tests 2007-11-22 22:37:23 +00:00
jez
6425632f01 blow up if QName is bad 2007-11-22 22:36:47 +00:00
jez
4ed4928695 check xsl:for-each selects a node-set, I suspect it should be able to diagnose this at compile time but it at least it fails :) 2007-11-22 21:54:51 +00:00
jez
ccbdeeaa41 added a quick pi test 2007-11-22 21:53:44 +00:00
jez
c7c0c3d36c xsl:processing-instruction shouldn't allow xml as the name 2007-11-22 21:24:17 +00:00
jez
cdebc3d128 moved namespace and function resolver into compilation context. disallowed current() in match patterns 2007-11-22 19:24:18 +00:00
jez
375a2d584f no longer expose xpath compiler directly during XSLT compilation 2007-11-22 17:50:25 +00:00
jez
69a322f7f2 Alex Ott's patch to kill an initialisation order warning 2007-11-22 16:50:33 +00:00
jez
e2713a0fbc DOM stream now outputs <elem/> for empty elements 2007-11-22 16:49:25 +00:00
jez
146698bcde removed unused param 2007-11-22 16:48:18 +00:00
jez
83602c0417 removed a skip - fixed the bug 2007-11-21 22:36:07 +00:00
jez
95857fc467 detect duplicate variable and parameter names 2007-11-21 22:35:04 +00:00
jez
341d3db1ac reworked stylesheet compiler and inclusion to trap illegal elements as xsl:stylesheet's children 2007-11-21 22:34:15 +00:00
jez
e027a3cef9 concentrating on Errors section atm 2007-11-21 22:32:17 +00:00
jez
a9a5858300 working on detecting illegal xsl:stylesheet children - including is currently broken 2007-11-20 23:12:08 +00:00
jez
1f7dd78a3e minor reowkring to support my own test suite 2007-11-20 23:08:49 +00:00
jez
491b6c9739 added some of my own tests 2007-11-20 23:06:59 +00:00
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