Commit graph

21 commits

Author SHA1 Message Date
jez_higgins
3f74d5b50e string_adaptor fixes 2005-11-17 22:06:12 +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
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
95ea8e834f VS6 workarounds 2003-09-15 16:04:37 +00:00
jez_higgins
0e0a73dbe7 gcc fix 2003-09-15 13:13:05 +00:00
jez_higgins
4670ce19aa added xerces_string_janitor class
Ordinarily you'd expect to be able to use Xerces' Array janitor class.  However,
Windows exes and dlls use seperate heaps, so you can't delete something in one
module that was allocated by another.  It's a pita.  The solution here is to useXMLString::release.
Although this simply does a delete[], the deletion occurs in the Xerces DLL, so
it will work correctly.
2003-09-15 13:00:43 +00:00
jez_higgins
193f570096 *** empty log message *** 2003-09-14 20:47:43 +00:00
jez_higgins
3bb32e1a17 no message 2003-09-12 23:16:47 +00:00
jez_higgins
4e7e47a6de applied Philip Walford's patches 2003-09-12 14:09:13 +00:00
jez_higgins
10668086f8 cosmetic include guard changes 2003-09-11 10:26:53 +00:00
jez_higgins
ad5c42953c more wchar_t exclusion hackery 2003-09-09 13:09:48 +00:00
jez_higgins
56408bdce2 Added ArabicaConfig.h 2003-09-09 11:14:48 +00:00
jez_higgins
ffb7f9d6f7 VC6 fix so it doesn't choke on typenames 2003-04-28 14:49:55 +00:00
jez_higgins
5b5670c9bd Added compile time messages saying whether the Xerces namespace is defined or not 2003-03-21 12:54:47 +00:00
jez_higgins
924103481e Corrected for Xerces 2.2.0 release - depending on the compiler, the Xerces stuff maybe in its own namespace
couple of VC++.Net changes
Xerces initialiser stuff does not need to be templated, so isn't :)
2003-03-20 16:29:08 +00:00
pwalford
c3b07a86f6 Backing-out changes. Sorry, should have been on branch. 2002-10-08 04:37:14 +00:00
pwalford
f4c48fb092 Porting to GCC 2.95.
Changes are required for the old version of libg++ which does not support:
* std::wstring
* locale

Changes include:
* #if/#endif removal of code which won't compile.
* Addition of a xerces_string_adaptor which doesn't need locale.
2002-10-08 03:09:56 +00:00
pwalford
f77cfbd71d Addition of XercesFeatureNames class.
This class represents the features known by xerces, including both the
standard SAX features and the Apache features.
2002-10-08 02:55:54 +00:00
pwalford
5f09c096a8 Changes/Fixes:
*   Addition of typedef "base" referring to basic_XMLReader.
*   Extended use of member typedefs to simplify code.
*   Added xerces_initializer class to call XMLPlatformUtils::Initialize() and
    XMLPlatformUtils::Terminate().  This avoids nested calls to Initialize()
    and Terminate().
*   Addition of xerces_string_adaptor which converts XMLCh to wchar_t and
    back.
*   Fixed adaptors to pass XMLCh to Xerces methods rather than wchar_t.
*   Added '&' to member function references in ErrorHandlerAdaptor.
*   Fixed IStreamAdaptor and InputSourceAdaptor to extend Xerces
    BinInputStream and InputSource respectively (were extending Arabica ones!)
2002-10-08 02:49:01 +00:00
jez_higgins
7eb1b4f295 Committed Scott Andrew's patches 2002-07-16 12:33:29 +00:00
jez_higgins
d978fe8c1b Initial revision 2002-06-21 11:16:28 +00:00