Commit graph

44 commits

Author SHA1 Message Date
jez_higgins
b515ec10a7 fixes to silence gcc warnings 2005-08-07 20:16:02 +00:00
jez_higgins
02bbe4c6e6 fixes to namespace processing 2005-08-02 10:59:34 +00:00
jez_higgins
05a97aab88 gcc 3.4.3 compatibility fixes 2005-08-01 10:21:44 +00:00
jez_higgins
4249ede14d compliance fixes 2005-07-21 10:58:12 +00:00
jez_higgins
29778b3345 *** empty log message *** 2005-04-08 16:02:31 +00:00
jez_higgins
7fc5cea45e Updating to build with gcc 3.4.2 2004-09-14 20:51:36 +00:00
jez_higgins
e3e756e6c2 make sure declHandler_ is null initialised 2004-05-12 19:35:53 +00:00
jez_higgins
5a339ca613 ErrorHandler callbacks should be able to thrown exceptions. However, exceptions
cannot propagate through the COM boundary.  ErrorHandlerAdaptor now caches
reported errors until the parse has completed, then reports them to
ErrorHandler afterwards.  This ensures that throw exceptions propogate as expected.
2004-02-24 09:52:18 +00:00
jez_higgins
a895d6617f Back port VS6 fix for previous change 2003-11-10 09:45:46 +00:00
jez_higgins
49b2439757 Fix for VS.NET 2003 2003-11-10 09:39:17 +00:00
jez_higgins
d727f783a9 s/int/size_t 2003-09-17 11:07:36 +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
96ae40e974 s/int/size_t/ 2003-09-15 13:11:37 +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
d31cba3174 *** empty log message *** 2003-09-12 16:05:53 +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
9c937a5ac9 VS6 Portability fixes 2003-09-10 15:15:55 +00:00
jez_higgins
27d574f2a8 Wide character string fixes 2003-09-10 08:47:37 +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
e2d28dc77c *** empty log message *** 2003-08-27 14:28:01 +00:00
jez_higgins
1e6eda19b5 added some explicit casts from size_t to unsigned ints 2003-04-28 14:51: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
6428fb5093 Direct debug output to cerr 2003-03-21 12:53:12 +00:00
jez_higgins
1e34351b83 no message 2003-03-20 16:31:09 +00:00
jez_higgins
31b9597a4f Updated for new config mechanism 2003-03-20 16:30:31 +00:00
jez_higgins
9ccc3cdce6 Updated for now config mechanism 2003-03-20 16:30:08 +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
complement
90739325f9 Don't generate saxlib.cpp and ParserConfig.h; uncomment appropriate definition(s) for XML wrapper(s) in ParserConfig.h; (This should be fixed for non-Makefiles OSes, such as Windows/VC++/Borland etc.) 2002-11-23 20:09:25 +00:00
complement
08140e1876 ignore generated files 2002-11-23 19:59:57 +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
1a9b0fc214 work around previous changes for VC6 2002-09-20 10:16:35 +00:00
jez_higgins
ee6e01956f made implicit typenames explicit 2002-09-20 10:11:57 +00:00
jez_higgins
7bbcab1568 Major tweaks to use #include <header> rather then
#import <type_library>.  The latter is sensitive to
the exact name/version of the library provided by
Microsoft and various options provided to the type
library reader.  (Found the issue when I attempted
to build with MSXML4 rather then MSXML3.)  [kas]

Created the default PROGID define.  M$. in their
wisdom, removed the version independent IDs starting
in version 4.0 of the MSXML library.  Saves a lot of
'DLL hell' problems but creates others for maintainers.
The initialization code will now try the 4.0 ID and
then the older (version independant) name.   [kas]

StreamAdaptor now derives from ISequentialStream, not IStream.
Fixes to StreamAdaptor::QueryInterface.
2002-09-03 13:19:14 +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