Commit graph

1488 commits

Author SHA1 Message Date
jez_higgins
519f44c7a8 added ignorableWhitespace 2004-01-26 23:21:30 +00:00
jez_higgins
2f6adc43be *** empty log message *** 2004-01-26 23:20:08 +00:00
jez_higgins
8612fb979f If indent==0 then don't indent and don't add carriage returns.
s/++depth_/depth_ += indent_/
s/--depth_/depth_ -= indent_/ Ooops!
2004-01-21 22:00:59 +00:00
jez_higgins
122142c25d Moved to VS2003. Annoyingly, all this seems to do is bump the version
number.
2004-01-04 21:05:08 +00:00
jez_higgins
a29d9a5c13 *** empty log message *** 2003-12-07 15:27:44 +00:00
jez_higgins
1be3c72414 *** empty log message *** 2003-12-07 15:27:43 +00:00
jez_higgins
9d914f19e8 Change in checkPrefixAndNamespace to bind xmlns: to http://www.w3.org/2000/xmlns/ if it is unbound. This isn't exactly ideal, but it seems to be the least painful way to resolve the DOM and Namespace recommendation's disagreements about this. 2003-12-07 15:23:55 +00:00
jez_higgins
b56eaec433 Use LINK_SHARED variable 2003-12-07 15:13:36 +00:00
jez_higgins
f644c09830 Added LINK_SHARED 2003-12-07 15:13:11 +00:00
jez_higgins
de48f65e16 From info provided by Peter Beerli, School of Computational Science and
Information Technology (CSIT) and Biological Sciences Department, Florida
State University
2003-12-07 15:12:53 +00:00
jez_higgins
da1c63ea28 s/xmlns_uri/xml_uri/
add xmlns_uri
this is the start of work to support Namespaces 1.1 (which I may not actually
finish)
2003-11-10 10:45:23 +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
6256a38fa4 VS6 fixes 2003-10-29 16:20:07 +00:00
jez_higgins
d44cd428df Added CatchErrorHandler.h to build 2003-10-29 16:19:50 +00:00
jez_higgins
a37cf42af0 Added CatchErrorHandler 2003-10-29 16:13:29 +00:00
jez_higgins
6d18a48087 Added try/catch block in parse() and startElement() to that exceptions
thrown while constructing the DOM tree and caught and reported through the
ErrorHandler, rather than just propagating out.
2003-10-29 16:12:31 +00:00
jez_higgins
7ff44e5b5f Quick and diry what() implementation. 2003-10-29 16:10:31 +00:00
jez_higgins
78c3ddc505 Use CatchErrorHandler to report errors 2003-10-29 15:52:28 +00:00
jez_higgins
b7d79f2144 Use CatchErrorHandler.h to report errors 2003-10-29 15:51:55 +00:00
jez_higgins
df3d61ce71 An ErrorHandler implementation that grabs hold of any errors reported, so
you can check later to see if anything happened.
2003-10-29 15:51:21 +00:00
jez_higgins
344b4a1841 *** empty log message *** 2003-10-27 16:09:54 +00:00
jez_higgins
bf2c892506 Added option to read from and write to files as well as console. This allows
transcode to process binary files properly - eg to Base64 an image.
2003-10-27 15:44:32 +00:00
jez_higgins
e99734c401 Added set_stream to the stream adaptors. In the process made
bufadaptor.set_buffer work :)  This entailed making externalBuf_ an
externalStreamBufT* rather than a externalStreamBufT&.
2003-10-27 15:43:26 +00:00
jez_higgins
afc249c33a readIn - fix the read loop so eof is detected properly when reading
binary streams
2003-10-27 15:00:43 +00:00
jez_higgins
6699386b56 *** empty log message *** 2003-10-08 15:32:44 +00:00
jez_higgins
de3fd21d0b *** empty log message *** 2003-10-08 14:39:43 +00:00
jez_higgins
182cc06058 Portability fixes 2003-10-08 14:22:20 +00:00
jez_higgins
7d9a07ff85 *** empty log message *** 2003-10-08 07:55:38 +00:00
jez_higgins
84b93c75c9 added ifdefs so we can build with ARABICA_NO_WCHAR_T 2003-10-03 05:56:26 +00:00
jez_higgins
5075dc5b7a *** empty log message *** 2003-09-22 14:43:41 +00:00
jez_higgins
be44ac6302 *** empty log message *** 2003-09-18 08:25:27 +00:00
jez_higgins
74303f894e lots of work in readIn
better handling for partial conversions
additional logic so we don't try and read a stream that's already eof
2003-09-18 08:21:28 +00:00
jez_higgins
b141c147ba Reworked so don't inadvertantly run off the end of the input stream 2003-09-18 08:19:01 +00:00
jez_higgins
2a1bc2a3dc fixed end-point and (embarrassing) byte order 2003-09-18 08:18:21 +00:00
jez_higgins
6b28b28af5 Ensure the stream is flushed 2003-09-17 11:09:20 +00:00
jez_higgins
5064d9c19c *** empty log message *** 2003-09-17 11:08:31 +00:00
jez_higgins
d727f783a9 s/int/size_t 2003-09-17 11:07:36 +00:00
jez_higgins
fd0a760dab *** empty log message *** 2003-09-17 08:37:57 +00:00
jez_higgins
fa62d8c699 Diddled to silence
../../SAX/filter/Writer.h: In constructor
   `SAX::basic_Writer<string_type>::basic_Writer(std::basic_ostream<string_type::value_type,
	    string_type::traits_type>&, unsigned int) [with string_type = std::string]':
			writer.cpp:23:   instantiated from here
../../SAX/filter/Writer.h:96: warning: member initializers for `
   SAX::basic_LexicalHandler<std::string>*SAX::basic_Writer<std::string>::lexicalHandler_'
../../SAX/filter/Writer.h:94: warning:   and `
   SAX::basic_Writer<std::string>::<anonymous enum>
   SAX::basic_Writer<std::string>::lastTag_'
../../SAX/filter/Writer.h:43: warning:   will be re-ordered to match declaration order
warning.
2003-09-17 08:24:00 +00:00
jez_higgins
1c1ff5ab96 *** empty log message *** 2003-09-15 16:07:35 +00:00
jez_higgins
95ea8e834f VS6 workarounds 2003-09-15 16:04:37 +00:00
jez_higgins
88e35887d9 automagically link to wsock32 2003-09-15 16:03:46 +00:00
jez_higgins
0e0a73dbe7 gcc fix 2003-09-15 13:13:05 +00:00
jez_higgins
c236102d0d *** empty log message *** 2003-09-15 13:12:08 +00:00
jez_higgins
96ae40e974 s/int/size_t/ 2003-09-15 13:11:37 +00:00
jez_higgins
92a1bf27b9 s/int/size_t 2003-09-15 13:09:57 +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
117190ebd8 *** empty log message *** 2003-09-15 10:03:41 +00:00
jez_higgins
6262bfa004 fixed line endings 2003-09-15 10:02:55 +00:00