Commit graph

27 commits

Author SHA1 Message Date
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
pwalford
55227f742c Changes:
*   Addition of other SAX 2.0 defined feature names.
*   Addition of documentation.
2002-10-08 02:48:22 +00:00
pwalford
c13a04b386 Fixed errors in documentation. Fixed:
* "null" where "an empty string" was appropriate
* mis-spellings of parameters.
* cut-and-paste mistakes.
2002-10-08 01:00:22 +00:00
jez_higgins
1a9b0fc214 work around previous changes for VC6 2002-09-20 10:16:35 +00:00
jez_higgins
1282e95604 *** empty log message *** 2002-09-20 10:13:00 +00:00
jez_higgins
ee6e01956f made implicit typenames explicit 2002-09-20 10:11:57 +00:00
jez_higgins
7a016ee96c made implicit typenames explicit 2002-09-20 10:06:31 +00:00
jez_higgins
2a5e9736c0 set default parser to MSXML 2002-09-04 08:40:54 +00:00
jez_higgins
75cf0867ec updated for xerces 2.1 2002-09-03 14:06:48 +00:00
jez_higgins
62b73b7b75 updated for libexpat 1.95.4 2002-09-03 13:44:23 +00:00
jez_higgins
38b92a4d30 Added saxlib.tpl to build.
Made MSXML the default Win32 parser
2002-09-03 13:24:50 +00:00
jez_higgins
a993bc42c4 Include SAXNotRecognizedException
Fix by nick.woolley@virgin.net
2002-09-03 13:21:40 +00:00
jez_higgins
999bb24190 Fixed setAttributes
Fix by nick.woolley@virgin.net
2002-09-03 13:21:15 +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
13d4953da9 Changed the way the parsers are configured. This is now done when compiling the
library, and it is no longer necessary for client application to specify it.
2002-09-02 15:49:44 +00:00
jez_higgins
cfb464ec53 corrected declaration of getParent
fix contributed by Nick Wooley
2002-09-02 15:48:13 +00:00
jez_higgins
a70768f24e changed the way the output is indented 2002-09-02 15:47:28 +00:00
jez_higgins
09d0ca7c89 no message 2002-09-02 10:36:06 +00:00
jez_higgins
52d4555fac Removed big ifdef ladder for selecting parsers. This is now down at library compile time
using parserconfig.h
2002-09-02 10:35:58 +00:00
jez_higgins
bac99bcd8a saxlib.cpp is now generated from saxlib.tpl 2002-09-02 10:35:04 +00:00
jez_higgins
427ed2aaa2 Template for saxlib.cpp 2002-09-02 10:34:03 +00:00
jez_higgins
4d68e4f22e Fixed bug in setFeature
Fix contributed by Nick Woolley, nick.woolley@virgin.net
2002-08-07 08:31:13 +00:00
jez_higgins
7eb1b4f295 Committed Scott Andrew's patches 2002-07-16 12:33:29 +00:00
jez_higgins
e3a4a93044 no message 2002-07-16 12:33:00 +00:00
jez_higgins
fd5c310e0b In an attempt to make compilation easier, XMLReader now has an ifdef ladder
which pulls in the headers for the various parsers if the appropriate macros are
defined - USE_EXPAT, USE_XERCES, USE_LIBXML2, USE_MSXML.

You can define any or all of them, or none should you so wish.

It also sets SAX::XMLReader as a default class - ie if you define one of the above macros,
SAX::XMLReader<stringT> will become a synonym for SAX::expat_wrapper<stringT> or whatever.
2002-07-12 22:10:52 +00:00
jez_higgins
b884a0ee3d Contains an ifdef ladder which pulls in any *.cpp files needed to support the selected
parsers.
Probably makes complainy noises on compilers other than VC++ - those #pragma just ain't portable
2002-07-12 22:07:53 +00:00
jez_higgins
d978fe8c1b Initial revision 2002-06-21 11:16:28 +00:00