Commit graph

75 commits

Author SHA1 Message Date
jez
205fd30cf0 don't blow up when parsing DTDs 2006-08-04 09:49:58 +00:00
jez_higgins
625c7141e1 vc6 compatibility fixes 2006-06-08 09:51:18 +00:00
jez_higgins
655a906071 gcc4 fixes 2006-01-05 16:30:31 +00:00
jez_higgins
e348364a82 make gcc not complain about initialisation order 2005-12-16 19:08:46 +00:00
jez_higgins
d89f09dd9a Now compiles for std::string and std::wstring, and probably for anything
else that has a size() member function and an operator[]
Will need to be reworked at some point in the future, but should do for now
2005-12-15 19:48:19 +00:00
jez_higgins
071e62b2dd Factored out the XML escaping stuff 2005-12-14 14:49:57 +00:00
jez_higgins
8ecc72511f getAttribute now returns a const string_type& 2005-12-09 16:01:31 +00:00
jez_higgins
e6099cc42f getData now returns a const string_type& 2005-12-09 15:57:21 +00:00
jez_higgins
7a32af4507 getTarget now returns a const string_type& 2005-12-09 15:55:29 +00:00
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
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
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
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
96c6da64c4 implement Node::purgeChild 2005-11-25 22:39:16 +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
747b2346c3 string_adaptor fixes 2005-11-17 11:38:21 +00:00
jez_higgins
4ab8c2dca7 *** empty log message *** 2005-11-09 21:13:22 +00:00
craigp98072
3f48a78dba various fixes to placate gcc 4.0.2 compiler
(mostly adding typenames and templates, changing std::bad_cast to std::runtime_error)
2005-10-22 03:17:39 +00:00
jez_higgins
f9d4da5bb8 fixed setPrefix 2005-10-15 22:46:10 +00:00
jez_higgins
37e114a49d phew! 2005-10-03 12:40:44 +00:00
jez_higgins
d7e2d7fb33 *** empty log message *** 2005-09-30 21:36:11 +00:00
jez_higgins
f354817b66 working towards excising all std::string-isms, so that Arabica can be used with any string type 2005-09-08 21:43:21 +00:00
jez_higgins
8a90fc60d1 *** empty log message *** 2005-08-30 11:58:21 +00:00
jez_higgins
a395a7e20e CDATASection constructor fixes 2005-08-30 11:35:12 +00:00
jez_higgins
6ba60c2ce8 Fixes arising from bug in Text conversion constructor 2005-08-30 09:40:34 +00:00
jez_higgins
8f2cc8455b gcc 4.0 corrections 2005-08-30 09:39:38 +00:00
jez_higgins
d7c23a30b8 big time changes to stream namespaces and namespace-prefixes properly
not quite done yet, but much improved
2005-08-25 11:31:09 +00:00
jez_higgins
7ce581df1b gcc 4 fixes 2005-08-21 12:48:00 +00:00
jez_higgins
4014643f71 Binned out DOM/Simple/StringAdaptor.h - it hasn't been used for ages, because
everything uses SAX/helpers/StringAdaptor.h
Binned out SAX/helpers/StringAdaptor.h - moved it to Utils/StringAdaptor.h and
changed namespace from SAX to Arabica.
2005-08-15 21:09:13 +00:00
jez_higgins
a7824f2678 added setFeature/getFeature 2005-08-15 08:44:31 +00:00
jez_higgins
4cac62e1fa factored out setParserFeatures 2005-08-15 08:31:41 +00:00
jez_higgins
bcd9584ce1 factorer out setParserProperty 2005-08-15 08:13:45 +00:00
jez_higgins
b515ec10a7 fixes to silence gcc warnings 2005-08-07 20:16:02 +00:00
jez_higgins
65465623a9 gcc portability fixes 2005-08-05 21:09:00 +00:00
jez_higgins
a067295ae1 *** empty log message *** 2005-08-02 10:56:06 +00:00
jez_higgins
05a97aab88 gcc 3.4.3 compatibility fixes 2005-08-01 10:21:44 +00:00
jez_higgins
578e7918b6 added an extra typedef 2005-07-21 10:52:06 +00:00
jez_higgins
686056afeb *** empty log message *** 2005-07-15 22:51:57 +00:00
jez_higgins
e9a97584fc *** empty log message *** 2005-06-08 21:45:07 +00:00
jez_higgins
925803b5b9 *** empty log message *** 2005-06-06 21:00:56 +00:00
jez_higgins
3eaf5ea436 comment fix 2005-06-06 21:00:20 +00:00
jez_higgins
db5b61aea6 Scope fixes 2004-10-12 20:49:30 +00:00
jez_higgins
def0b81ce2 Added lots of little scoping fixes so it builds with gcc3.4.* 2004-09-17 23:17:51 +00:00