Commit graph

385 commits

Author SHA1 Message Date
Jez Higgins
2e1f279786 Added find(str, what, from) to the default_string_adaptor 2010-12-23 22:50:43 +00:00
jez
dbfcf1c41b fix output for CDATA sections that contain ]]> 2010-12-21 09:47:22 +00:00
jez
d506b81624 cast std::streamsize to int to silence warning. it's safe because we know we've read less than ant ints worth of data 2010-12-21 09:46:57 +00:00
jez
c29604d553 set attributes readonly when its owner element is readonly 2010-12-19 23:22:17 +00:00
jez
bbc95fdbb2 If an internal entity declaration looks like markup, parse it as markup rather than just treating it as a bit of text 2010-12-17 10:19:37 +00:00
jez
7e9722ddc3 Corrected normalization - only adjacent text nodes should be combined 2010-12-17 10:18:14 +00:00
Jez Higgins
50c39c533c Added a couple of using declarations that clang needed 2010-12-15 10:09:43 +00:00
jez
dcbb59b2e8 Default setNodeValue is to do nothing. 2010-12-11 01:12:03 +00:00
jez
9643b42edd Can now safely add an attribute the element that already owns it 2010-12-11 01:11:22 +00:00
jez
a17944bd9f Correct DOMException CODE enum values 2010-12-11 01:10:21 +00:00
jez
bec9948659 Corrected exception specifier on DOMBadCast destructor 2010-12-10 09:29:10 +00:00
jez
f7146a5668 Improved DOM casting error messages 2010-12-10 09:24:34 +00:00
jez
ce69150111 Improved error reporting. Fixed a couple of test functions in dom_conf_test. Skip a couple of entityRef tests 2010-12-09 19:03:23 +00:00
Jez Higgins
ef878d91a2 Got conformance tests compiling and running on Linux 2010-12-09 14:04:13 +00:00
jez
33d08c77a1 DOM Level 1 Conformance fixes found with first pass of W3C conf tests 2010-12-09 11:35:54 +00:00
Jez Higgins
99823ee8b5 Qualified sputc,setg,setp calls so compiles with clang++. Thanks Isak Johnsson 2010-11-20 14:39:06 +00:00
jez
af44166e99 Silence unused variable warning 2010-10-22 10:32:03 +01:00
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