Commit graph

  • 297345f3c3 started filling out xsl:key and keys. need to do a bit of refactoring around QNames now, to make everything a little easier jez 2009-02-18 09:36:41 +0000
  • b22708f126 s/XPathValuePtr/XPathValue/ jez 2009-02-18 08:37:16 +0000
  • 0b2bb658b9 Skinned up skeleton implementation of key() function. Doesn't do anything yet though :) jez 2009-02-18 08:37:00 +0000
  • 4d9c2a485a started work on xsl:key/key() jez 2009-02-16 22:10:00 +0000
  • 3e3447dcff marked a couple of skips jez 2009-01-03 22:01:33 +0000
  • ae1b2f0acb better frag checking jez 2009-01-03 21:41:45 +0000
  • c7a3f9be3f improved validation on template priority value jez 2009-01-03 21:41:26 +0000
  • bd49423c2d synced laptop. added include tests with loops jez 2009-01-02 23:54:58 +0000
  • c9b50e484e working on attribute tests jez 2009-01-02 23:08:49 +0000
  • 2877e7e9b7 escape tab, CR, & LF in attribute values jez 2009-01-02 23:08:22 +0000
  • e944732d82 detects loops in imports as well as includes jez 2008-12-29 22:29:27 +0000
  • 8c65657d84 added currentBase - handy for debugging jez 2008-12-29 22:29:04 +0000
  • 73a90f502d catch include loops jez 2008-12-29 21:14:44 +0000
  • 83894f9e17 Started reinstating loop checking during imports and includes. Loops in includes are detected, however imports are not yet. jez 2008-12-02 17:43:46 +0000
  • 3ea6fde701 marked another couple of variable tests as skips jez 2008-12-02 11:31:59 +0000
  • ab4f951840 fixed top level variable precedence jez 2008-12-02 11:26:58 +0000
  • 0a2220dbb0 added operator<< back in for debugging jez 2008-12-02 11:26:28 +0000
  • cd97e2aa58 Correct top level variable declarations jez 2008-11-25 12:49:25 +0000
  • 38d2783be3 Finally! Determining import precedence for templates is properly correct. jez 2008-11-25 12:27:33 +0000
  • 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. jez 2008-11-24 23:11:22 +0000
  • 538a8969ad seed the Precedence next generation differently, so can pop as well as just push precedence stack as we unwind imports jez 2008-11-24 22:26:58 +0000
  • 6f39b28daa Reworked current_generation stuff to use the templates' Precedence instead of a plain old int jez 2008-11-24 22:05:16 +0000
  • 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. jez 2008-11-19 17:26:07 +0000
  • 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. jez 2008-11-05 22:55:53 +0000
  • 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. jez 2008-11-05 02:57:18 +0000
  • 2b2c09b1f3 Took out unparsed-entity-uri(). Not having it is better than have a neutered version. jez 2008-11-05 02:55:44 +0000
  • 6c8a3e8404 hmm, I'll be needing this to make the previous checkin actually work jez 2008-11-05 02:54:49 +0000
  • b74514bc58 Shuffled around the Stylesheet class. Stylesheet is now the public face, while CompiledStylesheet is what gets chucked around internally. jez 2008-11-05 01:33:28 +0000
  • 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. jez 2008-11-03 22:19:59 +0000
  • 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. jez 2008-11-03 18:29:10 +0000
  • b9a2e6e2f6 finished up Sorting expected fails jez 2008-11-03 10:21:56 +0000
  • ae7e196374 Updated Sorting expects jez 2008-11-02 20:25:58 +0000
  • dffb922156 Implemented generate-id function Provided null implementation for unparsed-entity-uri jez 2008-10-27 22:21:30 +0000
  • 57f793ccc8 provided null implementation for unparsed-entity-uri jez 2008-10-27 22:20:49 +0000
  • 4e418a8622 Implemented generate-id function jez 2008-10-27 19:13:47 +0000
  • d1f9efc865 don't have to skip so many tests that sort jez 2008-10-27 16:00:12 +0000
  • 04de9f2b60 Throw exception on xsl:sort lang not on order. Oops. jez 2008-10-27 14:26:20 +0000
  • c4d237e97b Bugfix: flush buffer on startEntity/endEntity jez 2008-10-21 22:54:37 +0100
  • 7f99fa0b1e output warning message now directed to the message_sink jez 2008-10-21 22:53:00 +0100
  • 4ee266a1a8 bumped version stamp jez 2008-10-17 23:07:22 +0100
  • 81a7e9ab29 synced vs7 and vs8 project files with version. Everything builds through jez 2008-10-17 18:58:36 +0100
  • f47e49a04c added Taggle headers jez 2008-10-17 18:58:36 +0100
  • 18c3c2f604 Direct informational messages to cerr not cout jez 2008-09-25 09:38:30 +0100
  • 8fbedce990 Updated some Text and Variable skips jez 2008-09-19 09:03:19 +0100
  • ea9d34c7d0 Validates xml:space values. Attributes in the xml namespace now returned too jez 2008-09-19 09:03:19 +0100
  • d3f42542ad Updated template handler to use the attribute validator jez 2008-09-19 09:03:19 +0100
  • 2f4848bedc Fixed element value when has consecutive text node descendants jez 2008-09-19 09:03:19 +0100
  • 36400c00be Quick patch to stop Taggle mangling up UTF-8 multibyte sequences. jez 2008-09-19 09:03:19 +0100
  • 93549c451d improved preceding and preceding-sibling in the face of consecutive text nodes jez 2008-09-18 22:43:56 +0100
  • 9cbe2c1621 Added tests for preceding and preceding-sibling jez 2008-09-18 22:43:00 +0100
  • 2cf6d009bf added some more following, following-sibling, and child axis tests in the presence of text nodes jez 2008-09-17 22:58:36 +0100
  • 5bc070a966 Added more text node tests Updated child and descendant axes to skip over adjacent text nodes jez 2008-09-16 10:00:53 +0100
  • a5deb92650 added a following and following-sibling axis test jez 2008-09-16 08:58:46 +0100
  • 49fa53e9b0 Updated child and descendant axis to skip over adjacent text nodes jez 2008-09-16 08:58:18 +0100
  • 9c839505dd added more text node tests jez 2008-09-16 08:31:30 +0100
  • 57e8e9248e Reworked node value to combine consecutive text nodes together into a single value jez 2008-09-13 18:36:46 +0100
  • 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. jez 2008-09-13 18:36:46 +0100
  • b495dc316f vs8 project files munged from vs9 files - don't try this at home either jez 2008-09-13 18:36:46 +0100
  • 19da22b16a vs7 project files munged from vs9 files - don't try this at home jez 2008-09-13 18:36:46 +0100
  • e03345f5df vs7 back-portability fixes jez 2008-09-13 18:36:46 +0100
  • 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 :) jez 2008-09-03 00:44:50 +0100
  • d173537cde sync with home jez 2008-09-03 00:39:39 +0100
  • f96de3937d little script to backport vs9 project files to earlier versions of vs jez 2008-09-02 10:15:02 +0100
  • bc233d68ca Updated NodeTest to match CDATA sections as well as text nodes. jez 2008-08-26 11:53:14 +0100
  • 5e1868b525 added bzip2 and zip bundles to the dist target jez 2008-08-26 11:53:14 +0100
  • 8a695424ed corrected Makefile - it's TableTestResult.hpp not .h jez 2008-08-26 11:51:31 +0100
  • d01be793d4 maybe I'll release this month? jez 2008-08-25 23:07:19 +0000
  • cec3c0c659 reworked absolutising, it's better, but I need to go back to the RFC at some point jez 2008-08-25 23:05:37 +0000
  • 3d661b355c added extra URI tests. One failing case at the moment, which will be sorted out next time jez 2008-08-14 21:45:32 +0000
  • 07ef52f308 Added -table option to test executables. It outputs the results as a tab seperated table, which can be pasted into spreadsheet/google docs/etc. jez 2008-08-09 23:19:21 +0100
  • 5870c68fa6 fiddled with NamedTemplates tests jez 2008-08-09 23:12:58 +0100
  • 119d03572f started running the Text tests jez 2008-08-09 21:03:36 +0100
  • 1ad8594aad updated attribute validation to allow attributes in the xml namespace jez 2008-08-09 21:03:15 +0100
  • f7dca473b5 Started work on Stylesheet tests jez 2008-08-09 20:03:39 +0100
  • 6f33aea5f3 sorted out Namespace_XPath tests jez 2008-08-09 18:25:36 +0100
  • cd3577292d Ensure an unbound namespace prefix throws an exception jez 2008-08-09 18:24:34 +0100
  • b668bdc3b2 removed TODO comment, because I actually did it sometime ago jez 2008-08-09 18:24:11 +0100
  • a1890d2a31 amazingly, the XPath prefix:* didn't compile. I had no test for it, and had overlooked it. fixed jez 2008-08-09 17:32:28 +0100
  • 04af379b54 ensure @xmlns|@xsmlns:* selects no nodes jez 2008-08-09 17:03:44 +0100
  • 3511768691 was evaluating select expression twice - there was no need jez 2008-08-09 17:03:02 +0100
  • 8e648de0af started running Namespace_XPath tests jez 2008-08-09 10:34:14 +0100
  • 0aeeb9c1fb Don't suppress element namespace prefixes or attributes which are in the XSL namespace. jez 2008-08-08 22:46:18 +0100
  • 468d401865 converted tabs to spaces jez 2008-08-08 22:45:53 +0100
  • 4e77e95aac started running some more of the MS tests jez 2008-08-08 22:00:36 +0100
  • a09ad003e8 Add configure option to disable running tests. jez 2008-08-07 21:53:53 +0100
  • bc9bc15b6a Add configure option to disable running tests. make check will still build tests, but will not run them. --with-tests=no to manually disable. Tests are automatically disabled if cross-compiling. jez 2008-08-07 18:56:02 +0100
  • b08e5f8ab5 Visual Studio 6 hasn't been a build target for some time now. Removed the left over bits of VS6 specific workarounds. jez 2008-08-06 23:05:53 +0100
  • 812925e669 Added configure tests for std::mbstate_t and/or mbstate_t. Some platforms don't have it (VxWorks, for example). jez 2008-08-06 22:31:39 +0100
  • 363a413a53 When running stylesheet, resolve variable values straightaway. This flushes out unresolved references and so on, although only in templates which are actually run. Added several more test cases. jez 2008-08-06 12:34:35 +0100
  • fc2a67619b Corrected spelling of precedence. I have no idea why I had it wrong in the first place, it just seems to be what comes out of my fingers jez 2008-08-06 12:07:59 +0100
  • b187cc1667 Removed use of boost:ptr_vector. Turns out that std::vector<boost::ptr_vector<something> > won't compile. Also see http://sourceforge.net/mailarchive/message.php?msg_name=2103b1960807291110y5f0063eaqb4c855f5aa56974e%40mail.gmail.com and discussion for bonus reason. jez 2008-08-06 11:48:06 +0100
  • 1ce9e00043 Convert \ to / for relative paths as well as absolute windows paths. jez 2008-08-06 09:38:06 +0100
  • 843631092c Resolve top level variables, to make sure they are properly defined. Variables within templates are not resolved in this way unless they are actually used. jez 2008-08-05 22:17:08 +0100
  • b559feb7be Added several more variables tests, related the namespace prefixes fixed internal qname resolution - 2.4 says unprefixed names are not in the default namespace fixed xsl:element - unprefixed names, when no namespace uri is supplied are in teh default namespace jez 2008-08-05 22:03:33 +0100
  • 72e8decc76 added some precedence tests jez 2008-08-05 20:35:28 +0100
  • 2667963142 Top level variables are now handled according to import precedence. jez 2008-08-05 18:29:18 +0100
  • 01db7aad46 added some new tests concerning variable declarations inside variables jez 2008-08-05 16:17:28 +0100
  • 538fe00271 whitespace changes jez 2008-08-05 15:32:40 +0100
  • 7007980d4d Variables_VariableScopeWithinLRE is an XML comparision not text jez 2008-08-04 07:20:39 +0100
  • 441be1bbf2 attribute and elements now form there own variable scope. jez 2008-08-03 17:11:27 +0100