Commit graph

864 commits

Author SHA1 Message Date
jez_higgins
dc3f6a01e9 ParserConfig.h is now generated from ParserConfig.tpl 2003-03-20 16:15:25 +00:00
complement
48124bd5ab fix typename problem 2002-11-23 20:10:46 +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
e323dd8948 fix typename problem 2002-11-23 20:03:54 +00:00
complement
08140e1876 ignore generated files 2002-11-23 19:59:57 +00:00
complement
78799ec63c include stdio.h for sprintf 2002-11-23 19:58:14 +00:00
complement
46d5dc5ef2 fix examples 2002-11-23 19:54:58 +00:00
complement
4471e53f48 rewrite make rules, use ${MAKE} var instead of make 2002-11-23 19:53:46 +00:00
complement
947d34c950 fix SAX2DOM examples 2002-11-23 19:50:14 +00:00
complement
d373569fc9 ignore generated files 2002-11-23 19:42:52 +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
34cba250a6 Fixes to the following issues:
*   Mis-capitalised parameter names.
*   Un-named parameters.
*   Use of SAXException by ErrorHandler (SAX 2.0 API uses SAXParseException
    here).
2002-10-08 02:49:59 +00:00
pwalford
481a59a813 Fixes:
*   References to DTDHandler and ContentHandler changed to DTDHandlerT and
    ContentHandlerT.  (They were referencing the std::string versions.)
2002-10-08 02:49:27 +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
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
d640fe6bab work around previous changes for VC6 2002-09-20 10:01:18 +00:00
jez_higgins
f16e2a30fb Rewrote no_conversion to use std::copy. It's much nicer that way, and
avoids GCC 3.2 giving warnings about implicit typenames.
2002-09-20 09:46:35 +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
d1449f7b44 no message 2002-09-03 13:30:37 +00:00
jez_higgins
f3fc44c2c6 pull in feature and property names 2002-09-03 13:27:30 +00:00
jez_higgins
4c47110455 use default parser 2002-09-03 13:27:11 +00:00
jez_higgins
85acebe015 remove expat.lib from build 2002-09-03 13:26:54 +00:00
jez_higgins
a88c55b602 added some tests for SAX2DOM 2002-09-03 13:26:08 +00:00
jez_higgins
b230e41d3a added assertEquals for std::strings 2002-09-03 13:25:43 +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
f8f39d636b corrected various function signatures 2002-09-02 15:52:19 +00:00
jez_higgins
cc0523251e Updated to take advantage of the new library parser configuration 2002-09-02 15:50:43 +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
dc2e00bf00 added base64 codecvt to build 2002-09-02 10:38:11 +00:00
jez_higgins
377fd7ab97 use default parser 2002-09-02 10:36:21 +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
9628d8b2f7 no message 2002-08-30 15:52:59 +00:00
jez_higgins
40480f94e0 Modified constructors so it shouldn't blow up under Borland C++ 2002-08-30 15:52:51 +00:00