jez_higgins
756e0f6876
getTagName now returns const stringT&
2005-12-09 14:09:08 +00:00
jez_higgins
9fc4a8b000
Element & attribute names and namespace URIs are now held in a
...
string pool attached the owning document.
The string pool is just a std::list, because it gives us stable pointers
into the contents. Easy!
2005-12-09 11:49:03 +00:00
jez_higgins
03661daaf8
reverted to runtime_error to bad_cast because that's what it is
2005-12-09 11:46:53 +00:00
jez_higgins
116385f350
Borland workarounds submitted by Eric Britz
2005-12-07 16:09:37 +00:00
jez_higgins
7bcc01a51e
Initial work on a dual tree/streaming mode DOM Parser
...
This work is based on something worked up by Terris Linenbach. The callback
interface will be extended, but I'm kind of feeling my way with this.
Comments welcome.
2005-12-01 16:13:42 +00:00
jez_higgins
9e418db8e2
include file fixes
2005-11-28 12:40:20 +00:00
jez_higgins
96c6da64c4
implement Node::purgeChild
2005-11-25 22:39:16 +00:00
jez_higgins
98d22e37b6
default validation to off - otherwise Xerces is liable to complain in a large way
2005-11-17 22:05:47 +00:00
jez_higgins
747b2346c3
string_adaptor fixes
2005-11-17 11:38:21 +00:00
jez_higgins
4ab8c2dca7
*** empty log message ***
2005-11-09 21:13:22 +00:00
craigp98072
3f48a78dba
various fixes to placate gcc 4.0.2 compiler
...
(mostly adding typenames and templates, changing std::bad_cast to std::runtime_error)
2005-10-22 03:17:39 +00:00
jez_higgins
f9d4da5bb8
fixed setPrefix
2005-10-15 22:46:10 +00:00
jez_higgins
37e114a49d
phew!
2005-10-03 12:40:44 +00:00
jez_higgins
d7e2d7fb33
*** empty log message ***
2005-09-30 21:36:11 +00:00
jez_higgins
f354817b66
working towards excising all std::string-isms, so that Arabica can be used with any string type
2005-09-08 21:43:21 +00:00
jez_higgins
8a90fc60d1
*** empty log message ***
2005-08-30 11:58:21 +00:00
jez_higgins
a395a7e20e
CDATASection constructor fixes
2005-08-30 11:35:12 +00:00
jez_higgins
6ba60c2ce8
Fixes arising from bug in Text conversion constructor
2005-08-30 09:40:34 +00:00
jez_higgins
8f2cc8455b
gcc 4.0 corrections
2005-08-30 09:39:38 +00:00
jez_higgins
d7c23a30b8
big time changes to stream namespaces and namespace-prefixes properly
...
not quite done yet, but much improved
2005-08-25 11:31:09 +00:00
jez_higgins
7ce581df1b
gcc 4 fixes
2005-08-21 12:48:00 +00:00
jez_higgins
4014643f71
Binned out DOM/Simple/StringAdaptor.h - it hasn't been used for ages, because
...
everything uses SAX/helpers/StringAdaptor.h
Binned out SAX/helpers/StringAdaptor.h - moved it to Utils/StringAdaptor.h and
changed namespace from SAX to Arabica.
2005-08-15 21:09:13 +00:00
jez_higgins
a7824f2678
added setFeature/getFeature
2005-08-15 08:44:31 +00:00
jez_higgins
4cac62e1fa
factored out setParserFeatures
2005-08-15 08:31:41 +00:00
jez_higgins
bcd9584ce1
factorer out setParserProperty
2005-08-15 08:13:45 +00:00
jez_higgins
b515ec10a7
fixes to silence gcc warnings
2005-08-07 20:16:02 +00:00
jez_higgins
65465623a9
gcc portability fixes
2005-08-05 21:09:00 +00:00
jez_higgins
a067295ae1
*** empty log message ***
2005-08-02 10:56:06 +00:00
jez_higgins
05a97aab88
gcc 3.4.3 compatibility fixes
2005-08-01 10:21:44 +00:00
jez_higgins
578e7918b6
added an extra typedef
2005-07-21 10:52:06 +00:00
jez_higgins
686056afeb
*** empty log message ***
2005-07-15 22:51:57 +00:00
jez_higgins
e9a97584fc
*** empty log message ***
2005-06-08 21:45:07 +00:00
jez_higgins
925803b5b9
*** empty log message ***
2005-06-06 21:00:56 +00:00
jez_higgins
3eaf5ea436
comment fix
2005-06-06 21:00:20 +00:00
jez_higgins
db5b61aea6
Scope fixes
2004-10-12 20:49:30 +00:00
jez_higgins
def0b81ce2
Added lots of little scoping fixes so it builds with gcc3.4.*
2004-09-17 23:17:51 +00:00
jez_higgins
7fc5cea45e
Updating to build with gcc 3.4.2
2004-09-14 20:51:36 +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
67e16e5190
*** empty log message ***
2004-02-24 11:32:40 +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
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
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
de3fd21d0b
*** empty log message ***
2003-10-08 14:39:43 +00:00
jez_higgins
bb927066bf
Moved Utils/* into Arabica namespace
2003-09-11 14:05:18 +00:00
jez_higgins
961078a18a
Added default case to switch to stop GCC complain that not all the enum
...
states are accounted for.
2003-09-09 09:45:17 +00:00
jez_higgins
dba21361f7
added Utils folder
2003-08-28 12:36:15 +00:00
jez_higgins
79a92ee5f5
Provides an operator<< for DOM::Nodes.
2003-08-28 12:35:44 +00:00