Commit graph

259 commits

Author SHA1 Message Date
jez_higgins
cd4829163d *** empty log message *** 2004-05-27 08:28:43 +00:00
jez_higgins
0a9b0bb86a Filled out absolutise 2004-05-27 08:28:26 +00:00
jez_higgins
57c6d814ce added XMLBase support 2004-05-12 19:40:20 +00:00
jez_higgins
3110715864 beefed up error reporting a bit 2004-05-12 19:38:54 +00:00
jez_higgins
ad69b4658e *** empty log message *** 2004-05-12 19:36:51 +00:00
jez_higgins
e3e756e6c2 make sure declHandler_ is null initialised 2004-05-12 19:35:53 +00:00
jez_higgins
8712a4fb16 *** empty log message *** 2004-02-25 21:14:38 +00:00
jez_higgins
65cb3ef835 *** empty log message *** 2004-02-24 16:09:17 +00:00
jez_higgins
ab3cf245e4 VS.NET workaround 2004-02-24 16:07:09 +00:00
jez_higgins
17090b3b55 writes internal DTD subset 2004-02-24 16:04:40 +00:00
jez_higgins
67e16e5190 *** empty log message *** 2004-02-24 11:32:40 +00:00
jez_higgins
1dfd447d23 Correct copy constructor and operator= 2004-02-24 11:22:19 +00:00
jez_higgins
57e03092cf Corrected fatalError - it now throws a SAXParseException 2004-02-24 10:40:19 +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
9bff72c42a Used DefaultHandler::fatalError and catch thrown exception 2004-02-24 09:49:22 +00:00
jez_higgins
8e9d4d6ea7 *** empty log message *** 2004-02-23 14:21:07 +00:00
jez_higgins
77dcf5728e Don't use currentNode_ when added entity declarations 2004-01-28 21:40:28 +00:00
jez_higgins
8d94910107 addDefaultAttribute - if the element the attribute is for hasn't been
declared yet, then declare it on the fly
2004-01-28 21:39:33 +00:00
jez_higgins
ec5159a8f4 Fix to addElement 2004-01-28 21:38:17 +00:00
jez_higgins
cf1ad6d8eb *** empty log message *** 2004-01-28 17:06:39 +00:00
jez_higgins
3032a34a39 Now prints DTD declaration and internal subset. 2004-01-28 17:05:19 +00:00
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