Debian Codegraph @

NEWS

raw
1 5.6.1 (stable) 2026-05-13
2
3 * Element::remove_attribute(): Fix the call to xmlHasNsProp()
4 (gaston68cz) Issue #79
5
6 * pkg-config file: List libxml-2.0 in Requires.private instead of Requires
7 (Kjell Ahlstedt) Issue #80 (Ryan Carsten Schmidt)
8
9 Documentation:
10 * MSVC_NMake/MSVC-Builds.md: Mention Visual Studio 2026
11 * Visual Studio builds: Update build information
12 (Chun-wei Fan) Pull request #75
13 * Describe how to use libxml++ with meson
14 (Kjell Ahlstedt)
15
16 Build:
17 * Meson and NMake builds: Distinguish Visual Studio 2026 builds
18 from Visual Studio 2022 builds
19 * NMake Makefiles: Consolidate items and add flexibility
20 * NMake Makefiles: Make build process more robust
21 (Chun-wei Fan) Pull request #75
22 * Fix build with build-deprecated-api=false
23 (Kjell Ahlstedt)
24
25
26 5.6.0 (stable) 2025-10-28
27
28 This release and future releases will not store tarballs at
29 download.gnome.org/sources/. Only modules with source code at
30 gitlab.gnome.org/GNOME/ can store tarballs there now.
31 Tarballs of libxmlplusplus are now stored only at
32 github.com/libxmlplusplus/libxmlplusplus/releases/.
33
34 * TextReader::get_xml_lang(): Fix memory leak
35 * TextReader: Use xmlTextReaderSetStructuredErrorHandler()
36 instead of xmlTextReaderSetErrorHandler()
37 (Kjell Ahlstedt)
38 * TextReader: Use callback functions with C linkage.
39 This callback was overlooked in 5.2.0.
40 (Kjell Ahlstedt) Issue glibmm#1 (Murray Cumming)
41 * TextReader: Consider that the typedef xmlStructuredErrorFunc()
42 changed in libxml2 2.12.0
43 (Kjell Ahlstedt)
44 * Add methods that return std::optional<xmlpp::ustring>:
45 TextReader: Add read_inner_xml2(), read_outer_xml2(), read_string2(),
46 get_base_uri2(), get_local_name2(), get_name2(), get_namespace_uri2(),
47 get_prefix2(), get_value2(), get_xml_lang2(),
48 get_attribute2() (3 overloaded ones), lookup_namespace2().
49 Attribute: Add get_value2()
50 AttributeDeclaration: Add get_value2()
51 AttributeNode: Add get_value2()
52 Document: Add get_encoding2()
53 Dtd: Add get_external_id2(), get_name2(), get_system_id2()
54 ContentNode: Add get_content2()
55 Element: Add get_attribute_value2()
56 EntityDeclaration: Add get_original_text2(), get_resolved_text2()
57 EntityReference: Add get_original_text2(), get_resolved_text2()
58 Node: Add get_name2(), get_namespace_prefix2(), get_namespace_uri2(),
59 get_path2()
60 Deprecate the corresponding methods that return xmlpp::ustring.
61 (Kjell Ahlstedt) Issue #71 (David Bears)
62 * TextReader: Fix naming clash with macOS macro
63 (Ruoyu Zhong) Pull request #74
64
65 Documentation:
66 * Remove obsolete FSF (Free Software Foundation) address
67 (Tom spot Callaway) Pull request #72
68 * Describe download locations in more detail.
69 Releases will not be stored at download.gnome.org/sources/.
70 (Kjell Ahlstedt)
71
72 Examples, Tests:
73 * Use the new methods that return std::optional<xmlpp::ustring>
74 (Kjell Ahlstedt)
75
76 Meson build:
77 * Use the Python installation that Meson uses.
78 See merge request glibmm!67
79 (Kjell Ahlstedt)
80
81
82 5.4.0 (stable):
83
84 * Node: Add eval_xpath().
85 (Kjell Ahlstedt) Issue #66 (Marie Preusse)
86
87 Meson build:
88 * Require meson >= 0.62.
89 * Use Meson's pkgconfig module instead of the libxml++.pc.in template.
90 (Kjell Ahlstedt)
91
92
93 5.2.1 (stable):
94
95 * Parser: Ignore deprecation of xmlParserCtxt members.
96 (Kjell Ahlstedt)
97
98 Documentation:
99 * Don't link to removed developer-old.gnome.org.
100 (Kjell Ahlstedt)
101
102 Meson build:
103 * Use libxml2 meson build when libxml2 is built as a subproject.
104 (Andrew Potter) Issue #67, Pull request #68
105 * Require python3 >= 3.7. That's what Meson requires.
106 (Kjell Ahlstedt)
107
108 5.2.0 (stable):
109
110 * Use callback functions with C linkage
111 (Kjell Ahlstedt) Issue glibmm#1 (Murray Cumming)
112
113 Documentation:
114 * Update Visual Studio build docs
115 (Chun-wei Fan) Pull request #52
116 * Remove AUTHORS and add general information to README.md
117 (Kjell Ahlstedt) Issue gtkmm#140
118 * Parser docs: Add a link to parser options
119 * README.md: Add info about building the documentation
120 (Kjell Ahlstedt)
121
122 Meson build:
123 * Cleanup and fix libxml2 dep search
124 (Chun-wei Fan) Pull request #51
125 * Don't fail if warning_level=everything
126 (Daniel Boles, Kjell Ahlstedt) Merge request gtkmm!87
127 * Add bcrypt dependency when libxml2 is a subproject
128 Issue #64 (Kjell Ahlstedt)
129 (Andrew Potter) Pull request #65
130 * Don't require the 'dot' command to build the documentation
131 (Kjell Ahlstedt) Issue libsigcplusplus#98
132 * Add the build-manual option
133 (Kjell Ahlstedt)
134
135 Build:
136 * Make it compatible with libxml2 >= 2.12.0
137 by modifying #include directives
138 (Kjell Ahlstedt)
139
140
141 5.0.3 (stable):
142
143 * exception: Fix linking on MinGW
144 (Chun-wei Fan) Issue #45 (Rosen Penev)
145 (Chun-wei Fan) Pull request #46
146 * headers: Drop LIBXMLPP_API from 'friend' members
147 (Chun-wei Fan) Pull request #47
148
149 Meson build:
150 * Detect if we build from a git subtree
151 (William Roy) Merge request gtkmm!72
152 * Don't copy files with configure_file()
153 (Kjell Ahlstedt)
154 * Fix the evaluation of is_git_build on Windows
155 (Kjell Ahlstedt) Issue gtkmm#131 (William Roy)
156
157
158 5.0.2 (stable):
159
160 * Document, Node: Recognize HTML documents
161 (Kjell Ahlstedt) Issue #23 (rkd77)
162 * Parsers: Avoid std::getline for istream inputs
163 (Andrew Potter) Pull request #28
164 * Many small updates, suggested by the clang-tidy program
165 (Rosen Penev) Pull requests #33-#35, #37-#43
166
167 Build:
168 * Meson build: When mm-common >= 1.0.4 is used, Perl is not required
169 (Kjell Ahlstedt)
170 * Win32: Don't include afxres.h in resources
171 * Support Visual Studio 2022
172 (Chun-wei Fan)
173 * Meson build: Specify 'check' option in run_command()
174 Will be necessary with future versions of Meson.
175 (Kjell Ahlstedt)
176 * Meson build: Avoid configuration warnings
177 (Kjell Ahlstedt, Rosen Penev) Pull request #27
178 * docs/manual: Sort example file lists
179 See https://gitlab.gnome.org/GNOME/gtkmm-documentation/-/merge_requests/15
180 by Bernhard M. Wiedemann
181 (Kjell Ahlstedt)
182 * Meson build: Enable static building on windows
183 (Andrew Potter) Pull request #29
184 * Meson build: Require meson >= 0.60.0
185 * Meson build: libxml2 can be built as a subproject
186 (Andrew Potter) Pull request #30
187 * NMake Makefiles: Remove dependency on msvc_recommended_pragmas.h
188 * NMake Makefiles: Make things more configurable
189 (Chun-wei Fan) Issue #44 (lxxxd)
190
191 Documentation:
192 * docs/manual: Upgrade from DocBook 4.1 to DocBook 5.0
193 (Kjell Ahlstedt)
194 * MSVC_NMake/README: Document dependency placement
195 (Chun-wei Fan) Issue #44 (lxxxd)
196
197
198 5.0.1 (stable):
199
200 Build:
201 * libxml++config.h.*: Don't dllimport on MinGW
202 (Chun-wei Fan) Issue gtkmm#90 (Lukas K.)
203 * Meson build: Make it possible to use libxml++ as a subproject
204 (Kjell Ahlstedt)
205 * Meson build: No implicit_include_directories
206 (Kjell Ahlstedt)
207 * MSVC build: Export classes selectively
208 (Chun-wei Fan)
209
210 Documentation:
211 * docs/index.md: Describe the different libxml++ ABIs
212 (Kjell Ahlstedt) Issue #20 (Tom Schoonjans)
213
214
215 5.0.0 (stable):
216
217 This is the first stable release in the libxml++-5.0 ABI series.
218 It is parallel-installable with the libxml++-2.6, libxml++-3.0
219 and libxml++-4.0 ABIs.
220
221 The tarball for 5.0.0 has been created with 'meson dist'.
222 If you build with Autotools from the tarball, please read
223 the relevant part of the README file.
224
225 Build:
226 * Add NMake Makefiles
227 Remove Visual Studio 2010 projects
228 (Chun-wei Fan) Pull request #10
229 * Use __declspec(dllexport) when building on Visual Studio
230 Stop using gendef.exe
231 (Chun-wei Fan) Pull request #15
232 * Add support for building with Meson
233 (Kjell Ahlstedt, Chun-wei Fan) Pull request #16, #17, issue #19
234
235
236 4.9.1 (unstable):
237
238 * Change ABI name from libxml++-4.0 to libxml++-5.0
239 There is also a libxml++-4-0 branch for the libxml++-4.0 ABI,
240 which still uses glibmm-2.64.
241 And there is a libxml++-3-0 branch for the libxml++-3.0 ABI,
242 which still uses glibmm-2.4.
243 * Build: Remove dependency on glibmm and don't use Glib::ustring
244 For now, the API uses an xmlpp::ustring alias of std::string
245 where it previously used Glib::ustring.
246
247 3.9.1 (unstable):
248
249 * Change ABI name to libxml++-4.0
250 There is also a libxml++-3-2 branch for the libxml++-3.0 ABI,
251 which still uses glibmm-2.4.
252 * Build:
253 - Use glibmm-2.64 instead of glibmm-2.4.
254 - Require C++17.
255 * Parser: Make some methods const
256
257 3.2.0 (stable):
258
259 * Document, DomParser: Improve XInclude processing:
260 Document:
261 Add process_xinclude() overload that takes a fixup_base_uris parameter.
262 DomParser:
263 Add set/get_xinclude_options() and add optional XInclude processing to the
264 parse methods.
265 (Kjell Ahlstedt) Bug 781566
266 * Add explicit keyword to some single-parameter constructors.
267 (Murray Cumming)
268 * tests: Don't require C++17
269 (Kjell Ahlstedt)
270 * Build: Fix srcdir != buildir build.
271 (Kjell Ahlstedt, Murray Cumming)
272
273 3.0.1 (stable):
274
275 * Element::remove_attribute(): Delete the C++ wrapper
276 (Harald Schmalzl, Kjell Ahlstedt) Bug #768404.
277
278 3.0.0 (stable):
279
280 * This is the first stable release of libxml++-3.0. ABI and API are
281 incompatible with libxml++-2.6. These two series of libxml++ can be
282 installed in parallel.
283 Applications that want to upgrade from libxml++-2.6 to libxml++-3.0
284 must change their pkg-config check to libxml++-3.0.
285 (Kjell Ahlstedt) Bug #754673.
286
287 * This release is identical to the unstable 2.91.3, except for the so name,
288 which has now been bumped.
289 (Kjell Ahlstedt) Bug #760574 (Dominique Leuenberger)
290
291 2.91.3 (unstable):
292
293 * Element: Remove a redundant nullptr check
294 (Renu Tyagi) Bug #757515
295
296 * Use scoped enums (enum class) instead of unscoped enums
297 * Document: Test for nullptr in a constructor
298 * DomParser: Make operator bool() explicit
299 (Kjell Ahlstedt)
300
301 * The ABI and API are not identical to libxml++ 2.91.2.
302 There may be more changes in ABI and/or API before the first stable
303 libxml++-3.0 release.
304
305 2.91.2 (unstable):
306
307 * Remove the preprocessor constant LIBXMLCPP_EXCEPTIONS_ENABLED.
308 It was always 1.
309
310 * Add a config-time test for support of std::exception_ptr. Don't try to
311 use std::exception_ptr on a system where it does not exist.
312 This includes re-implementing the wrapped_exception class and the
313 raise() and clone() methods in xmlpp::exception and its subclasses.
314 (Daniel Trebbien, Kjell Ahlstedt) Bug #757042 (Michael Biebl)
315
316 * The ABI is not identical to that of libxml++ 2.91.1.
317 There may be more changes in ABI and/or API before the first stable
318 libxml++-3.0 release.
319
320 2.91.1 (unstable):
321
322 * Renamed ABI from libxml++-2.6 to libxml++-3.0.
323 This requires applications to change their pkg-config check to libxml++-3.0
324 when they wish to use libxml++ 2.9x or 3.x instead of libxml++ 2.x.
325 (Kjell Ahlstedt) Bug #754673.
326 There may be more changes in ABI and/or API before the first stable
327 libxml++-3.0 release.
328
329 * Node: Add const_NodeList and use it in a const version of get_children().
330 Add const_NodeSet and use it in a const version of find().
331 Replace xmlpp::NodeSet by xmlpp::Node::NodeSet.
332 Element: Add const_Attribute_list and use it in a const version of
333 get_attributes().
334 (Kjell Ahlstedt) Bug #338907 (Marcos Mayorga)
335 * Document: Add a non-const version of get_root_node(). Let the const version
336 return a const pointer.
337 (Knut Aksel Røysland) Bug #632522
338 * Element: Add a non-const version of get_attribute(). Let the const version
339 return a const pointer.
340 (Knut Aksel Røysland) Bug #632524
341 * Replace the deprecated std::auto_ptr by std::unique_ptr
342 (Kjell Ahlstedt) Bug #753123
343 * DomParser: The default behaviour is to throw both parse errors and
344 validity errors in an exception instead of printing some messages on stderr.
345 * Parser: Some protected data has become private.
346 * Several classes: Some virtual methods have become non-virtual, and some
347 non-virtual methods have become virtual.
348 * Remove class xmlpp::wrapped_exception and the deprecated classes
349 Schema and SchemaValidator.
350 * xmlpp::exception and its subclasses: Remove Raise() and Clone().
351 * SaxParser: Start each parsing with a new Document for entity resolution.
352 * Move all Node::add_child*() methods to Element and rename them to
353 add_child_element*().
354 * Attribute: Move set_value() to AttributeNode.
355 * Use std::string instead of Glib::ustring for filenames.
356 * Node: Replace remove_child() by remove_node().
357 * Move some code from DtdValidator to Dtd.
358 * Element: Rename set/get_child_text() to set/get_first_child_text().
359
360
361 2.39.2 (unstable):
362
363 * SaxParser: Fix “double free or corruption” if a std::exception is thrown
364 by a handler method.
365 (Daniel Trebbien, Kjell Ahlstedt) Bug #753570
366 * Replace some (deprecated in C++11) std::auto_ptr by std::unique_ptr.
367 There are still some auto_ptrs in header files bug replacing them would
368 break ABI.
369 (Kjell Ahlstedt) Bug #753123.
370
371 2.39.1 (unstable):
372
373 * Use (and require) C++11.
374 (Murray Cumming)
375
376 2.38.1 (stable):
377
378 * Fix the build with C++11 compilers, such as MS Visual C++ 2013 - Implicit
379 conversions from streams to bool are no longer allowed.)
380 (Mikhail Titov) Bug #748658
381 * Build: Disable deprecated API in dependencies if --enable-warnings=fatal
382 (Kjell Ahlstedt)
383 * Build: Require libxml2 2.7.7 or later
384 (Kjell Ahlstedt)
385
386 2.38.0 (stable):
387
388 This stable version is identical to the unstable version 2.37.2.
389
390 API additions since 2.36:
391
392 * Add Node::add_child_with_new_ns().
393 (Kjell Ahlstedt) Bug #737682 (Mathias Lorente)
394 * Add XsdSchema and XsdValidator classes. Deprecate Schema and SchemaValidator.
395 Add RelaxNGSchema and RelaxNGValidator.
396 (Kjell Ahlstedt) Bug #737712 (Michel Stam)
397 Thanks to Tjalling Hattink, who made initial versions of the RelaxNG classes.
398 * Parser: Add input operator>>(std::istream& in, Parser& parser).
399 (Kjell Ahlstedt) Bug #329281 (Pierre Thierry)
400 * Parser: Add [set|get]_include_default_attributes() and
401 [set|get]_parser_options().
402 (Kjell Ahlstedt) Bug #701674 (Bob Nolty)
403
404 2.37.2 (unstable):
405
406 * Add version information to libxml++config.h.
407 (Kjell Ahlstedt)
408 * Document: Avoid possible null pointer dereference.
409 (Gaurav) Bug #732604
410 * Element::set_namespace_declaration(): Update the node's associated namespace.
411 Add dom_update_namespace example program.
412 (Mathias Lorente) Bug #737682
413 * Add Node::add_child_with_new_ns().
414 (Kjell Ahlstedt) Bug #737682 (Mathias Lorente)
415 * Schema: Don't use null pointers in get_name(), get_target_namespace()
416 and get_version().
417 (Kjell Ahlstedt)
418 * Add XsdSchema and XsdValidator. Deprecate Schema and SchemaValidator.
419 Add RelaxNGSchema and RelaxNGValidator.
420 (Kjell Ahlstedt) Bug #737712 (Michel Stam)
421 Thanks to Tjalling Hattink, who made initial versions of the RelaxNG classes.
422 * Parser: Add input operator>>(std::istream& in, Parser& parser).
423 (Kjell Ahlstedt) Bug #329281 (Pierre Thierry)
424
425 Documentation:
426 * Use doxygen-extra.css from the mm-common package.
427 Requires mm-common 0.9.7 when configured to use maintainer-mode.
428 (Kjell Ahlstedt)
429
430 Build:
431 * Avoid infinite loop with Doxygen 1.8.6.
432 (Kjell Ahlstedt)
433
434 2.37.1 (unstable):
435
436 * Parser: Add [set|get]_include_default_attributes().
437 (Kjell Ahlstedt) Bug #701674 (Bob Nolty)
438 * Improve some null-pointer checks
439 (Kjell Ahlstedt) Bug #705187 (Gaurav)
440
441 Documentation:
442 * Manual: Add XIncludeStart and XIncludeEnd to the node type tree.
443 (Kjell Ahlstedt)
444 * Update Doxyfile.in for doxygen 1.8.3.
445 (Kjell Ahlstedt)
446
447 Build:
448 * Fix examples/Makefile.am for new versions of automake.
449 (Kjell Ahlstedt) Bug #678390
450 * Examples dom_parse_entities and dom_parser: Fix when LC_ALL=C.
451 (Murray Cumming) Bug #702136 (Michael Biebl)
452
453 2.36.0 (stable):
454
455 * Element::set_namespace_declaration():
456 It is not an error to set the same URI twice.
457 (Kjell Ahlstedt) Bug #635846, comment 27.
458 * Require libxml-2.0 >= 2.7.3.
459 (Kjell Ahlstedt)
460 * Parser::initialize_context(): Call xmlCtxtUseOptions().
461 (Kjell Ahlstedt)
462
463 2.35.4 (unstable):
464
465 * Document:
466 - Add process_xinclude(), using new XIncludeStart
467 and XIncludeEnd classes, derived from Node.
468 (Kjell Ahlsted) Bug #338521.
469 - Make the Document(xmlDoc*) constructor public.
470 (Kjell Ahlsted) Bug #668980.
471 * Parser: Make it thread-safe.
472 (Kjell Ahlstedt) Bug #681467.
473 * Schema::set_document(): If the argument 'document' is 0 then
474 create an empty document, as the documentation says.
475 (Kjell Ahlstedt)
476 * Improve the error handling.
477 (Kjell Ahlstedt) Bug #635846.
478 * Documentation:
479 - Add incremental parsing to the SaxParser example program.
480 - DtdValidation and SchemaValidation: Print all exception information.
481 - Improve error descriptions.
482 (Kjell Ahlstedt)
483
484
485 2.35.3 (unstable):
486
487 * Node:
488 - Add eval_to_[boolean|number|string]() methods.
489 (Kjell Ahlstedt) Bug #316244
490 - Fix memory problems in import_node().
491 (Kjell Ahlstedt) Bug #672992
492 * Build:
493 - The examples are now built and run during make check.
494 (Kjell Ahlstedt) Bug #678390
495 - Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.
496 (Kjell Ahlstedt)
497
498 2.35.2 (unstable):
499
500 * Node: Add get_first_child().
501 (Murray Cumming, Based on a patch by Ilya Murav'jov in bug #648125)
502 * Build: Remove the --disable-api-exceptions configure option.
503 (Murray Cumming)
504
505 2.35.1 (unstable):
506
507 * Handle attributes with default values correctly.
508 (Kjell Ahlstedt) Bug #669635.
509 * Improved handling of entity references and processing instructions.
510 (Kjell Ahlstedt) Bug #669481
511 * Parser: Throw more detailed error messages.
512 (Kjell Ahlstedt) Bug #304020 (Virgile Devaux)
513 * Document: Make the Document(xmlDoc*) constructor protected.
514 (Murray Cumming) Bug #668980 (A. Pignotti).
515
516 2.34.2 (stable):
517
518 * Element: Add add_child_cdata(), like the existing add_child_text().
519 * Node::create_new_child_node(): Use the default namespace if none is specified.
520 (Mathias Lorente) Bug #656110
521 * Documentation: Fix a markup typo.
522 (Murray Cumming)
523
524 2.34.1 (stable):
525
526 * Do not require mm-common during the tarball build.
527 (Murray Cumming)
528
529 2.34.0 (stable):
530
531 Major changes since 2.32:
532
533 * Allow separate and multi-threaded libxml2 usage by
534 not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
535 callbacks.
536 (Alessandro Pignotti)
537 * Do not call xmlCleanupParser() when the library is unloaded,
538 because it is brutal and can break other parts of applications that try to
539 use libxml separately.
540 (Murray Cumming)
541
542 2.33.2 (unstable):
543
544 * Node::remove_child(): Fix a memory management problem introduced in
545 2.33.1.
546 (Murray Cumming)
547 * Document::do_write_to_stream(), Schema::set_document(): Check the results from
548 xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo().
549 (Murray Cumming) Bug #635846 (Markus Elfring)
550
551 2.33.1 (unstable):
552
553 * (Hopefully) allow separate and multi-threaded libxml2 usage by
554 not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
555 callbacks.
556 (Alessandro Pignotti)
557 * Do not call xmlCleanupParser() when the library is unloaded,
558 because it is brutal and can break other parts of applications that try to
559 use libxml separately.
560 (Murray Cumming)
561 * Minor code improvement.
562 (Knut Aksel Røysland)
563 * Build: Build the examples by default.
564 (Murray Cumming)
565
566 2.32.0 (stable):
567
568 * Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL to prevent a
569 crash/corruption.
570 (Murray Cumming) Bug #386013 (Max Kirillov)
571 * Build: Added an MSVC .net 2010 and 64-bit Windows builds.
572 (Armin Burgmeier)
573
574 2.30.1 (stable):
575
576 * Documentation:
577 - Added main page doxygen text.
578 (David King, Murray Cumming)
579 - Show NodeList.
580 (Murray Cumming) Bug #583412 (Hubert Figuiere).
581 - Correct some @newin tags.
582 (Murray Cumming)
583
584 2.30.0(stable):
585
586 * Build system rewrite.
587 * Use mm-common for reference documentation generation. Fixes GNOME bugs
588 #583411 (Hubert Figuiere), #614260 (David King) and #551501 (Johannes Schmid)
589 * Fix several compiler warnings.
590 * Use 0 instead of NULL. (Murray Cumming)
591
592 2.26.1(stable):
593
594 * Build fixes
595 * Build without exceptions
596
597 2.26.0(stable):
598
599 * Increased version number to match GNOME 2.26.
600
601 2.24.3 (stable):
602
603 * TextReader: Actually throw exceptions on errors.
604 (This breaks ABI but we do not believe that this class could be used with
605 this problem so it should not actually break any application.)
606 Bug #348006.
607 * Build: Windows: Remove unnecessary vsnprint define.
608 (Armin Burgmeier)
609
610 2.24.2 (stable):
611
612 * Fixed another two memory leaks.
613 (Armin Burgmeier) Bug #563321 (Arjan Franzen)
614 * Removed obsolete MSVC6 project files
615 (Armin Burgmeier)
616
617 2.24.1 (stable):
618
619 * Added new Schema and SchemaValidator classes to MSVC project files
620 (Arjan Franzen, Arming Burgmeier) Bug #563664.
621 * Avoid a memory leak in Validator::check_for_exception.
622 (Arjan Franzen, Murray Cumming) Bug #563321.
623 * Avoid a memory leak in schema class.
624 (Balazs Tirpak, Murray Cumming) Bug #312216.
625
626 2.24.0 (stable):
627
628 Changes since 2.22:
629
630 * Attribute: Return the correct value even when using a namespace.
631 (Murray Cumming) Bug #547689 (Sergei Fedorov)
632 * Added Schema and SchemaValidator classes, demonstrated in
633 examples/schemavalidation.
634 (Emilien KIA) Bug #312216.
635 * Element: Added add_child_text() with a previous_node parameter, for adding
636 between existing nodes. Added add_child_text_before() too.
637 * Node: Added add_child() with a previous_node parameter, for adding between
638 existing nodes. Added add_child_before() too.
639 (Murray Cumming)
640 * SaxParser: added parse_chunk_raw().
641 (Armin Burgmeier)
642
643
644 2.23.3 (unstable):
645
646 * Attribute: Return the correct value even when using a namespace.
647 (Murray Cumming) Bug #547689 (Sergei Fedorov)
648 * Fixed MSVC++ Windows build.
649 (Armin Burgmeier)
650
651 2.23.2 (unstable):
652
653 * SaxParser: added parse_chunk_raw().
654 (Armin Burgmeier)
655 * examples: sax_parser: Catch convert errors when printing an exception to
656 std:cout, though libxml++/libxml should always supply valid UTF-8.
657 (Murray Cumming)
658
659 2.23.1 (unstable):
660
661 * Added Schema and SchemaValidator classes, demonstrated in
662 examples/schemavalidation.
663 (Emilien KIA) Bug #312216.
664 * Element: Added add_child_text() with a previous_node parameter, for adding
665 between existing nodes. Added add_child_text_before() too.
666 * Node: Added add_child() with a previous_node parameter, for adding between
667 existing nodes. Added add_child_before() too.
668 (Murray Cumming)
669
670 2.22.0 (stable):
671
672 * Document: Fix a memory leak, by calling xmlCleanupParser
673 in the destructor.
674 (Deng Xiyue) Bug #501168 (Matt G.)
675 * Build: Fix the build with gcc 4.3 pre-releases.
676 (Martin Michlmayr) Bug #510053.
677
678 2.20.0 (stable):
679
680 Changes since 2.18:
681 * Element: Added get_attribute_value(),
682 to get a simple text value for an attribute.
683 (Stef Walter) Bug #373573.
684 * Added an experimental --enable-api-exceptions
685 configure option, to allow libxml++ to build without
686 exceptions.
687 (Murray Cumming)
688
689 2.19.2 (unstable):
690
691 * Added an experimental --enable-api-exceptions
692 configure option, to allow libxml++ to build without
693 exceptions.
694
695 2.19.1(unstable):
696
697 * Element.h: Added get_attribute_value(),
698 to get a simple text value for an attribute.
699 (Stef Walter) Bug #373573.
700
701 2.18.2 (stable):
702
703 * TextReader: get_name(): Fixed a memory leak.
704 (Christophe de Vienne) Bug #447535.
705
706 2.18.1 (stable):
707
708 * Document::add_comment,
709 Element: add_child_text(), add_child_comment():
710 avoid accessing freed memory. (Murray Cumming)
711
712 2.18.0(stable):
713
714 * Slight win32 build improvement, possibly.
715 (Artur Wegele)
716 * Slight improvement to examples.
717 (Murray Cumming)
718
719 2.17.2 (unstable):
720
721 * Node: Adedd get_next_sibling() and get_previous_sibling().
722 Bug #351867.
723 (Nate Nielsen)
724
725 2.17.1 (unstable):
726
727 * Node: Added get_parent() Bug #351876 (Patch by Nate Nielsen)
728 * TextReader: Added TextReader(const char* data) constructor, for
729 parsing memory buffers. Bug #351215 (Patch by Nate Nielsen)
730 * Element::set_attribute(): Really return the new attribute.
731 Bug #361950 (Patch by Nate Nielsen)
732 * Build: Added MS Visual Studio 2005 project files.
733 (Cedric Gustin)
734
735
736 2.14 (stable):
737
738 * Documentation:
739 - Improved ContentNode documentation (Murray Cumming)
740
741 2.13.1 (unstable):
742
743 * First unstable 2.13.x release, to become stable 2.14.x, for GNOME 2.14.
744 * Node:
745 - Added find() overload that takes namespaces to register during the search,
746 using xmlXPathRegisterNs(). Bug #323935. (Robert Fleming)
747 - set_namespace(): When creating a default namespace, avoid the
748 "The namespace () has not been declared" warning, by passing 0 to
749 xmlSearchNs() instead of an empty string. Bug #318186.
750 (Erik Oestby).
751 * Build: Fix buildir!=srcdir builds. Bug #319863.(Vadim Zeitlin)
752 * Documentation:
753 - Tutorial: Mention pkg-config.
754 - Reference: Grammar fixes and a small fix for find().
755 (Murray Cumming)
756
757 2.12.0 (stable):
758
759 * Added the state "Reading" to xml Reader States list.
760
761 2.11.0 (unstable):
762
763 * First unstable 2.11.x release, to become stable 2.12.x
764 * Fixed Document::set_entity_declaration behavior (Murray Cumming)
765 * Updated MSVC.Net2003 project files (Cedric Gustin)
766 * Fixed bugs #301727, #301712, #156352, #161825, #307481, #314419
767
768 2.10.0 (stable):
769
770 * Fixed documentation packaging problems (Murray Cumming, Christophe de Vienne)
771
772 2.9.2 (unstable):
773
774 * Added MSVC .Net 2003 support (Cedric Gustin)
775 * Improved documentation + Added a manual (Murray Cumming)
776 * Fixed a bug in utf8 handling in Document::do_write_to_string (Murray Cumming)
777
778 2.9.1 (unstable):
779
780 * First unstable 2.9.x release, to become stable 2.10.x.
781 * DomParser, SaxParser: Added
782 parse_memory_raw(const unsigned char* contents, size_type bytes)
783 for parsing non-utf8 text or text of unknown encoding.
784
785 2.8.0 (stable):
786
787 * Code Cleaning.
788
789 * Changes compared to libxml++ 2.7:
790 - Added Validator and DtdValidator classes.
791
792 2.7.1 (unstable):
793
794 * Fixed bug #150082 (Christophe de Vienne)
795
796 2.7.0 (unstable):
797
798 * Added Validator and DtdValidator (Guillaume Arreckx)
799
800 2004-05-05 2.6.1 (stable):
801
802 * Fixed an issue (#141824) with Glib::ustring.
803 * Fixed ContentNode::SetContent behavior.
804
805 2004-04-13 2.6.0 (stable):
806
807 * Corrected constness of TextReader::get_current_node (Murray Cumming)
808
809 2004-03-02 2.5.2 (unstable):
810
811 * Fixed bug #134390: "SEGFAULT in Element::get_attribute" (John Coyle)
812 * Code cleaning.
813
814 2004-02-09 2.5.1 (unstable):
815
816 * Introduced Glib::ustring instead of std::string (Murray Cumming)
817 * Added Document::create_root_node_by_import (Kim Garrison)
818 * Fixed bugs #131018, #131329 and #132014.
819 * Added TextReader interface (Christophe de Vienne)
820
821 2003-12-18 1.0.0 (stable):
822
823 * Updated msvc files (Ephraim Vider)
824 * Fixed an issue in SaxParser (Murray Cumming)
825
826 2003-12-08 0.28 (unstable):
827
828 * Added entity handling to the SAX parser + examples (Dan Dennedy and Murray Cumming)
829 * Replaced SaxParser::AttributeMap with an ordered container (Christophe de Vienne)
830 * Fixed an issue with threading (Christophe de Vienne)
831 * Complete switched to pkg-config (Christophe de Vienne)
832
833 2003-11-05 0.27 (unstable):
834
835 * Completed documentation
836 * Added Element::add_comment (Dan Dennedy)
837 * Wrapped xmlIO output buffers and added Document::write_to_stream (Christophe de Vienne)
838 * Cleaned and made more consistent Element API (Murray Cumming)
839 * Added entities support in DomParser (Murray Cumming)
840
841 2003-09-23 0.26 (unstable):
842
843 * Added import_node example into MSVC6 project files (Ephraim Vider)
844 * Node::import_node now takes a const Node (suggested by Rafael Vuijk)
845 * Fixed threading issue due to incorrect libxml2 initialisation (Fredrik Arnerup)
846 * Updated Doxyfile (Christophe de Vienne)
847 * Added Namespaces support (Dan Dennedy, Murray Cumming)
848
849 2003-07-18 0.25 (unstable):
850
851 * Fixed MSVC6 project files (Ephraim Vider)
852 * Added Node::import_node (Eric Bourque)
853 * Removed throw specification (Christophe de Vienne).
854 * Removed old-style autoconf macro for libxml++ detection (Christophe de Vienne).
855 * Removed unused examples (Murray Cumming)
856
857 2003-06-11 0.24 (unstable):
858
859 * Added Document::write_to_file_formatted() and
860 Document::write_to_string_formatted() - they add white space indenting.
861 (Christophe de Vienne)
862 * Added ContentNode::is_white_space() to make it easier for applications to
863 ignore white space such as indenting. (Murray Cumming)
864 * Node: Added set_name(). (Christophe de Vienne)
865 * Compiles with gcc's pedantic warnings as errors.
866 (Christophe de Vienne)
867 * libxml++ header files no longer include any libxml header files.
868 (Christophe de Vienne)
869 * Removed superfluous standalone parse_* methods in document.[h|cc]
870 (Murray Cumming)
871 * Minor reference documentation corrections.
872 (Jonathan Wakely)
873 * Replaced some <istream> with <iostream> to support older compilers.
874 (Jonathan Wakely)
875 * Added classes to wrap the missing node types. (Ephraim Vider).
876 * Fixed a memory leak in write_to_string[_formatted] functions. (Morten Hanssen)
877 * Fixed compile error in keepblanks.h with MSVC 6.0. (Christophe de Vienne).
878 * Fixed segfault in DomParser::parse_stream on parsing failure.
879 (Christophe de Vienne).
880
881 2003-05-20: 0.23 (unstable):
882
883 * Fixed incorrect use of xmlKeepBlanksDefault. Handling of white spaces
884 is now conforming to xml specification. (Christophe de Vienne)
885 * Classes inherit from NonCopyable to avoid mistakes and clarify the
886 memory mangement.
887 (Murray Cumming)
888 * Node::find() returns empty NodeSet if it does not find the path.
889 (Andy Glew)
890 * DomParser: Fixed memory leak. (Christophe de Vienne, Thierry Blanchard)
891 * Fixed NetBSD compilation (Chistophe de Vienne, Jaka Jejcic)
892 * Improved .spec.in file. (Eric Bourque)
893 * Some MSVC++ support and minor corrections. (Ephraim Vider)
894
895 0.22 (unstable):
896
897 * DOM Parser:
898 - Reduced API duplication - you must now use get_document().
899 (Ephraim Vider)
900 - Now throws exception if document not found.
901 (Christophe de Vienne)
902 - Added const get_document() overload. (Murray Cumming)
903
904 0.21 (unstable):
905
906 * Parsers:
907 - Validation now supported: Use Parser::set_validate() to turn on validation.
908 Parsers will then throw validation_error exceptions if validation fails.
909 (Murray Cumming)
910 - SaxParser: Added parse_chunk() for gradual parsing of XML fragments.
911 (Ole Laursen)
912 * Node:
913 - Moved add_child_content(), get_child_content(), set_child_content(),
914 and has_content() to Element class.
915 - Fixed set_child_content() to add content instead of creating a node.
916 (Murray Cumming)
917 * Added spec file for RPMs. (Eric Bourque)
918
919
920 2003-02-15: 0.20 (unstable):
921
922 * Node::remove_child() now works.
923 (Murray Cumming)
924 * Added examples/dom_xpath.
925 (Stefan Seefeld, Murray Cumming)
926
927 2003-02-08: 0.19 (unstable):
928
929 * The imlementation now uses libxml's API more instead of reimplementing data structures.
930 (Stefan Seefeld, Murray Cumming)
931 * Attribute::get_value() use libxml's API properly, so it now respects the DTD.
932 (Stefan Seefeld)
933 * Node: Added get_path() and find() for xpath lookup. (Stefan Seefeld)
934 * Attribute now inherits from Node, as required by the find() method. (Stefan Seefeld)
935 * Added Document class. (Stefan Seefeld)
936 * Added cobj() accessors, in case you need to use unwrapped libxml API. (Murray Cumming)
937 * SaxParser:
938 Added CDATA section handler.
939 fixed a potential buffer overflow problem
940 (Valentin Rusu)
941
942 2003-01-09: 0.18 (unstable):
943
944 * big API change for nodes handling : the different types of node now herit
945 from a base Node class. This, among other advantages, avoids previous ambiguity
946 on content() acessors meaning.
947 * little bugfixes and improvements in SaxParser.
948
949 2002-12-10: 0.17 (unstable):
950
951 * properties are now called attributes.
952 * it is now possible to throw exceptions from callback
953 methods in SaxParser.
954 * parsers can parse from a stream.
955 * memory leak fixed in SaxParser.
956 * configure check for libxml2 2.4.1 at least.
957 * bug fixes.
958
959
960 2002-11-20: 0.16 (unstable):
961
962 * Examples added.
963 * Xml type name prefix removed.
964 * Tree replaced with DomParser.
965 * Parser renamed to SaxParser.
966 * Property renamed to Attribute
967 * Errors thrown as exceptions.
968 * Both parsers can parse from either file or memory.
969
970 * Simplified memory management -
971 no more returning of static temporaries.
972 * set_*() methods return void.