jez
|
90d382b642
|
Added XML_PARSE_NOENT to see if it helps
|
2012-03-31 22:26:12 +01:00 |
|
Jez Higgins
|
0316f7ace8
|
Trying to get entity resolution going in Libxml2
|
2011-12-16 17:40:06 +00:00 |
|
Jez Higgins
|
3b54b7482a
|
Fixed includes for DOMException - all this time they'd been wrong :(
|
2011-11-26 09:19:56 +00:00 |
|
jez
|
deca6907e1
|
Massage ArabicaConfig.hpp so all macros are prefixed ARABICA_
|
2011-11-25 23:26:39 +00:00 |
|
jez
|
979ed035b4
|
Applied patch to Writer supplied by Gareth Sylvester-Bradley <garethsb@gmail.com>. Implements empty elements, and outputs namespace prefixes properly
|
2011-11-25 21:20:34 +00:00 |
|
jez
|
247b2170a0
|
if no namespace, assume in the XSL namespace
|
2011-01-01 22:58:29 +00:00 |
|
jez
|
e4fd3c8239
|
If node doesn't belong to this element, complain
|
2010-12-29 15:41:56 +00:00 |
|
jez
|
90156036c0
|
return oldChild not newChild when replacing with a docfragment
|
2010-12-29 00:11:20 +00:00 |
|
jez
|
6c749609c0
|
recalculate value if child nodes are fiddled with
|
2010-12-29 00:10:05 +00:00 |
|
jez
|
a71a89e918
|
calculate proper node value when it has entity ref children
|
2010-12-27 13:43:39 +00:00 |
|
jez
|
6dd167b363
|
factored out attribute node value
|
2010-12-27 13:35:40 +00:00 |
|
jez
|
d7b9375eba
|
rejigged overrides
|
2010-12-27 13:06:18 +00:00 |
|
jez
|
16463bbd83
|
pop exception if trying to remove an item that doesn\'t exist. yay\!
|
2010-12-27 00:27:57 +00:00 |
|
jez
|
d45b5bbcb5
|
Check that inserted node isn't an ancestor of the new parent
|
2010-12-26 22:56:15 +00:00 |
|
jez
|
a8540e640a
|
check ownerdocument of inserted node
|
2010-12-26 22:20:33 +00:00 |
|
jez
|
56a3f9397f
|
Check attribute names in setAttribute
|
2010-12-24 22:44:43 +00:00 |
|
jez
|
92090f6377
|
Checked element/attribute/pi names are valid
|
2010-12-24 22:00:49 +00:00 |
|
jez
|
968671c82d
|
Checked element/attribute/pi names are valid
|
2010-12-24 21:42:30 +00:00 |
|
jez
|
5d572fef10
|
Whitespace changes
|
2010-12-24 21:42:06 +00:00 |
|
jez
|
6999f61599
|
Whitespace changes
|
2010-12-24 21:41:45 +00:00 |
|
jez
|
59ec067f96
|
Removed old CVS Id tag
|
2010-12-24 21:40:58 +00:00 |
|
Jez Higgins
|
8a9115fd53
|
Pulled out a couple of helper functions. Reworked CDATA output so it properly outputs wacky CDATA sections with ]]> in them.
|
2010-12-23 22:51:44 +00:00 |
|
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 |
|
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 |
|