diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
commit | 5c3263289b3e10c49badd416e12075af0f2f294e (patch) | |
tree | 9d0b1f3bb167f794ec18466f94f7e8ce6b1d02fa /src/xmlreader.h | |
parent | 579a58106e541ef4a005eceaf4577048c69fa539 (diff) | |
download | libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.gz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.bz2 libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.xz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.zip |
Added comment handling to the XML system. It just discards them completely, but
later it will retain them so that even after modifying the nodes the comments
could be kept in place so they aren't destroyed if something changes.
Also added necesarry functions to the XmlDocument that lets the tests run again
and fixes some issues with multiple ownernership when transfering the contents
to a new document.
Diffstat (limited to 'src/xmlreader.h')
-rw-r--r-- | src/xmlreader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlreader.h b/src/xmlreader.h index 19e485a..4117dfd 100644 --- a/src/xmlreader.h +++ b/src/xmlreader.h | |||
@@ -57,7 +57,7 @@ private: | |||
57 | /** | 57 | /** |
58 | * Called to increment the current stream position by a single character. | 58 | * Called to increment the current stream position by a single character. |
59 | */ | 59 | */ |
60 | virtual void usedChar() = 0; | 60 | virtual void usedChar( int nAmnt = 1) = 0; |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * Automoton function: is whitespace. | 63 | * Automoton function: is whitespace. |