Commit graph

550 commits

Author SHA1 Message Date
jez_higgins
affb66609e getValue now returns a const string_type& 2005-12-09 15:54:23 +00:00
jez_higgins
427d8b64f2 getName now returns a const string_type& 2005-12-09 15:53:05 +00:00
jez_higgins
eebbdbf121 getNodeValue, getNamespaceURI, getPrefix and getValue all now return const string_type& instead of string_type 2005-12-09 15:49:52 +00:00
jez_higgins
99d08a5fd4 corrected prefix handling 2005-12-09 15:20:08 +00:00
jez_higgins
3bc05eafdf getNodeName now returns const stringT& 2005-12-09 14:17:53 +00:00
jez_higgins
d21c753efd getNodeName now returns const stringT& 2005-12-09 14:09:32 +00:00
jez_higgins
756e0f6876 getTagName now returns const stringT& 2005-12-09 14:09:08 +00:00
jez_higgins
ba05fced6e types: removed private destructor to quiet a GCC warning. types isn't actually instantiated anywhere 2005-12-09 12:04:28 +00:00
jez_higgins
9fc4a8b000 Element & attribute names and namespace URIs are now held in a
string pool attached the owning document.
The string pool is just a std::list, because it gives us stable pointers
into the contents.  Easy!
2005-12-09 11:49:03 +00:00
jez_higgins
03661daaf8 reverted to runtime_error to bad_cast because that's what it is 2005-12-09 11:46:53 +00:00
jez_higgins
116385f350 Borland workarounds submitted by Eric Britz 2005-12-07 16:09:37 +00:00
jez_higgins
bc15f5eedf builds with Cygwin 2005-12-07 11:23:44 +00:00
jez_higgins
2364434694 Rather alarmingly, this won't build is language extensions are turned off, even though everything appears to be correct 2005-12-07 10:52:48 +00:00
jez_higgins
35acd2eea7 Added third template parameter to wrappers, together with a bit of
meta-programming magic so that everything builds through with MSXML.

See http://www.jezuk.co.uk/cgi-bin/view/SAX/news?id=2713 for details of
the problem.

This may break VC6, but I haven't checked
2005-12-07 10:51:00 +00:00
jez_higgins
a36a7adde7 identical to utf16utf8codecvt but better named 2005-12-07 10:48:15 +00:00
jez_higgins
2563eee75c added DualMode 2005-12-06 11:20:42 +00:00
jez_higgins
80617d400a increased buffer sizes 2005-12-02 17:04:56 +00:00
jez_higgins
7bcc01a51e Initial work on a dual tree/streaming mode DOM Parser
This work is based on something worked up by Terris Linenbach.  The callback
interface will be extended, but I'm kind of feeling my way with this.
Comments welcome.
2005-12-01 16:13:42 +00:00
jez_higgins
9e418db8e2 include file fixes 2005-11-28 12:40:20 +00:00
jez_higgins
77e654d41b Cygwin fixes 2005-11-28 12:39:13 +00:00
jez_higgins
96c6da64c4 implement Node::purgeChild 2005-11-25 22:39:16 +00:00
jez_higgins
2b051fc1ff gcc 4.0.2 fixes
Use ARABICA_NO_WCHAR_T to exclude the bits that don't build under Cygwin
2005-11-25 15:54:08 +00:00
jez_higgins
b312078ac5 Corrected so they actually build the right things :) 2005-11-25 15:53:28 +00:00
jez_higgins
f9079bb67f gcc 4.0.2 fixes 2005-11-25 13:47:27 +00:00
jez_higgins
d1cd312267 qualify calls down to base class properly - not quite sure why i missed this before 2005-11-25 00:44:20 +00:00
jez_higgins
48b7995fa8 when following one's own advice, it's best to do it properly 2005-11-25 00:20:18 +00:00
jez_higgins
a6be9bb5ad gcc 4.0 (and Standard in general) compatibility fix
from Isak Johnsson <isak@hypergene.com>
2005-11-23 10:45:27 +00:00
jez_higgins
134b343711 Finally took my own advice on how to write custom streams :)
See http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/ from about slide 30
2005-11-22 12:57:45 +00:00
jez_higgins
9bc4f06dfb Took my own advice. See from about slide 30 of
http://www.jezuk.co.uk/accu2005/stream-a-poloza/html/
2005-11-22 11:25:42 +00:00
jez_higgins
1f0a08f25d fixed completed mindo in badIndex 2005-11-21 09:53:59 +00:00
jez_higgins
06fdcf08fb improved error reporting a bit - add test name to failure message 2005-11-17 22:07:25 +00:00
jez_higgins
8c4d35e362 updated test now validation defaults off 2005-11-17 22:06:50 +00:00
jez_higgins
3f74d5b50e string_adaptor fixes 2005-11-17 22:06:12 +00:00
jez_higgins
98d22e37b6 default validation to off - otherwise Xerces is liable to complain in a large way 2005-11-17 22:05:47 +00:00
jez_higgins
c14849a3c6 added construct_from_utf16 2005-11-17 22:05:06 +00:00
jez_higgins
54018ef676 improved fail reported 2005-11-17 15:46:52 +00:00
jez_higgins
a975b7f08a Fixed attribute handling in the face of namespaced attributes 2005-11-17 15:45:59 +00:00
jez_higgins
464de99172 string_adaptor fixes 2005-11-17 12:45:49 +00:00
jez_higgins
747b2346c3 string_adaptor fixes 2005-11-17 11:38:21 +00:00
jez_higgins
372fd70d82 Knocked out a load of std::string assumptions, fixing string parameterisation bugs 2005-11-15 16:18:03 +00:00
jez_higgins
f5d43ba8ee added silly_string and wstring tests to SAX2DOM 2005-11-15 16:16:46 +00:00
jez_higgins
3c4a2eff75 gcc fixes 2005-11-10 10:02:45 +00:00
jez_higgins
4ab8c2dca7 *** empty log message *** 2005-11-09 21:13:22 +00:00
jez_higgins
4fce921b4c Added default 7 copy constructors, and operator= 2005-11-01 10:08:15 +00:00
jez_higgins
0185a7f9dd parameterised the DOM tests 2005-10-31 12:07:30 +00:00
jez_higgins
ac043e277a *** empty log message *** 2005-10-31 11:42:21 +00:00
jez_higgins
5e0ca84618 attribute test parameterised 2005-10-29 18:19:33 +00:00
jez_higgins
98e621b689 more DOM test work 2005-10-28 23:00:54 +00:00
jez_higgins
f159e99764 *** empty log message *** 2005-10-27 21:50:10 +00:00
jez_higgins
c4f64832ab *** empty log message *** 2005-10-27 18:57:40 +00:00