3 * Element: Add add_child_cdata(), like the existing add_child_text().
4 * Node::create_new_child_node(): Use the default namespace if none is specified.
5 (Mathias Lorente) Bug #656110
6 * Documentation: Fix a markup typo.
11 * Do not require mm-common during the tarball build.
16 Major changes since 2.32:
18 * Allow separate and multi-threaded libxml2 usage by
19 not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
22 * Do not call xmlCleanupParser() when the library is unloaded,
23 because it is brutal and can break other parts of applications that try to
24 use libxml separately.
29 * Node::remove_child(): Fix a memory management problem introduced in
32 * Document::do_write_to_stream(), Schema::set_document(): Check the results from
33 xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo().
34 (Murray Cumming) Bug #635846 (Markus Elfring)
38 * (Hopefully) allow separate and multi-threaded libxml2 usage by
39 not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
42 * Do not call xmlCleanupParser() when the library is unloaded,
43 because it is brutal and can break other parts of applications that try to
44 use libxml separately.
46 * Minor code improvement.
48 * Build: Build the examples by default.
53 * Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL to prevent a
55 (Murray Cumming) Bug #386013 (Max Kirillov)
56 * Build: Added an MSVC .net 2010 and 64-bit Windows builds.
62 - Added main page doxygen text.
63 (David King, Murray Cumming)
65 (Murray Cumming) Bug #583412 (Hubert Figuiere).
66 - Correct some @newin tags.
71 * Build system rewrite.
72 * Use mm-common for reference documentation generation. Fixes GNOME bugs
73 #583411 (Hubert Figuiere), #614260 (David King) and #551501 (Johannes Schmid)
74 * Fix several compiler warnings.
75 * Use 0 instead of NULL. (Murray Cumming)
80 * Build without exceptions
84 * Increased version number to match GNOME 2.26.
88 * TextReader: Actually throw exceptions on errors.
89 (This breaks ABI but we do not believe that this class could be used with
90 this problem so it should not actually break any application.)
92 * Build: Windows: Remove unnecessary vsnprint define.
97 * Fixed another two memory leaks.
98 (Armin Burgmeier) Bug #563321 (Arjan Franzen)
99 * Removed obsolete MSVC6 project files
104 * Added new Schema and SchemaValidator classes to MSVC project files
105 (Arjan Franzen, Arming Burgmeier) Bug #563664.
106 * Avoid a memory leak in Validator::check_for_exception.
107 (Arjan Franzen, Murray Cumming) Bug #563321.
108 * Avoid a memory leak in schema class.
109 (Balazs Tirpak, Murray Cumming) Bug #312216.
115 * Attribute: Return the correct value even when using a namespace.
116 (Murray Cumming) Bug #547689 (Sergei Fedorov)
117 * Added Schema and SchemaValidator classes, demonstrated in
118 examples/schemavalidation.
119 (Emilien KIA) Bug #312216.
120 * Element: Added add_child_text() with a previous_node parameter, for adding
121 between existing nodes. Added add_child_text_before() too.
122 * Node: Added add_child() with a previous_node parameter, for adding between
123 existing nodes. Added add_child_before() too.
125 * SaxParser: added parse_chunk_raw().
131 * Attribute: Return the correct value even when using a namespace.
132 (Murray Cumming) Bug #547689 (Sergei Fedorov)
133 * Fixed MSVC++ Windows build.
138 * SaxParser: added parse_chunk_raw().
140 * examples: sax_parser: Catch convert errors when printing an exception to
141 std:cout, though libxml++/libxml should always supply valid UTF-8.
146 * Added Schema and SchemaValidator classes, demonstrated in
147 examples/schemavalidation.
148 (Emilien KIA) Bug #312216.
149 * Element: Added add_child_text() with a previous_node parameter, for adding
150 between existing nodes. Added add_child_text_before() too.
151 * Node: Added add_child() with a previous_node parameter, for adding between
152 existing nodes. Added add_child_before() too.
157 * Document: Fix a memory leak, by calling xmlCleanupParser
159 (Deng Xiyue) Bug #501168 (Matt G.)
160 * Build: Fix the build with gcc 4.3 pre-releases.
161 (Martin Michlmayr) Bug #510053.
166 * Element: Added get_attribute_value(),
167 to get a simple text value for an attribute.
168 (Stef Walter) Bug #373573.
169 * Added an experimental --enable-api-exceptions
170 configure option, to allow libxml++ to build without
176 * Added an experimental --enable-api-exceptions
177 configure option, to allow libxml++ to build without
182 * Element.h: Added get_attribute_value(),
183 to get a simple text value for an attribute.
184 (Stef Walter) Bug #373573.
188 * TextReader: get_name(): Fixed a memory leak.
189 (Christophe de Vienne) Bug #447535.
193 * Document::add_comment,
194 Element: add_child_text(), add_child_comment():
195 avoid accessing freed memory. (Murray Cumming)
199 * Slight win32 build improvement, possibly.
201 * Slight improvement to examples.
206 * Node: Adedd get_next_sibling() and get_previous_sibling().
212 * Node: Added get_parent() Bug #351876 (Patch by Nate Nielsen)
213 * TextReader: Added TextReader(const char* data) constructor, for
214 parsing memory buffers. Bug #351215 (Patch by Nate Nielsen)
215 * Element::set_attribute(): Really return the new attribute.
216 Bug #361950 (Patch by Nate Nielsen)
217 * Build: Added MS Visual Studio 2005 project files.
224 - Improved ContentNode documentation (Murray Cumming)
228 * First unstable 2.13.x release, to become stable 2.14.x, for GNOME 2.14.
230 - Added find() overload that takes namespaces to register during the search,
231 using xmlXPathRegisterNs(). Bug #323935. (Robert Fleming)
232 - set_namespace(): When creating a default namespace, avoid the
233 "The namespace () has not been declared" warning, by passing 0 to
234 xmlSearchNs() instead of an empty string. Bug #318186.
236 * Build: Fix buildir!=srcdir builds. Bug #319863.(Vadim Zeitlin)
238 - Tutorial: Mention pkg-config.
239 - Reference: Grammar fixes and a small fix for find().
244 * Added the state "Reading" to xml Reader States list.
248 * First unstable 2.11.x release, to become stable 2.12.x
249 * Fixed Document::set_entity_declaration behavior (Murray Cumming)
250 * Updated MSVC.Net2003 project files (Cedric Gustin)
251 * Fixed bugs #301727, #301712, #156352, #161825, #307481, #314419
255 * Fixed documentation packaging problems (Murray Cumming, Christophe de Vienne)
259 * Added MSVC .Net 2003 support (Cedric Gustin)
260 * Improved documentation + Added a manual (Murray Cumming)
261 * Fixed a bug in utf8 handling in Document::do_write_to_string (Murray Cumming)
265 * First unstable 2.9.x release, to become stable 2.10.x.
266 * DomParser, SaxParser: Added
267 parse_memory_raw(const unsigned char* contents, size_type bytes)
268 for parsing non-utf8 text or text of unknown encoding.
274 * Changes compared to libxml++ 2.7:
275 - Added Validator and DtdValidator classes.
279 * Fixed bug #150082 (Christophe de Vienne)
283 * Added Validator and DtdValidator (Guillaume Arreckx)
285 2004-05-05 2.6.1 (stable):
287 * Fixed an issue (#141824) with Glib::ustring.
288 * Fixed ContentNode::SetContent behavior.
290 2004-04-13 2.6.0 (stable):
292 * Corrected constness of TextReader::get_current_node (Murray Cumming)
294 2004-03-02 2.5.2 (unstable):
296 * Fixed bug #134390: "SEGFAULT in Element::get_attribute" (John Coyle)
299 2004-02-09 2.5.1 (unstable):
301 * Introduced Glib::ustring instead of std::string (Murray Cumming)
302 * Added Document::create_root_node_by_import (Kim Garrison)
303 * Fixed bugs #131018, #131329 and #132014.
304 * Added TextReader interface (Christophe de Vienne)
306 2003-12-18 1.0.0 (stable):
308 * Updated msvc files (Ephraim Vider)
309 * Fixed an issue in SaxParser (Murray Cumming)
311 2003-12-08 0.28 (unstable):
313 * Added entity handling to the SAX parser + examples (Dan Dennedy and Murray Cumming)
314 * Replaced SaxParser::AttributeMap with an ordered container (Christophe de Vienne)
315 * Fixed an issue with threading (Christophe de Vienne)
316 * Complete switched to pkg-config (Christophe de Vienne)
318 2003-11-05 0.27 (unstable):
320 * Completed documentation
321 * Added Element::add_comment (Dan Dennedy)
322 * Wrapped xmlIO output buffers and added Document::write_to_stream (Christophe de Vienne)
323 * Cleaned and made more consistent Element API (Murray Cumming)
324 * Added entities support in DomParser (Murray Cumming)
326 2003-09-23 0.26 (unstable):
328 * Added import_node example into MSVC6 project files (Ephraim Vider)
329 * Node::import_node now takes a const Node (suggested by Rafael Vuijk)
330 * Fixed threading issue due to incorrect libxml2 initialisation (Fredrik Arnerup)
331 * Updated Doxyfile (Christophe de Vienne)
332 * Added Namespaces support (Dan Dennedy, Murray Cumming)
334 2003-07-18 0.25 (unstable):
336 * Fixed MSVC6 project files (Ephraim Vider)
337 * Added Node::import_node (Eric Bourque)
338 * Removed throw specification (Christophe de Vienne).
339 * Removed old-style autoconf macro for libxml++ detection (Christophe de Vienne).
340 * Removed unused examples (Murray Cumming)
342 2003-06-11 0.24 (unstable):
344 * Added Document::write_to_file_formatted() and
345 Document::write_to_string_formatted() - they add white space indenting.
346 (Christophe de Vienne)
347 * Added ContentNode::is_white_space() to make it easier for applications to
348 ignore white space such as indenting. (Murray Cumming)
349 * Node: Added set_name(). (Christophe de Vienne)
350 * Compiles with gcc's pedantic warnings as errors.
351 (Christophe de Vienne)
352 * libxml++ header files no longer include any libxml header files.
353 (Christophe de Vienne)
354 * Removed superfluous standalone parse_* methods in document.[h|cc]
356 * Minor reference documentation corrections.
358 * Replaced some <istream> with <iostream> to support older compilers.
360 * Added classes to wrap the missing node types. (Ephraim Vider).
361 * Fixed a memory leak in write_to_string[_formatted] functions. (Morten Hanssen)
362 * Fixed compile error in keepblanks.h with MSVC 6.0. (Christophe de Vienne).
363 * Fixed segfault in DomParser::parse_stream on parsing failure.
364 (Christophe de Vienne).
366 2003-05-20: 0.23 (unstable):
368 * Fixed incorrect use of xmlKeepBlanksDefault. Handling of white spaces
369 is now conforming to xml specification. (Christophe de Vienne)
370 * Classes inherit from NonCopyable to avoid mistakes and clarify the
373 * Node::find() returns empty NodeSet if it does not find the path.
375 * DomParser: Fixed memory leak. (Christophe de Vienne, Thierry Blanchard)
376 * Fixed NetBSD compilation (Chistophe de Vienne, Jaka Jejcic)
377 * Improved .spec.in file. (Eric Bourque)
378 * Some MSVC++ support and minor corrections. (Ephraim Vider)
383 - Reduced API duplication - you must now use get_document().
385 - Now throws exception if document not found.
386 (Christophe de Vienne)
387 - Added const get_document() overload. (Murray Cumming)
392 - Validation now supported: Use Parser::set_validate() to turn on validation.
393 Parsers will then throw validation_error exceptions if validation fails.
395 - SaxParser: Added parse_chunk() for gradual parsing of XML fragments.
398 - Moved add_child_content(), get_child_content(), set_child_content(),
399 and has_content() to Element class.
400 - Fixed set_child_content() to add content instead of creating a node.
402 * Added spec file for RPMs. (Eric Bourque)
405 2003-02-15: 0.20 (unstable):
407 * Node::remove_child() now works.
409 * Added examples/dom_xpath.
410 (Stefan Seefeld, Murray Cumming)
412 2003-02-08: 0.19 (unstable):
414 * The imlementation now uses libxml's API more instead of reimplementing data structures.
415 (Stefan Seefeld, Murray Cumming)
416 * Attribute::get_value() use libxml's API properly, so it now respects the DTD.
418 * Node: Added get_path() and find() for xpath lookup. (Stefan Seefeld)
419 * Attribute now inherits from Node, as required by the find() method. (Stefan Seefeld)
420 * Added Document class. (Stefan Seefeld)
421 * Added cobj() accessors, in case you need to use unwrapped libxml API. (Murray Cumming)
423 Added CDATA section handler.
424 fixed a potential buffer overflow problem
427 2003-01-09: 0.18 (unstable):
429 * big API change for nodes handling : the different types of node now herit
430 from a base Node class. This, among other advantages, avoids previous ambiguity
431 on content() acessors meaning.
432 * little bugfixes and improvements in SaxParser.
434 2002-12-10: 0.17 (unstable):
436 * properties are now called attributes.
437 * it is now possible to throw exceptions from callback
438 methods in SaxParser.
439 * parsers can parse from a stream.
440 * memory leak fixed in SaxParser.
441 * configure check for libxml2 2.4.1 at least.
445 2002-11-20: 0.16 (unstable):
448 * Xml type name prefix removed.
449 * Tree replaced with DomParser.
450 * Parser renamed to SaxParser.
451 * Property renamed to Attribute
452 * Errors thrown as exceptions.
453 * Both parsers can parse from either file or memory.
455 * Simplified memory management -
456 no more returning of static temporaries.
457 * set_*() methods return void.