Jez Higgins
8f3b621410
Added new include file into distribution
2010-10-09 23:52:16 +01:00
Jez Higgins
144fb9a6d6
Disallow variable references in xsl:key match and use expressions
2010-10-09 23:10:35 +01:00
Jez Higgins
ffec8d53b9
Modified XPath parser/compiler so that we can disallow variables at compile time
2010-10-09 22:29:13 +01:00
Jez Higgins
c2d1e42c20
Modified XPath parser/compiler so that we can disallow variables at compile time
2010-10-09 22:04:56 +01:00
Jez Higgins
f8d7701f12
Named templates now take precedence into account - templates with higher precedence are discarded
2010-10-07 22:48:03 +01:00
Jez Higgins
3beed1d092
Verify that qNames used in the stylesheet (for template names and what not) have prefixes which are actually bound
2010-10-06 22:37:01 +01:00
Jez Higgins
981fd4e9e3
Failed if namespace was explicitly given as empty. Fixed
2010-10-05 09:39:58 +01:00
Jez Higgins
ccc4836fd7
Allow and ignore attributes in foreign namespaces
2010-10-05 09:39:05 +01:00
Jez Higgins
eda354be6d
Correctly implement the xsl:sort option attributes as attr-value-templates. Validate values *after* evaulated AVT, not before. Doh
2010-10-04 22:18:39 +01:00
jez
d322e15038
Explicitly compare pointer to zero to silence a rather pointless VS warning
2010-10-04 12:14:04 +01:00
jez
c1b21c0790
Explicitly compare pointer to zero to silence a rather pointless VS warning
2010-10-04 12:08:33 +01:00
Jez Higgins
d28849dc48
Finally sorted out the attributes and their namespaces issues. hurrah
2010-10-03 16:08:54 +01:00
Jez Higgins
8f41a01b88
Fix for non-std::string classes
2010-08-20 21:32:22 +01:00
Jez Higgins
3eb404dcd9
Updated for Xerces changes
2010-08-20 21:31:55 +01:00
Jez Higgins
abaaaf4cc4
Generate a namespace prefix for unprefixed attributes in namespaces. It's a start, but needs to check for clashes. I also wonder if there are cases when I need to generate them for elements too. Hmmm
2010-07-14 22:36:05 +01:00
jez
7e8752fe30
Getting DOM operator<< to work with other strings
2010-07-14 09:08:46 +01:00
jez
94b834ff30
Sorted out exception handling in MSXML ContentHandler wrapper so that it no longer corrupts the stack
2010-05-21 09:56:18 +01:00
jez
a1ed87da31
fix segfault using MSXML
2010-05-19 20:22:22 +01:00
jez
a856f2ed7b
fix so vs10 compiles without complaining
2010-05-19 20:19:31 +01:00
jez
4a79db620c
whitespace changes
2010-05-19 20:18:49 +01:00
Jez Higgins
04754750c5
fixed initialisation order warnings
2010-02-21 22:29:06 +00:00
Jez Higgins
94a28f07f8
filled out element-available implementation
2010-02-21 22:14:04 +00:00
Jez Higgins
44b5d6ed3a
whipped up a quick do-nothing (ie broken) implementation of element-available
2010-02-21 18:35:58 +00:00
Jez Higgins
7977423180
fixed warning
2010-02-20 23:39:38 +00:00
Jez Higgins
bd9052e486
think I finally done function-available
2010-02-20 23:25:36 +00:00
Jez Higgins
3557ec2d37
simplified parseQName so you can pass in a std::map if you fancy
2010-02-20 23:24:31 +00:00
Jez Higgins
cbc3f6e8d6
still chipping away at function-available
2010-02-20 21:56:47 +00:00
Jez Higgins
fb380c8e08
fixed warnings
2010-02-20 13:47:07 +00:00
Jez Higgins
c35185a64c
add hasFunction to FunctionResolver interface
2010-02-20 13:03:22 +00:00
Jez Higgins
9d7384c8ef
fixed unused parameter warnings
2010-02-20 09:27:32 +00:00
Jez Higgins
67c5ae7846
pulled out a seperate function resolver for Standard XPath functions
2010-02-20 09:13:53 +00:00
Jez Higgins
4e29877ac1
initial implementation of function-available, currently returned only false
2010-02-19 23:21:30 +00:00
jez
427129f83d
refactored string sorting
2010-02-16 10:18:29 +00:00
jez
95c8185828
refactored numeric sort
2010-02-16 08:59:45 +00:00
Jez Higgins
fe2ac49555
install includes into arabica subdirector
2010-01-14 16:09:40 +00:00
Jez Higgins
39d706d038
updated build to explicitly list all the includes, so that they get installed and uninstalled. make distcheck should now work
2010-01-14 14:29:55 +00:00
Jez Higgins
613f99af9d
xsl:sort/@lang - still don't do anything with it, but now only output a warning rather than throwing an exception
2010-01-13 22:13:12 +00:00
Jez Higgins
b46b48d006
I think that's the last of the warnings
2010-01-11 09:28:48 +00:00
Jez Higgins
3dc2f255c7
silenced many more warnings
2010-01-11 09:02:17 +00:00
Jez Higgins
953e46ba92
another warning squashed
2010-01-10 22:59:33 +00:00
Jez Higgins
36a305d55b
fixed more warnings
2010-01-10 22:02:43 +00:00
Jez Higgins
2e82578767
more warnings silenced
2010-01-10 21:25:35 +00:00
Jez Higgins
327328c9aa
more warnings silenced
2010-01-10 20:49:20 +00:00
Jez Higgins
c8bf5a5296
more warnings sorted out
2010-01-10 20:23:53 +00:00
Jez Higgins
7f8d20b46f
more warnings fixed
2010-01-10 18:47:09 +00:00
Jez Higgins
65f1c0be23
fixed unused param warnings
2010-01-09 23:45:36 +00:00
Jez Higgins
7fbed3b382
fixed ambiguous else
2010-01-09 23:01:41 +00:00
Jez Higgins
7103c3973a
fixed unused param warning
2010-01-09 23:00:39 +00:00
Jez Higgins
549e67f314
silenced unused parameter warnings
2010-01-09 22:58:37 +00:00
Jez Higgins
c0b76904c7
removed redundant check against 0
2010-01-09 22:34:29 +00:00
Jez Higgins
6c55f7f36c
silenced unused param warnings
2010-01-09 22:34:13 +00:00
jez
5ec2316aa5
fixed segfault when created doctype before owner doc has been set
2010-01-06 21:52:49 +00:00
Jez Higgins
74f8a55ed4
chmod -x *.hpp
2010-01-02 22:53:28 +00:00
Jez Higgins
181d5eab5c
normalize whitespace when extracting CDATA element names
2010-01-02 22:21:38 +00:00
Jez Higgins
29d425528d
popped quotes around the wrong thing
2010-01-02 22:20:13 +00:00
Jez Higgins
9d25d0bed0
updated copyright dates
2010-01-01 23:03:33 +00:00
Jez Higgins
7e62969c6c
Fixed double delete problem when removing and readding an attribute
2010-01-01 23:03:01 +00:00
Jez Higgins
d7c3b7c260
reverted work on variables - will come back to it another time
2009-12-14 23:55:56 +00:00
Jez Higgins
5fa42997f4
make each variable its own little stack frame. i am, howver, going to back all this stuff out because I'm getting it wrong in some subtle but segfaulty way
2009-12-14 22:40:05 +00:00
Jez Higgins
9eeb67aa3e
convert node type from enum to int to silence gcc warning about exceeding the maximum value of the enum
2009-12-14 22:39:15 +00:00
jez
17e93705ae
redirect to DOMSink when evaluating variables. This wasn't being done for ResolvedVariables and so everything was exploding.
2009-12-14 14:20:12 +00:00
jez
80da48a661
Ash Berlin's patch for Element.setAttributeNodeNS
2009-12-06 21:39:46 +00:00
jez
719829f10a
Ash Berlin's patch to get Text.splitText working properly
2009-12-06 21:34:46 +00:00
jez
57a1f36532
Applied patch from Ash Berlin which silences a pile of compiler warnings about unused parameters.
2009-12-06 20:48:35 +00:00
Ash Berlin
31c13685d1
Remove warnings:
...
* Unused variable
* Unsigned value always >= 0
* Parameter initialization order
* Virtual destructors for virtual classes
2009-11-28 01:12:28 +00:00
jez
283c48de75
fix to bug identified by Ash Berlin in set/get/removeNamedItemNS
2009-11-25 10:23:27 +00:00
jez
2cb2cc8bbe
NamedNodeMap tests and bugfix
2009-11-23 22:36:15 +00:00
jez
3991f80eb2
increment changes with the aim of improviing performance of variables
2009-11-23 21:00:23 +00:00
Alex Ott
2eba62942a
add virtual destructors for classes, to avoid warnings when inheriting from these classes
2009-10-06 15:13:17 +02:00
Alex Ott
42f85936fa
explicit casting, to avoid warnings
2009-10-06 15:12:43 +02:00
Alex Ott
975cca8c20
Use proper boost includes for different boost versions
...
starting from boost 1.38, there is boost.spirit v2 in the repository, older version
could be used as 'classic'
2009-10-06 12:38:30 +02:00
jez
6785fd8944
litte bit more work on variable resolution, but train in v wobbly and it giving me a headache
2009-10-05 19:27:24 +01:00
jez
29f73f285b
When declaring a parameter, only create a new variable closure if a parameter
...
hasn't been passed.
2009-08-18 21:16:12 +01:00
jez
db940c9b78
Pass select by const ref not by value
2009-08-18 20:42:37 +01:00
U-isla\jez
2adf2618ed
Pulled static const int definitions out into cpp file
2009-08-01 08:48:41 +01:00
jez
9d72ecf556
More work on optimising expression evaluation.
2009-07-31 17:44:54 +01:00
jez
1f12f0a2f0
nodeset functions now use NodeSetXPathFunction base class
2009-07-13 09:24:26 +01:00
jez
b56f09d2d9
added NodeSetXPathFunction base class
2009-07-13 09:24:03 +01:00
jez
428121bab4
moved string functions to use StringXPathFunction base class
2009-07-13 09:13:50 +01:00
jez
bbcae98bec
renamed XPath function base classes, moved out of impl namespace
2009-07-13 09:13:11 +01:00
jez
41b0da452f
added StringFunction base class
2009-07-13 08:47:46 +01:00
jez
c65cb5c8aa
added NumericExpression and NumericFunction base classes
2009-07-13 08:24:52 +01:00
jez
7e3caeb2d0
converted AxisEnumerator to uses Node_impl* internally
2009-05-19 09:24:19 +01:00
jez
4611919eff
whitespace changes
2009-05-18 19:33:04 +01:00
jez
a46276eb57
Reworked to reduce number of temporary objects created
2009-05-12 09:18:56 +01:00
jez
9167533dc8
compiled recent changes with GCC so made the necessary standard compliance fixes :)
2009-05-11 19:33:48 +01:00
jez
50e46f3bcc
refactored to eliminate temporary object creation
2009-05-11 10:24:51 +01:00
jez
50fbb691cd
efactgoring to avoid creating so many temporary objects when evaluation expressions and values
2009-05-11 08:55:52 +01:00
jez
014ea05879
updated TO-DO to include various performance improvement ideas
2009-05-05 19:30:47 +01:00
jez
d681db69b2
Literal result element as stylesheet - done
2009-04-28 20:59:52 +01:00
jez
9f6fbba927
removed left over stuff for foreign element handling
2009-04-28 09:00:05 +01:00
jez
7b1c5c9541
started on literal result elements as stylesheet
2009-04-28 08:57:14 +01:00
jez
bf5799eefd
pulled foreign element handling - fixed parameter order inconsistency
2009-04-24 19:02:14 +01:00
jez
6081659b71
neatening
2009-04-24 15:54:13 +01:00
jez
62b24c144d
Resolved cdata-section-element names so that unprefixed names are in the default namespace. Merge multiple xsl:output/@cdata-section-elements
2009-04-07 13:39:31 +01:00
jez
b70e521d79
hooked up cdata-section-elements to the output
2009-04-07 10:29:56 +01:00
jez
f6dfa127a1
OK, forget what I said about state machines, let just hack in some flags.
...
Initial work on CDATA section output. If I manually populate the set of
cdata section elements, everything looks great, so I just need to hook that up.
Added operator< to QName so I pop it in a std::set.
2009-04-03 19:01:26 +01:00
jez
89f6585d65
pulled output into its own file
2009-03-31 20:06:06 +01:00
jez
f373a1d01b
some work on implementing cdata section output, then realised it would probably be easier if I dropped a state machine in there
2009-03-31 20:00:26 +01:00
jez
7dd3cb4ab4
blow up if we see an extension prefix declaration
2009-03-31 09:15:32 +01:00