Commit graph

418 commits

Author SHA1 Message Date
Jez Higgins
2200a80a00 Added CMake build files contributed by Gunther Laure 2012-11-01 22:12:55 +00:00
Jez Higgins
c706df5fdc Silence a new VS2012 warning 2012-09-15 10:20:06 +01:00
Jez Higgins
2f88819306 Expand entity references in the DOM 2012-09-14 19:44:29 +01:00
Jez Higgins
45268963bd getLineNumber/getColumnNumber now return size_t
Changed from int - underlying libraries are moving to large sizes
2012-09-14 16:54:51 +01:00
Jez Higgins
d76e60cce5 Add this-> 2012-09-14 11:22:21 +01:00
Jez Higgins
2f49994b09 Deal properly with the [dtd] pseudo-entity
Some parsers report the [dtd] pseudo entity through the LexicalHandler.
Arabica was incorrectly trying to create an Entity Reference for it.
2012-09-14 11:12:50 +01:00
Jez Higgins
0c37303b50 On Windows look for Xerces v3, rather than 2. 2012-09-14 11:11:43 +01:00
Jez Higgins
eea670e2b6 Fiz for 64bit Xerces provided by oncaphillis@snafu.de 2012-09-13 19:04:29 +01:00
Jez Higgins
304ddc6124 Fix for gcc4.7 provided by oncaphillis@snafu.de 2012-09-07 19:50:16 +01:00
Jez Higgins
351a00059d Fix for 64bit Xerces provided by Oncaphillis@snafu.de 2012-09-07 19:49:43 +01:00
Jez Higgins
5e94d05f28 Updated garden (after many years) so that it compiles. 2012-09-07 09:32:04 +01:00
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