Commit graph

1172 commits

Author SHA1 Message Date
jez
0a2220dbb0 added operator<< back in for debugging 2008-12-02 11:26:28 +00:00
jez
cd97e2aa58 Correct top level variable declarations 2008-11-25 12:49:25 +00:00
jez
38d2783be3 Finally! Determining import precedence for templates is properly correct. 2008-11-25 12:27:33 +00:00
jez
fe40d482f5 Aha! The push/pop precedence thing is, of course, wrongly wrong. Need to assign the new precedence at the point we encounter the xsl:import, then set that precedence as current when we actually load it. I'll sort that out next time, because it's bedtime for programmers now. 2008-11-24 23:11:22 +00:00
jez
538a8969ad seed the Precedence next generation differently, so can pop as well as just push precedence stack as we unwind imports 2008-11-24 22:26:58 +00:00
jez
6f39b28daa Reworked current_generation stuff to use the templates' Precedence instead of a plain old int 2008-11-24 22:05:16 +00:00
jez
f610d739fe More work on rejigging precedence.
Templates are now constructed with their precedence.
Variables are too, with a tweak to allow for the immediate evaluation of non-topl-level params and vars.
The execution context now no longer needs to track variable precedence, which is good because it will be getting it wrong anyway.
Corresponding simplifications follow to compliation context.
2008-11-19 17:26:07 +00:00
jez
8d0ce36da3 Rework variable handling to use the Precedence class. Currently it has the same (incorrect) behaviour as before, but it's all part of moving to towards (what I hope will be) proper import precedence handling. 2008-11-05 22:55:53 +00:00
jez
e8c0aaa416 Started work on refactoring precedence handling. Need to try and preserver the tree shape it forms, rather than a simple case of monotonically increasing precen
I mean decreasing precedence.
2008-11-05 02:57:18 +00:00
jez
2b2c09b1f3 Took out unparsed-entity-uri(). Not having it is better than have a neutered version. 2008-11-05 02:55:44 +00:00
jez
6c8a3e8404 hmm, I'll be needing this to make the previous checkin actually work 2008-11-05 02:54:49 +00:00
jez
b74514bc58 Shuffled around the Stylesheet class. Stylesheet is now the public face, while CompiledStylesheet is what gets chucked around internally. 2008-11-05 01:33: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
db54b7c7bc In XPath numbers do not have leading +, so, while '-1.5' converts to -1.5, '+1.5' converts to NaN. Weird and counter-intuitive, but in the spec. 2008-11-03 18:29:10 +00:00
jez
b9a2e6e2f6 finished up Sorting expected fails 2008-11-03 10:21:56 +00:00
jez
ae7e196374 Updated Sorting expects 2008-11-02 20:25:58 +00:00
jez
dffb922156 Implemented generate-id function
Provided null implementation for unparsed-entity-uri
2008-10-27 22:21:30 +00:00
jez
57f793ccc8 provided null implementation for unparsed-entity-uri 2008-10-27 22:20:49 +00:00
jez
4e418a8622 Implemented generate-id function 2008-10-27 19:13:47 +00:00
jez
d1f9efc865 don't have to skip so many tests that sort 2008-10-27 16:00:12 +00:00
jez
04de9f2b60 Throw exception on xsl:sort lang not on order. Oops. 2008-10-27 14:26:20 +00:00
jez
c4d237e97b Bugfix: flush buffer on startEntity/endEntity 2008-10-21 22:54:37 +01:00
jez
7f99fa0b1e output warning message now directed to the message_sink 2008-10-21 22:53:00 +01:00
jez
4ee266a1a8 bumped version stamp 2008-10-17 23:07:22 +01:00
jez
81a7e9ab29 synced vs7 and vs8 project files with version. Everything builds through 2008-10-17 18:58:36 +01:00
jez
f47e49a04c added Taggle headers 2008-10-17 18:58:36 +01:00
jez
18c3c2f604 Direct informational messages to cerr not cout 2008-09-25 09:38:30 +01:00
jez
8fbedce990 Updated some Text and Variable skips 2008-09-19 09:03:19 +01:00
jez
ea9d34c7d0 Validates xml:space values. Attributes in the xml namespace now returned too 2008-09-19 09:03:19 +01:00
jez
d3f42542ad Updated template handler to use the attribute validator 2008-09-19 09:03:19 +01:00
jez
2f4848bedc Fixed element value when has consecutive text node descendants 2008-09-19 09:03:19 +01:00
jez
36400c00be Quick patch to stop Taggle mangling up UTF-8 multibyte sequences. 2008-09-19 09:03:19 +01:00
jez
93549c451d improved preceding and preceding-sibling in the face of consecutive text nodes 2008-09-18 22:43:56 +01:00
jez
9cbe2c1621 Added tests for preceding and preceding-sibling 2008-09-18 22:43:00 +01:00
jez
2cf6d009bf added some more following, following-sibling, and child axis tests in the presence of text nodes 2008-09-17 22:58:36 +01:00
jez
5bc070a966 Added more text node tests
Updated child and descendant axes to skip over adjacent text nodes
2008-09-16 10:00:53 +01:00
jez
a5deb92650 added a following and following-sibling axis test 2008-09-16 08:58:46 +01:00
jez
49fa53e9b0 Updated child and descendant axis to skip over adjacent text nodes 2008-09-16 08:58:18 +01:00
jez
9c839505dd added more text node tests 2008-09-16 08:31:30 +01:00
jez
57e8e9248e Reworked node value to combine consecutive text nodes together into a single value 2008-09-13 18:36:46 +01:00
jez
fa3f59083c Added tests looking at the behaviour of XPath when dealing with text nodes. I want XPath the evaluate as if the DOM had been normalised, even if it hasn't. That is, consecutive text nodes should be treated as a single node. 2008-09-13 18:36:46 +01:00
jez
b495dc316f vs8 project files munged from vs9 files - don't try this at home either 2008-09-13 18:36:46 +01:00
jez
19da22b16a vs7 project files munged from vs9 files - don't try this at home 2008-09-13 18:36:46 +01:00
jez
e03345f5df vs7 back-portability fixes 2008-09-13 18:36:46 +01:00
jez
25dc9795ab slipped TextCoalescer filter into the DOM builder, so that consecutive bits of text get applied to a single Text or CDATA node, rather than as a series of nodes. (A series of nodes is perfectly legal, it's just slightly unexpected. Even to me, and I work with DOMs a lot :) 2008-09-03 00:44:50 +01:00
jez
d173537cde sync with home 2008-09-03 00:39:39 +01:00
jez
f96de3937d little script to backport vs9 project files to earlier versions of vs 2008-09-02 10:15:02 +01:00
jez
bc233d68ca Updated NodeTest to match CDATA sections as well as text nodes. 2008-08-26 11:53:14 +01:00
jez
5e1868b525 added bzip2 and zip bundles to the dist target 2008-08-26 11:53:14 +01:00
jez
8a695424ed corrected Makefile - it's TableTestResult.hpp not .h 2008-08-26 11:51:31 +01:00