Commit graph

867 commits

Author SHA1 Message Date
jez
3441a1271e 2007-12-30 22:33:14 +00:00
jez
adc1150712 2007-12-29 23:35:01 +00:00
jez
462274002e updated 2007-12-29 22:30:34 +00:00
jez
7bd88a7bbe 2007-12-25 22:23:25 +00:00
jez
16e8a45e86 added fails for XSLTFunctions 2007-12-25 21:58:52 +00:00
jez
0850f50269 tweaking document order across documents - not for any better reason than making a test case pass 2007-12-25 21:56:28 +00:00
jez
b3939f14ab removed IBM437 encoding declaration - WTF is IBM427 anyway 2007-12-25 20:54:42 +00:00
jez
934a03e703 oops - ncnames don't contain colons 2007-12-23 22:52:39 +00:00
jez
27d23630ce fixed test 2007-12-23 21:32:04 +00:00
jez
95a3a42002 can see it now - uninitialised variable 2007-12-23 09:51:28 +00:00
jez
2e6c372933 hacked up a ncname test, although it's not working at the moment and I'm tired and can't think 2007-12-22 22:21:26 +00:00
jez
12b6b5dd92 2007-12-22 18:27:23 +00:00
jez
432191dfbe 2007-12-21 17:03:09 +00:00
jez
be877b8d50 MSVC can't handle static members in nest classes of template classes 2007-12-21 17:02:12 +00:00
jez
235f81718d Added Expression_scanner and scan (a visitor pattern basically) to allow XPathExpression_impls to be examined. This is used in the match rewriting to search for position() and last() function calls.
To ease implementing scan, BinaryExpression and UnaryExpression now inherit XPathExpression_impl.  Other classes now derived only from Binary|UnaryExpression rather than from XPathExpression_impl as well.
2007-12-21 15:56:04 +00:00
jez
ccade5d5f5 added xpath_match_rewrite.hpp 2007-12-21 14:28:24 +00:00
jez
a2ecaa6b46 added xslt_test.cpp 2007-12-21 14:28:06 +00:00
jez
a8ce93f89b First proper go at rewriting positional matches. 2007-12-21 14:13:36 +00:00
jez
cbc9cf3797 it's late 2007-12-20 23:24:16 +00:00
jez
f87c01fc53 2007-12-20 16:23:56 +00:00
jez
cdac22542e added type() to XPath expressions. I need this to allow XSLT match patterns to be rewritten properly - see http://www.jezuk.co.uk/cgi-bin/view/arabica/log?id=3546 - but it will also be useful for compile time checking (should I get sufficiently keen :) 2007-12-18 23:03:16 +00:00
jez
fc982bf8e8 return pass/fail to environment 2007-12-08 21:20:28 +00:00
jez
3c13a1af81 return pass/fail to environment 2007-12-08 20:47:53 +00:00
jez
29a3d1f63b add test for windows file path 2007-12-08 20:47:32 +00:00
jez
115abdb35b special case for windows file paths 2007-12-08 20:47:01 +00:00
jez
ad597b2374 minor change to return pass/fail from run 2007-12-08 20:46:40 +00:00
jez
02fe02da03 "If the parser has not read a declaration for the attribute, or if the
parser does not report attribute types, then it must return the value
"CDATA" as stated in the XML 1.0 Recommentation (clause 3.3.3,
"Attribute-Value Normalization")."

and:
"Returns: The attribute's type as a string, or an empty string if the
index is out of range."

Problem found reported by Christoph Anderegg, christoph@anderegg-sommer.ch
and corrected with this commit.
2007-12-07 23:28:59 +00:00
jez
6d0c134c61 - 2007-12-01 21:52:15 +00:00
jez
e659f3cce4 changed scope of StackFrame for apply templates 2007-11-26 23:17:11 +00:00
jez
f1f729917e 2007-11-26 23:16:25 +00:00
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