Commit graph

1621 commits

Author SHA1 Message Date
jez_higgins
dc021947f9 removed undefined entity 2004-09-10 20:54:56 +00:00
jez_higgins
008572a73a Removed assert
it was confusing gcc 3.3 which is the out of hte box compiler for oSX and Darwin
2004-09-10 20:53:59 +00:00
jez_higgins
8875207274 Fix for incorrect hasAttributeURI
from Mark D Anderson, mda@discerning.net
with input of:

<stuff:Blah name="test" xmlns:stuff="http://stuff.org/"/>

the Attr object for name returns true for hasNamespaceURI(),
yet the value of getNamespaceURI() is the empty string.
This is inconsistent; an empty namespace is illegal.

For now I'm working around this by putting
   (!n.hasNamespaceURI() || n.getNamespaceURI().empty())
into my code.
2004-09-04 11:44:26 +00:00
jez_higgins
09c7a6376f *** empty log message *** 2004-06-28 21:41:30 +00:00
jez_higgins
e50959e091 Fixed bug arising when the new base path didn't end with a / 2004-06-28 21:22:29 +00:00
jez_higgins
4096d5b57e Added example_XMLBase project 2004-05-27 11:54:36 +00:00
jez_higgins
c00cad9606 removed ARABICA_NO_WCHAR_T symbol from ArabicaConfig.S command line 2004-05-27 11:53:07 +00:00
jez_higgins
def15dfbbe Added xmlbase - a simple example that picks up xml:base attributes
and reports xlink:hrefs in a document
2004-05-27 11:50:57 +00:00
jez_higgins
d0994d8b46 *** empty log message *** 2004-05-27 11:50:11 +00:00
jez_higgins
140c460006 Fixed for absolute path, but no scheme 2004-05-27 11:48:14 +00:00
jez_higgins
14c055bd28 Now compiles :) 2004-05-27 09:23:12 +00:00
jez_higgins
59575108e2 Added stringT and value_type typedefs into default_string_adaptor<std::*> 2004-05-27 09:19:51 +00:00
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