Commit graph

967 commits

Author SHA1 Message Date
jez
119d03572f started running the Text tests 2008-08-09 21:03:36 +01:00
jez
1ad8594aad updated attribute validation to allow attributes in the xml namespace 2008-08-09 21:03:15 +01:00
jez
f7dca473b5 Started work on Stylesheet tests 2008-08-09 20:03:39 +01:00
jez
6f33aea5f3 sorted out Namespace_XPath tests 2008-08-09 18:25:36 +01:00
jez
cd3577292d Ensure an unbound namespace prefix throws an exception 2008-08-09 18:24:34 +01:00
jez
b668bdc3b2 removed TODO comment, because I actually did it sometime ago 2008-08-09 18:24:11 +01:00
jez
a1890d2a31 amazingly, the XPath prefix:* didn't compile. I had no test for it, and had overlooked it. fixed 2008-08-09 17:32:28 +01:00
jez
04af379b54 ensure @xmlns|@xsmlns:* selects no nodes 2008-08-09 17:03:44 +01:00
jez
3511768691 was evaluating select expression twice - there was no need 2008-08-09 17:03:02 +01:00
jez
8e648de0af started running Namespace_XPath tests 2008-08-09 10:34:14 +01:00
jez
0aeeb9c1fb Don't suppress element namespace prefixes or attributes which are in the
XSL namespace.
2008-08-08 22:46:18 +01:00
jez
468d401865 converted tabs to spaces 2008-08-08 22:45:53 +01:00
jez
4e77e95aac started running some more of the MS tests 2008-08-08 22:00:36 +01:00
jez
a09ad003e8 Add configure option to disable running tests. 2008-08-07 21:53:53 +01:00
jez
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.
2008-08-07 18:56:02 +01:00
jez
b08e5f8ab5 Visual Studio 6 hasn't been a build target for some time now. Removed the left over bits of VS6 specific workarounds. 2008-08-06 23:05:53 +01:00
jez
812925e669 Added configure tests for std::mbstate_t and/or mbstate_t. Some platforms
don't have it (VxWorks, for example).
2008-08-06 22:31:39 +01:00
jez
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.
2008-08-06 12:34:35 +01:00
jez
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 2008-08-06 12:07:59 +01:00
jez
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.
2008-08-06 11:48:06 +01:00
jez
1ce9e00043 Convert \ to / for relative paths as well as absolute windows paths. 2008-08-06 09:38:06 +01:00
jez
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.
2008-08-05 22:17:08 +01:00
jez
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
2008-08-05 22:03:33 +01:00
jez
72e8decc76 added some precedence tests 2008-08-05 20:35:28 +01:00
jez
2667963142 Top level variables are now handled according to import precedence. 2008-08-05 18:29:18 +01:00
jez
01db7aad46 added some new tests concerning variable declarations inside variables 2008-08-05 16:17:28 +01:00
jez
538fe00271 whitespace changes 2008-08-05 15:32:40 +01:00
jez
7007980d4d Variables_VariableScopeWithinLRE is an XML comparision not text 2008-08-04 07:20:39 +01:00
jez
441be1bbf2 attribute and elements now form there own variable scope. 2008-08-03 17:11:27 +01:00
jez
216bfe0590 working on Variables tests 2008-08-03 08:51:00 +01:00
jez
0c9ea8a23f added more detail for Variables test 2008-08-02 22:09:48 +00:00
jez
1ac9440433 reject variables/params which have both a select attribute and text content 2008-08-02 21:58:20 +00:00
jez
d357f70405 detect circular references and throw exception 2008-08-02 21:41:44 +00:00
jez
216cb5602a corrected xsl:stylesheet attribute validation
Changed default text handling.  Text containing only whitespace is no longer supressed.
added is_ncname_char
 added is_qname function, and tests
 Verify qNames when processing.
all Modes test now pass
2008-08-01 22:53:17 +01:00
jez
189ea0a33e corrected xsl:stylesheet attribute validation 2008-08-01 19:42:37 +01:00
jez
53c647c1a1 Changed default text handling. Text containing only whitespace is now output, where previously it was suppressed.
All Modes tests now pass.
2008-08-01 19:33:52 +01:00
jez
6a2101d6cb Verify qNames when processing. 2008-08-01 19:20:28 +01:00
jez
3a3f5d4b32 Validate xsl:stylesheet attributes properly 2008-08-01 19:19:49 +01:00
jez
f14cb010a3 added is_qname function, and tests 2008-08-01 13:02:41 +01:00
jez
e0fcea7d71 added is_ncname_char 2008-08-01 13:02:21 +01:00
jez
dc1873959d include ./doc in dist bundle
use doc/arabica.dox instead of Doxygfile
corrected copyright date
2008-07-30 17:23:32 +01:00
jez
a69c0b5876 include ./doc in dist bundle 2008-07-29 19:52:06 +01:00
jez
601afb4a0f use doc/arabica.dox instead of Doxygfile 2008-07-29 19:51:23 +01:00
jez
353ad2fa91 corrected copyright date 2008-07-29 19:50:33 +01:00
jez
63d1469755 added vs9 to distribution 2008-07-24 11:20:47 +01:00
jez
c5b4a7eae2 added library dependencies 2008-07-23 11:24:54 +01:00
jez
a61dc3dc70 added taggle example build file to vs7 and vs8 2008-07-21 08:58:16 +00:00
jez
69f4e5888f added taggle example to build 2008-07-21 09:38:34 +01:00
jez
83d1e971ff 2008-07-19 18:08:12 +00:00
jez
d118f6665a Removed VS6 workspace files. Wildly out of date, didn't build when I just tried, must have been broken for years, nobody's mentioned it 2008-07-19 19:03:18 +01:00