Commit graph

503 commits

Author SHA1 Message Date
Jez Higgins
db1f9bac46 key 2012-11-06 09:17:16 +00:00
Jez Higgins
c970605a0f param 2012-11-06 08:29:42 +00:00
Jez Higgins
bbafbf4b63 toplevel param 2012-11-06 08:20:10 +00:00
Jez Higgins
25e0671eb2 withparam 2012-11-06 08:14:07 +00:00
Jez Higgins
c58ae015b8 withparam 2012-11-06 08:11:27 +00:00
Jez Higgins
3b4ec78a13 template 2012-11-06 07:53:00 +00:00
Jez Higgins
4197825a7c template 2012-11-06 07:50:57 +00:00
Jez Higgins
456b38c37f gcc fixes 2012-11-05 09:22:05 +00:00
Jez Higgins
2e1bbdbec9 sort 2012-11-05 09:18:08 +00:00
Jez Higgins
16e61b50fb item_container_handler 2012-11-04 22:39:16 +00:00
Jez Higgins
2a83b64cf3 genericised childelement 2012-11-04 22:34:40 +00:00
Jez Higgins
b567e0f668 qualifiers 2012-11-04 17:24:37 +00:00
Jez Higgins
ab2ae612c9 inline elements 2012-11-04 17:22:47 +00:00
Jez Higgins
1dd953346b typename 2012-11-04 17:15:34 +00:00
Jez Higgins
40cb778596 copy and copy_of 2012-11-04 17:12:14 +00:00
Jez Higgins
fc91f0329a message 2012-11-04 17:07:41 +00:00
Jez Higgins
769a5b98a3 typename fix 2012-11-04 13:09:12 +00:00
Jez Higgins
0ea5226801 processing instruction 2012-11-04 13:04:08 +00:00
Jez Higgins
895bd0baf3 notimplementedyethandler 2012-11-04 08:41:53 +00:00
Jez Higgins
a792502472 element 2012-11-04 08:38:48 +00:00
Jez Higgins
4ddf44c269 apply_templates 2012-11-03 09:54:07 +00:00
Jez Higgins
69e767f668 for_Each 2012-11-03 09:38:31 +00:00
Jez Higgins
fc7b6be757 for_each 2012-11-03 09:37:53 +00:00
Jez Higgins
842feef711 for_each 2012-11-03 09:37:13 +00:00
Jez Higgins
c358aacccd qualify base class calls 2012-11-02 23:33:41 +00:00
Jez Higgins
732f316710 qualify base class call 2012-11-02 23:30:39 +00:00
Jez Higgins
f3e661c715 corrections, more templateing 2012-11-02 23:16:43 +00:00
Jez Higgins
7d76185a44 value_if 2012-11-02 23:07:17 +00:00
Jez Higgins
3743972b0a text 2012-11-02 23:00:31 +00:00
Jez Higgins
0d3a91876a if 2012-11-02 22:56:14 +00:00
Jez Higgins
d68a9240ce attribute and call_tempalte 2012-11-02 22:52:42 +00:00
Jez Higgins
e3a06bec80 choose handler 2012-11-02 22:46:11 +00:00
Jez Higgins
52f9db8061 comment handler 2012-11-02 22:37:46 +00:00
Jez Higgins
6c8f6246bf Starting to parameterise the XSLT library 2012-11-02 21:01:15 +00:00
Jez Higgins
b1674a2ef1 Updated copyright dates 2012-11-02 20:19:01 +00:00
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
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