Debian Codegraph @

NEWS

raw
1 NEWS file for libxml2
2
3 v2.15.3: Apr 15 2026
4
5 ### Security
6
7 - parser: Pass userData to SAX text callbacks in xmlParseReference (type-confusion)
8 - entities: copy children in xmlCopyEntity
9 - c14n: Fix Type confusion in xmlC14NProcessAttrsAxis
10 - python: Do not decref string after adding to the list (double-free / use-after-free)
11 - c14n: Reuse tmp_str, xmlStrcat reallocates *cur (double-free)
12
13 ### Improvements
14
15 - schemas: Fix relative schemaLocation resolution in XSI assembly in streaming mode
16 - xmlreader: propagate reader resource loaders to validator parsers
17 - python: Make python bindings python2 compatible
18 - xmlregexp: Fix escape-sequence character range matching
19 - xmlreader: Free input in xmlReaderForFd (memory-leak)
20 - xmlstring: Free cur on every error for xmlStrncat (memory-leak)
21 - catalog: Free xmlCatalogResolveCache on cleanup (memory leak)
22 - Fix nanohttp.c build when --without-output
23 - test: fix mismatched signed/unsigned comparison
24
25 ### Thanks
26
27 Thanks to the following new contributors:
28
29 - Ariel Schon
30 - Hieu Le Minh
31 - James Lan
32 - LCaliman
33 - Yenya
34
35 ### Full list of commits and contributors on this release
36
37 13 Daniel Garcia Moreno
38 2 Ariel Schon
39 2 Hieu Le Minh
40 1 James Lan
41 1 Jan Alexander Steffens (heftig)
42 1 LCaliman
43 1 Yenya
44
45
46 v2.15.2: Mar 03 2026
47
48 ### Security
49
50 - CVE-2026-1757 fix: Memory leak in xmllint Shell - shell.c
51 - CVE-2026-0990 fix: Prevent infinite recursion in
52 xmlCatalogListXMLResolve
53 - CVE-2026-0992 fix: Exponential behavior when handling
54 - parser: Fix infinite loop in xmlCtxtParseContent
55 - CVE-2025-10911 libxslt related: Ignore next/prev of documents when
56 traversing XPath
57 - CVE-2026-0989 fix: Add RelaxNG include limit
58 - xmlIO: use size_t for buffer size reallocation
59 - uri: fix signed integer overflow in xmlBuildRelativeURISafe
60 - schematron: fix memory leaks on error paths in xmlSchematronParseRule
61 - catalog: fix stack overflow from self-referencing SGML CATALOG entries
62
63 ### Improvements
64
65 - fuzz: Make fuzzy encoding match more lenient
66 - Fix C14N type confusion
67 - meson: Fix build with Meson < 1.3
68 - xmllint: Use zlib directly
69 - xmllint: New option to separate xpath results using null, --xpath0
70 - autotools: Make valgrind actually check for leaks
71 - meson: Add valgrind test setup
72 - Fix xmlOutputBufferGetContent output when encoder is set
73 - threads: don't force _WIN32_WINNT to Vista if it's set to a higher value
74 - dist: Add generated documentation to the dist as "dist-doc" folder
75 to simplify downstream packaging of doc
76 - Fix xmlRemoveEntity removing from wrong hash table
77 - use duplicating variant in relaxng to mitigate UAF
78 - Fix memory leak in xmlTextWriterStartAttributeNS on OOM
79 - meson: remove hardcoded buildtype=debug default
80 - Fix memory leak of prefix in xmlTextWriterStartElementNS()
81 - writer: Add a few extra NULL checks to avoid memory leaks on corrupt
82 writer path.
83
84 ### Thanks
85
86 Thanks to the following new contributors:
87
88 - gabriel desharnais
89 - Herman Semenoff
90 - Iván Chavero
91 - Jayakrishna Menon
92 - Michael Heilmann
93 - Michal Privoznik
94 - Nathan
95 - Peter Fordham
96 - Petr Simecek
97 - Sandino Araico Sanchez
98 - Stéphane Cerveau
99 - Steve Lhomme
100 - Trevor Gamblin
101 - ylwango613
102 - Yun
103
104 ### Full list of commits and contributors on this release
105
106 15 Daniel Garcia Moreno
107 5 ylwango613
108 4 Peter Fordham
109 4 Nick Wellnhofer
110 2 Michal Privoznik
111 2 Iván Chavero
112 1 gabriel desharnais
113 1 Yun
114 1 Trevor Gamblin
115 1 Stéphane Cerveau
116 1 Steve Lhomme
117 1 Sandino Araico Sanchez
118 1 Petr Simecek
119 1 Niels Dossche
120 1 Nathan
121 1 Mike Dalessio
122 1 Michael Heilmann
123 1 Jayakrishna Menon
124 1 Herman Semenoff
125 1 Benjamin Gilbert
126
127
128 v2.15.1: Oct 16 2025
129
130 ### Regressions
131
132 - parser: Fix attribute normalization and standalone check
133
134 ### Build
135
136 - io: Handle clashing error codes on AIX
137 - Fixed compilation error on GCC versions prior to 4.5 (Lars Erik Wik)
138 - meson: Fix install dir of man pages
139
140 ### Deprecations
141
142 - tree: Undeprecate several struct members
143 - io: Undeprecate xmlOutputBuffer members
144 - valid: Undeprecate xmlValidGetPotentialChildren
145
146
147 v2.15.0: Sep 15 2025
148
149 ### Major changes
150
151 The API documentation is now generated with Doxygen. Building the
152 documentation requires the new --with-docs configuration option as well
153 as Doxygen, xsltproc and the DocBook 4 XSLT stylesheets.
154
155 The Python bindings are disabled by default now. Building the bindings
156 also requires Doxygen.
157
158 Support for Schematron is now disabled by default.
159
160 The parser option XML_PARSE_UNZIP is now required to read compressed data.
161
162 HTML serialization and handling of character encodings is more in line
163 with the HTML5 spec now.
164
165 More accessors for xmlParserCtxt were added.
166
167 ### Deprecations
168
169 More internal functions and struct members were deprecated.
170
171 ### Removals
172
173 The built-in HTTP client and support for LZMA compression were removed.
174
175 The custom Windows build system in `win32` was removed in favor of CMake.
176
177 ### Planned removals
178
179 The Python bindings and support for Schematron validation are planned to
180 be removed in the 2.16 release.
181
182 The following features are considered for removal:
183
184 - Modules API (xmlmodule.h)
185 - Support for zlib compressed file I/O
186
187 RELAX NG support is still in a bad state and a long-term removal
188 candidate.
189
190 ### Thanks
191
192 Thanks to the following contributors:
193
194 - Alex Richardson
195 - Benjamin Gilbert
196 - Caolán McNamara
197 - Collin Funk
198 - Dag-Erling Smørgrav
199 - Dan Yeaw
200 - Daniel P. Berrangé
201 - Francesco Pretto
202 - Lovell Fuller
203 - Maks Verver
204 - Markus Rickert
205 - Michael Mann
206 - Omar Siam
207 - Pavel Kopylov
208 - Peter Kokot
209 - Samuel Thibault
210 - ThomasK
211
212
213 v2.14.6: Sep 8 2025
214
215 ### Regressions
216
217 - valid: Don't add ids when validating entity content
218 - Fix initGenericErrorDefaultFunc(NULL) (Samuel Thibault)
219 - valid: Undeprecate xmlAdd*Decl
220 - globals: Include HTMLparser.h, fixing Windows build
221 - io: Fix reading from pipes like stdin on Windows
222
223 ### Security
224
225 - regexp: Avoid integer overflow and OOB array access
226 - tree: Guard against atype corruption
227
228 ### Improvements
229
230 - parser: Fix xmlSaturatedAddSizeT argument type
231
232
233 v2.14.5: Jul 10 2025
234
235 ### Regressions
236
237 - html: Don't abort on encoding errors
238 - parser: Fix handling of invalid char refs in recovery mode
239 - xmllint: Print document even in case of XInclude errors
240 - xmllint: Fix --xinclude --path
241
242 ### Security
243
244 - schematron: Fix memory safety issues in xmlSchematronReportOutput
245 - Schematron: Fix null pointer dereference leading to DoS (Michael Mann)
246 - Fix potential buffer overflows of interactive shell (Michael Mann)
247
248 ### Improvements
249
250 - parser: Fix xmlCtxtIsStopped
251
252 ### Build systems and portability
253
254 - schemas: Fix compilation with pre-C99 MSVC
255 - cmake: Add missing endif() in libxml2-config.cmake.in
256 - Fix CMake iconv handling after change to private dependency (Markus Rickert)
257
258
259 v2.14.4: Jun 16 2025
260
261 ### Regressions
262
263 - parser: Fix parsing of PublicIds and VersionNums
264 - parser: Fix custom SAX parsers without cdataBlock handler
265 - error: Fix initGenericErrorDefaultFunc compatibility macro again
266 - io: Make xmlOutputBufferCreate* not free encoder on error
267 - reader: Fix null deref on malloc failure
268 - Revert "meson: Install libxml2.py"
269
270 ### Security
271
272 - tree: Fix integer overflow in xmlBuildQName
273
274 ### Improvements
275
276 - parser: Use parser context as default in resource loader
277 - parser: Only validate EnumerationTypes when requested
278 - parser: Undeprecate some parser context members
279
280 ### Build systems
281
282 - cmake: Avoid overlinking with non-CMake libxml2-config.cmake
283 - cmake: Make iconv a private dependency
284
285
286 v2.14.3: May 13 2025
287
288 ### Regressions
289
290 - reader: Fix reading compressed data
291 - parser: Make undeclared entities in XML content fatal
292 - save: Fix XML escape table
293 - save: Fix xmlSave with NULL encoding
294 - Revert "valid: Remove duplicate error messages when streaming"
295
296 ### Bug fixes
297
298 - save: Fix serialization of attribute defaults containing &lt;
299 - io: Fix linkage of __xml*BufferCreateFilename functions
300
301 ### Build systems
302
303 - cmake: Fix installation directories in libxml2-config.cmake
304 - meson: Install libxml2.py
305
306 ### Improvements
307
308 - parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
309 - html: Avoid HTML_PARSE_HTML5 clashing with XML_PARSE_NOENT
310
311
312 v2.14.2: Apr 17 2025
313
314 ### Security
315
316 - [CVE-2025-32415] schemas: Fix heap buffer overflow in
317 xmlSchemaIDCFillNodeTables
318 - [CVE-2025-32414] python: Read at most len/4 characters. (Maks Verver)
319
320 ### Build
321
322 - error: Fix initGenericErrorDefaultFunc compatibility macro
323 - meson: don't link with pthreads on Windows (Benjamin Gilbert)
324 - cmake, meson: Align Darwin version info with Autotools
325 - globals: Fix --with-thread-alloc build
326 - meson: ensure relaxng option supports minimum option (Lovell Fuller)
327
328
329 v2.14.1: Apr 3 2025
330
331 ### Regressions
332
333 - parser: Fix XML_PARSE_NOBLANKS dropping non-whitespace text
334
335 ### Build systems
336
337 - win32-legacy: Fix build (ThomasK)
338 - meson: Fix build from tarball
339 - cmake, meson: Change library filename to libxml2.so.16.0.0
340
341
342 v2.14.0: Mar 27 2025
343
344 ### Major changes
345
346 The HTML tokenizer now conforms fully to HTML5. Several non-standard
347 syntax warnings were removed. Note that HTML5 tree construction isn't
348 implemented yet.
349
350 Binary compatibility is restricted to versions 2.14 or newer. On ELF
351 systems, the soname was bumped from libxml2.so.2 to libxml2.so.16.
352
353 The serialization API will now take user-provided or default encodings
354 into account when serializing attribute values, matching the
355 serialization of text and avoiding unnecessary escaping.
356
357 The XML parser won't try to merge consecutive CDATA sections as before
358 to align with web standards. Each CDATA section will create exactly one
359 node or SAX callback.
360
361 Support for RELAX NG can now be disabled with a new configuration
362 option independently of XML Schemas support. It is still enabled by
363 default.
364
365 The "legacy" configuration option won't enable support for HTTP and
366 LZMA anymore. These features will be removed in the next release.
367
368 Parts of the xmllint executable were refactored, allowing the
369 combination of more options. OOM errors should be reported reliably now.
370
371 Several improvements were made to the build systems. Meson is fully
372 supported now.
373
374 Parts of the buffering code were reworked and simplified.
375
376 Overflow checks before reallocations were hardenend.
377
378 Some unprefixed symbols were renamed to avoid namespace pollution.
379
380 ### New features
381
382 Input callbacks can now be set on a parser context and an improved API
383 to create parser input is available. The following new functions,
384 taking a parser input object, were added:
385
386 - xmlCtxtParseDocument
387 - xmlCtxtParseContent as replacement for xmlParseBalancedChunkMemory
388 and xmlParseInNodeContext
389 - xmlCtxtParseDtd
390
391 The xmlSave API now has additional options to replace global settings.
392
393 Parser options XML_PARSE_UNZIP, XML_PARSE_NO_SYS_CATALOG and
394 XML_PARSE_CATALOG_PI were added.
395
396 An API function to install a custom character encoding converter is
397 now available. This makes it possible to use ICU for encoding conversion
398 even if libxml2 was compiled without ICU support, see example/icu.c.
399
400 ### Deprecations
401
402 Access to many public struct members is now deprecated. Several accessor
403 functions were added to use instead.
404
405 More internal functions were deprecated.
406
407 ### Removals
408
409 Metadata about the HTML4 content model was removed from the htmlElemDesc
410 struct and related functions were deprecated.
411
412 The FTP module and related functions were removed.
413
414 Support for the range and point extensions of the xpointer() scheme
415 was removed. The rest of the XPointer implementation isn't affected.
416 The xpointer() scheme now behaves like the xpath1() scheme.
417
418 Several legacy symbols and the functions in xmlunicode.h were removed.
419
420 ELF version information was removed.
421
422 The shell was moved from libxml2 to xmllint. Several related functions
423 are no longer available.
424
425 The libxml.m4 file containing autoconf macros was removed.
426
427 The --with-tree configuration option was removed.
428
429 The hack to detect single-threaded programs under glibc was removed.
430
431 ### Planned removals
432
433 Support for HTTP and LZMA compression is planned to be removed in the
434 2.15 release.
435
436 The following features are considered for removal:
437
438 - Modules API (xmlmodule.h)
439 - Schematron support
440 - Support for zlib compressed file I/O
441 - Legacy Windows build system in win32
442
443 RELAX NG support is still in a bad state and a long-term removal
444 candidate.
445
446 ### Thanks
447
448 Thanks to the following contributors:
449
450 - Andrew Potter
451 - Benjamin Gilbert
452 - Chun-wei Fan
453 - correctmost
454 - Daniel Cheng
455 - Daniel E
456 - Florin Haja
457 - Grzegorz Szymaszek
458 - Heiko Becker
459 - Himanshibansal
460 - Jan Alexander Steffens (heftig)
461 - Kjell Ahlstedt
462 - makise-homura
463 - Markus Rickert
464 - Mike Dalessio
465 - Miklos Vajna
466 - Rosen Penev
467 - Ruslan Garipov
468 - Ryan Carsten Schmidt
469 - Saleem Abdulrasool
470 - Sam James
471 - Satadru Pramanik
472 - Taylor R Campbell
473 - triallax
474 - Yegor Yefremov
475 - Zak Ridouh
476
477
478 v2.13.7: Mar 27 2025
479
480 ### Regressions
481
482 - tree: Fix xmlTextMerge with NULL args
483 - io: Fix `compressed` flag for uncompressed stdin
484 - parser: Fix parsing of DTD content
485
486
487 v2.13.6: Feb 18 2025
488
489 ### Security
490
491 - [CVE-2025-24928] Fix stack-buffer-overflow in xmlSnprintfElements
492 - [CVE-2024-56171] Fix use-after-free after xmlSchemaItemListAdd
493 - pattern: Fix compilation of explicit child axis
494
495 ### Regressions
496
497 - xmllint: Support compressed input from stdin
498 - uri: Fix handling of Windows drive letters
499 - reader: Fix return value of xmlTextReaderReadString again
500 - SAX2: Fix xmlSAX2ResolveEntity if systemId is NULL
501
502 ### Portability
503
504 - dict: Handle ENOSYS from getentropy gracefully
505 - Fix compilation with uclibc (Dario Binacchi)
506 - python: Declare init func with PyMODINIT_FUNC
507 - tests: Fix sanitizer version check on old Apple clang
508 - cmake: Work around broken sys/random.h in old macOS SDKs
509
510 ### Build
511
512 - autotools: Set AC_CONFIG_AUX_DIR
513 - cmake: Always build Python module as shared library
514 - cmake: add missing `Bcrypt` link on Windows (Saleem Abdulrasool)
515 - cmake: Fix compatibility in package version file
516
517
518 v2.13.5: Nov 12 2024
519
520 ### Regressions
521
522 - xmlIO: Fix reading from non-regular files like pipes
523 - xmlreader: Fix return value of xmlTextReaderReadString
524 - parser: Fix loading of parameter entities in external DTDs
525 - parser: Fix downstream code that swaps DTDs
526 - parser: Fix detection of duplicate attributes
527 - string: Fix va_copy fallback
528
529 ### Bug fixes
530
531 - xpath: Fix parsing of non-ASCII names
532
533
534 v2.13.4: Sep 18 2024
535
536 ### Regressions
537
538 - parser: Make unsupported encodings an error in declarations
539 - io: don't set the executable bit when creating files (triallax)
540 - xmlcatalog: Improved fix for #699
541 - Revert "catalog: Fetch XML catalog before dumping"
542 - io: Add missing calls to xmlInitParser
543 - tree: Restore return value of xmlNodeListGetString with NULL list
544 - parser: Fix error handling after reaching limit
545 - parser: Make xmlParseChunk return an error if parser was stopped
546
547 ### Bug fixes
548
549 - python: Fix SAX driver with character streams
550
551 ### Improvements
552
553 - xpath: Make recursion check work with xmlXPathCompile
554 - parser: Report at least one fatal error
555
556 ### Portability
557
558 - include: Check whether _MSC_VER is defined
559
560
561 v2.13.3: Jul 24 2024
562
563 ### Security
564
565 - [CVE-2024-40896] Fix XXE protection in downstream code
566
567 ### Regressions
568
569 - autotools: Use AC_CHECK_DECL to check for getentropy
570 - xinclude: Fix fallback for text includes
571 - io: Don't call getcwd in xmlParserGetDirectory
572 - io: Fix return value of xmlFileRead
573 - parser: Fix error return of xmlParseBalancedChunkMemory
574
575 ### Improvements
576
577 - xinclude: Set error handler when parsing text
578 - Undeprecate xmlKeepBlanksDefault
579
580
581 v2.13.2: Jul 4 2024
582
583 ### Regressions
584
585 - tree: Fix handling of empty strings in xmlNodeParseContent
586 - valid: Restore ID lookup
587 - parser: Reenable ctxt->directory
588 - uri: Handle filesystem paths in xmlBuildRelativeURISafe
589 - encoding: Make xmlFindCharEncodingHandler return UTF-8 handler
590 - encoding: Fix encoding lookup with xmlOpenCharEncodingHandler
591 - include: Define ATTRIBUTE_UNUSED for clang
592 - uri: Fix xmlBuildURI with NULL base
593
594 ### Improvements
595
596 - uri: Enable Windows paths on Cygwin
597 - tests: Clarify licence of test/intsubset2.xml
598
599
600 v2.13.1: Jun 19 2024
601
602 ### Regressions
603
604 - parser: Selectively reenable reading from "-"
605 - reader: Fix xmlTextReaderReadString
606 - xinclude: Set XPath context doc
607 - xinclude: Load included documents with XML_PARSE_DTDLOAD
608 - include: Don't redefine ATTRIBUTE_UNUSED
609 - include: Readd circular dependency between tree.h and parser.h
610 - xinclude: Add missing include (Jan Alexander Steffens (heftig))
611 - win32, msvc: fix missing linking against Bcrypt.lib (Miklos Vajna)
612 - xinclude: Don't raise error on empty nodeset
613 - parser: Make failure to load main document a warning
614 - tree: Fix freeing entities via xmlFreeNode
615 - parser: Pass global object to sax->setDocumentLocator
616
617 ### Improvements
618
619 - io: Fix resetting xmlParserInputBufferCreateFilename hook
620
621 ### Documentation
622
623 - Fix typo in NEWS (--with-html -> --with-http) (Ryan Carsten Schmidt)
624 - doc: Don't mention xmlNewInputURL
625
626
627 v2.13.0: Jun 12 2024
628
629 ### Major changes
630
631 Most of the core code should now report malloc failures reliably. Some
632 API functions were extended with versions that report malloc failures.
633
634 New API functions for error handling were added:
635
636 - xmlCtxtSetErrorHandler
637 - xmlXPathSetErrorHandler
638 - xmlXIncludeSetErrorHandler
639
640 This makes it possible to register per-context error handlers without
641 resorting to global handlers.
642
643 A few error messages were improved and consolidated. Please update
644 downstream test suites accordingly.
645
646 A new parser option XML_PARSE_NO_XXE can be used to disable loading
647 of external entities or DTDs. This is most useful in connection with
648 XML_PARSE_NOENT.
649
650 Support for HTTP POST was removed.
651
652 Support for zlib, liblzma and HTTP is now disabled by default and has
653 to be enabled by passing --with-zlib, --with-lzma or --with-http to
654 configure. In legacy mode (--with-legacy) these options are enabled
655 by default as before.
656
657 Support for FTP will be removed in the next release.
658
659 Support for the range and point extensions of the xpointer() scheme
660 will be removed in the next release. The rest of the XPointer
661 implementation won't be affected. The xpointer() scheme will behave
662 like the xpath1() scheme.
663
664 Several more legacy symbols were deprecated. Users of the old "SAX1"
665 API functions are encouraged to upgrade to the new "SAX2" API,
666 available since version 2.6.0 from 2003.
667
668 Some deprecated global variables were made const:
669
670 - htmlDefaultSAXHandler
671 - oldXMLWDcompatibility
672 - xmlDefaultSAXHandler
673 - xmlDefaultSAXLocator
674 - xmlParserDebugEntities
675
676 ### Deprecations and removals
677
678 - threads: Deprecate remaining ThrDef functions
679 - unicode: Deprecate most xmlUCSIs* functions
680 - memory: Remove memory debugging
681 - tree: Deprecate xmlRegisterNodeDefault
682 - tree: Deprecate xmlSetCompressMode
683 - html: Deprecate htmlHandleOmittedElem
684 - valid: Deprecate internal validation functions
685 - valid: Deprecate old DTD serialization API
686 - nanohttp: Deprecate public API
687 - Remove VMS support
688 - Remove Trio
689
690 ### Bug fixes
691
692 - parser: Fix base URI of internal parameter entities
693 - tree: Handle predefined entities in xmlBufGetEntityRefContent
694 - schemas: Allow unlimited length decimals, integers etc. (Tomáš Ženčák)
695 - reader: Fix preservation of attributes
696 - parser: Always decode entities in namespace URIs
697 - relaxng: Fix tree corruption in xmlRelaxNGParseNameClass (Seiya Nakata)
698 - schemas: Fix ADD_ANNOTATION
699 - tree: Fix tree iteration in xmlDOMWrapRemoveNode
700 - tree: Declare namespace on clone in xmlDOMWrapCloneNode
701 - tree: Fix xmlAddSibling with last sibling
702 - tree: Fix xmlDocSetRootElement with multiple top-level elements
703 - catalog: Fetch XML catalog before dumping
704 - html: Don't close fd in htmlCtxtReadFd
705
706 ### Improvements
707
708 - parser: Fix "Truncated multi-byte sequence" error
709 - Add missing _cplusplus processing clause (Sadaf Ebrahimi)
710 - parser: Rework handling of undeclared entities
711 - SAX2: Warn if URI resolution failed
712 - parser: Don't report error on invalid URI
713 - xmllint: Clean up option handling
714 - xmllint: Rework parsing
715 - parser: Don't create undeclared entity refs in substitution mode
716 - Make some globals const
717 - reader: Make xmlTextReaderReadString non-recursive
718 - reader: Rework xmlTextReaderRead{Inner,Outer}Xml
719 - Remove redundant size check (Niels Dossche)
720 - Remove redundant NULL check on cur (Niels Dossche)
721 - Remove always-false check old == cur (Niels Dossche)
722 - Remove redundant NULL check on cur (Niels Dossche)
723 - tree: Don't return empty localname in xmlSplitQName{2,3}
724 - xinclude: Don't try to fix base of non-elements
725 - tree: Don't coalesce text nodes in xmlAdd{Prev,Next}Sibling
726 - SAX2: Optimize appending children
727 - tree: Align xmlAddChild with other node insertion functions
728 - html: Use binary search in htmlEntityValueLookup
729 - io: Allocate output buffer with XML_BUFFER_ALLOC_IO
730 - encoding: Don't shrink input too early in xmlCharEncOutput
731 - tree: Tighten source doc check in xmlDOMWrapAdoptNode
732 - tree: Check destParent->doc in xmlDOMWrapCloneNode
733 - tree: Refactor text node updates
734 - tree: Refactor node insertion
735 - tree: Refactor element creation and parsing of attribute values
736 - tree: Simplify xmlNodeGetContent, xmlBufGetNodeContent
737 - buf: Don't use default buffer size for small strings
738 - string: Fix xmlStrncatNew(NULL, "")
739 - entities: Don't allow null name in xmlNewEntity
740 - html: Fix quadratic behavior in htmlNodeDump
741 - tree: Rewrite xmlSetTreeDoc
742 - valid: Rework xmlAddID
743 - tree: Remove unused node types
744 - tree: Make namespace comparison more consistent
745 - tree: Don't allow NULL name in xmlSetNsProp
746 - tree: Rework xmlNodeListGetString
747 - tree: Rework xmlTextMerge
748 - tree: Rework xmlNodeSetName
749 - tree: Simplify xmlAddChild with text parent
750 - tree: Disallow setting content of entity reference nodes
751 - tree: Rework xmlReconciliateNs
752 - schemas: fix spurious warning about truncated snprintf output
753 (Benjamin Gilbert)
754 - xmlschemastypes: Remove unreachable if statement (Maks Mishin)
755 - relaxng: Remove useless if statement (Maks Mishin)
756 - tree: Check for integer overflow in xmlStringGetNodeList
757 - http: Improve error message for HTTPS redirects
758 - catalog: Remove Windows hack
759 - save: Move DTD serialization code to xmlsave.c
760 - parser: Report fatal error if document entity couldn't be loaded
761 - xpath: Fix return of empty node-set in xmlXPathNodeCollectAndTest
762 - SAX2: Limit entity URI length to 2000 bytes
763 - parser: Account for full size of non-well-formed entities
764 - parser: Pop inputs if parsing DTD failed
765 - parser: Fix quadratic behavior when copying entities
766 - writer: Implement xmlTextWriterClose
767 - parser: Avoid duplicate namespace errors
768 - parser: Add XML_PARSE_NO_XXE parser option
769 - parser: Make xmlParseContent more useful
770 - error: Make xmlFormatError public
771 - encoding: Check whether encoding handlers support input/output
772 - SAX2: Enforce size limit in xmlSAX2Text with XML_PARSE_HUGE
773 - parser: Lower maximum entity nesting depth
774 - parser: Set depth limit to 2048 with XML_PARSE_HUGE
775 - parser: Implement xmlCtxtSetOptions
776 - parser: Always prefer option members over bitmask
777 - parser: Don't modify SAX2 handler if XML_PARSE_SAX1 is set
778 - parser: Rework parsing of attribute and entity values
779 - save: Output U+FFFD replacement characters
780 - parser: Simplify entity size accounting
781 - parser: Avoid unwanted expansion of parameter entities
782 - parser: Always copy content from entity to target
783 - parser: Simplify control flow in xmlParseReference
784 - parser: Remove xmlSetEntityReferenceFunc feature
785 - parser: Push general entity input streams on the stack
786 - parser: Move progressive flag into input struct
787 - parser: Fix in-parameter-entity and in-external-dtd checks
788 - xpath: Rewrite substring-before and substring-after
789 - xinclude: Only set xml:base if necessary
790 - xinclude: Allow empty nodesets
791 - parser: Rework general entity parsing
792 - io: Fix close error handling
793 - io: Fix read/write error handling
794 - io: More refactoring and unescaping fixes
795 - io: Move some code from xmlIO.c to parserInternals.c
796 - uri: Clean up special parsing modes
797 - xinclude: Rework xml:base fixup
798 - parser: Also set document properties when push parsing
799 - include: Move non-generated parts from xmlversion.h.in
800 - io: Remove support for HTTP POST
801 - dict: Move local RNG state to global state
802 - dict: Get random seed from system PRNG
803 - io: Don't use "-" to read from stdin
804 - io: Rework initialization
805 - io: Consolidate error messages
806 - xzlib: Fix harmless unsigned integer overflow
807 - io: Always use unbuffered input
808 - io: Fix detection of compressed streams
809 - io: Pass error codes from xmlFileOpenReal to xmlNewInputFromFile
810 - io: Rework default callbacks
811 - error: Stop printing some errors by default
812 - xpath: Don't free nodes of XSLT result value trees
813 - valid: Fix handling of enumerations
814 - parser: Allow recovery in xmlParseInNodeContext
815 - encoding: Support ASCII in xmlLookupCharEncodingHandler
816 - include: Remove useless 'const' from function arguments
817 - Avoid EDG -Wignored-qualifiers warnings on wrong 'const *' to '* const'
818 conversions (makise-homura)
819 - Avoid EDG deprecation warnings for LCC compiler (makise-homura)
820 - Avoid EDG -Woverflow warnings on truncating conversions by manually
821 truncating operand (makise-homura)
822 - Avoid EDG -Wtype-limits warnings on unsigned comparisons with zero by
823 conversion from unsigned int to int (makise-homura)
824 - Avoid using no_sanitize attribute on EDG even if compiler shows as GCC
825 (makise-homura)
826
827 ### Build systems
828
829 - meson: convert boolean options to feature option (Rosen Penev)
830 - meson: Pass LIBXML_STATIC in dependency (Andrew Potter)
831 - meson: fix compilation with local binaries (Rosen Penev)
832 - meson: don't use dl dependency on old meson (Rosen Penev)
833 - meson: fix usage as a subproject (Rosen Penev)
834 - autotools: Fix pthread detection on FreeBSD
835 - build: Remove --with-fexceptions configuration option
836 - autotools: Remove --with-coverage configuration option
837 - build: Disable HTTP support by default
838 - Stop defining _REENTRANT
839 - doc: Don't install example code
840 - meson: Initial commit (Vincent Torri)
841 - build: Disable support for compression libraries by default
842 - Set LIBXML2_FOUND if it has been properly configured (Michele Bianchi)
843 - Makefile.am: omit $(top_builddir) from DEPS and LDADDS (Mike Dalessio)
844
845 ### Test suite
846
847 - runtest: Work around broken EUC-JP support in musl iconv
848 - runtest: Check for IBM-1141 encoding handler
849 - fuzz: Add xmllint fuzzer
850 - fuzz: Add fuzzer for XML reader API
851 - fuzz: New tree API fuzzer
852 - tests: Remove testOOM
853 - Don't let gentest.py cast types to 'const somethingPtr' to avoid
854 -Wignored-qualifiers (makise-homura)
855
856
857 v2.12.8: Jun 12 2024
858
859 ### Regressions
860
861 - parser: Fix performance regression when parsing namespaces
862
863
864 v2.12.7: May 13 2024
865
866 ### Security
867
868 - [CVE-2024-34459] Fix buffer overread with `xmllint --htmlout`
869
870 ### Regressions
871
872 - xmllint: Fix --pedantic option
873 - save: Handle invalid parent pointers in xhtmlNodeDumpOutput
874
875
876 v2.12.6: Mar 15 2024
877
878 ### Regressions
879
880 - parser: Fix detection of duplicate attributes in XML namespace
881 - xmlreader: Fix xmlTextReaderConstEncoding
882 - html: Fix htmlCreatePushParserCtxt with encoding
883 - xmllint: Return error code if XPath returns empty nodeset
884
885
886 v2.12.5: Feb 4 2024
887
888 ### Security
889
890 - [CVE-2024-25062] xmlreader: Don't expand XIncludes when backtracking
891
892 ### Regressions
893
894 - parser: Fix crash in xmlParseInNodeContext with HTML documents
895
896
897 v2.12.4: Jan 15 2024
898
899 ### Regressions
900
901 - parser: Fix regression parsing standalone declarations
902 - autotools: Readd --with-xptr-locs configuration option
903 - parser: Fix build --without-output
904 - parser: Don't grow or shrink pull parser memory buffers
905 - io: Fix memory lifetime issue with input buffers
906
907
908 v2.12.3: Dec 12 2023
909
910 ### Regressions
911
912 - parser: Fix namespaces redefined from default attributes
913
914 ### Build fixes
915
916 - include: Rename XML_EMPTY helper macro
917 - include: Move declaration of xmlInitGlobals
918 - include: Add missing includes
919 - include: Move globals from xmlsave.h to parser.h
920 - include: Readd circular dependency between tree.h and parser.h
921
922
923 v2.12.2: Dec 5 2023
924
925 ### Regressions
926
927 - parser: Fix invalid free in xmlParseBalancedChunkMemoryRecover
928 - globals: Disable TLS in static Windows builds
929 - html: Reenable buggy detection of XML declarations
930 - tree: Fix regression when copying DTDs
931 - parser: Make CRLF increment line number
932
933 ### Build fixes
934
935 - build: Disable compiler TLS by default
936 - cmake: Update config.h.cmake.in
937 - tests: Fix tests --with-valid --without-xinclude
938
939
940 v2.12.1: Nov 23 2023
941
942 ### Regressions
943
944 - hash: Fix deletion of entries during scan
945 - parser: Only enable SAX2 if there are SAX2 element handlers
946
947 ### Build fixes
948
949 - autotools: Stop checking for snprintf
950 - dict: Fix '__thread' before 'static'
951 - fix: pthread weak references in globals.c (Mike Dalessio)
952 - tests: Fix build with older MSVC
953
954
955 v2.12.0: Nov 16 2023
956
957 ### Major changes
958
959 Most of the known issues leading to quadratic behavior in the XML parser
960 were fixed. Internal hash tables were rewritten to reduce memory
961 consumption.
962
963 Starting with this release, it should be enough to add the --with-legacy
964 configuration option to provide maximum ABI compatibility. For example,
965 if a code module was removed from the default configuration, the option
966 will add stubs for the removed symbols.
967
968 libxml2 will now store global variables in thread-local storage if supported
969 by the compiler. This avoids allocating the data lazily which can result in
970 a fatal error condition. A new API function xmlCheckThreadLocalStorage
971 was added so the allocation can be checked earlier if compiler TLS is not
972 supported. To prepare for future improvements, some API functions now expect
973 or return a const xmlError struct.
974
975 Several cyclic dependencies in public header files were fixed. As a result,
976 certain headers won't include other headers as before.
977
978 Refactoring of the encoding code has been mostly completed. Calling
979 xmlSwitchEncoding from client code is now fully supported, for example to
980 override the encoding for the push parser.
981
982 When parsing data from memory, libxml2 will now stream data chunk by chunk
983 instead of copying the whole buffer (possibly twice with encodings),
984 reducing peak memory consumption considerably.
985
986 A new API function xmlCtxtSetMaxAmplification was added to allow parsing
987 of files that would otherwise trigger the billion laughs protection.
988
989 Several bugs in the regex determinism checks were fixed. Invalid XML
990 Schemas which previous versions erroneously accepted will now be
991 rejected.
992
993 ### Deprecations
994
995 - globals: Deprecate xmlLastError
996 - parser: Deprecate global parser options
997 - win32: Deprecate old Windows build system
998
999 ### Bug fixes
1000
1001 - parser: Stop switching to ISO-8859-1 on encoding errors
1002 - parser: Support encoded external PEs in entity values
1003 - string: Fix UTF-8 validation in xmlGetUTF8Char
1004 - SAX2: Allow multiple top-level elements
1005 - parser: Update line number after coalescing text nodes
1006 - parser: Check for truncated multi-byte sequences
1007
1008 ### Improvements
1009
1010 - error: Make more xmlError structs constant
1011 - parser: Remove redundant IS_CHAR check in xmlCurrentChar
1012 - parser: Fix stack handling in xmlParseTryOrFinish
1013 - parser: Protect against quadratic default attribute expansion
1014 - parser: Missing checks for disableSAX
1015 - entities: Make xmlFreeEntity public
1016 - examples: Don't use sprintf
1017 - encoding: Suppress -Wcast-align warnings
1018 - parser: Use hash tables to avoid quadratic behavior
1019 - parser: Don't skip CR in xmlCurrentChar
1020 - dict: Rewrite dictionary hash table code
1021 - hash: Rewrite hash table code
1022 - malloc-fail: Report malloc failure in xmlFARegExec
1023 - malloc-fail: Report malloc failure in xmlRegEpxFromParse
1024 - parser: Simplify xmlStringCurrentChar
1025 - regexp: Fix status codes and handle invalid UTF-8
1026 - error: Make xmlGetLastError return a const error
1027 - html: Fix logic in htmlAutoClose
1028 - globals: Move globals back to correct header files
1029 - globals: Use thread-local storage if available
1030 - globals: Rework global state destruction on Windows
1031 - globals: Define globals using macros
1032 - globals: Introduce xmlCheckThreadLocalStorage
1033 - globals: Make xmlGlobalState private
1034 - threads: Move library initialization code to threads.c
1035 - debug: Remove debugging code
1036 - globals: Move code from threads.c to globals.c
1037 - parser: Avoid undefined behavior in xmlParseStartTag2
1038 - schemas: Fix memory leak of annotations in notations
1039 - dict: Update hash function
1040 - dict: Use thread-local storage for PRNG state
1041 - dict: Use xoroshiro64** as PRNG
1042 - xmllint: Fix error messages
1043 - parser: Fix detection of null bytes
1044 - parser: Improve error handling in push parser
1045 - parser: Don't check inputNr in xmlParseTryOrFinish
1046 - parser: Remove push parser debugging code
1047 - tree: Fix copying of DTDs
1048 - legacy: Add stubs for disabled modules
1049 - parser: Allow to set maximum amplification factor
1050 - entities: Don't change doc when encoding entities
1051 - parser: Never use UTF-8 encoding handler
1052 - encoding: Remove debugging code
1053 - malloc-fail: Fix unsigned integer overflow in xmlTextReaderPushData
1054 - html: Remove encoding hack in htmlCreateFileParserCtxt
1055 - parser: Decode all data in xmlCharEncInput
1056 - parser: Stream data when reading from memory
1057 - parser: Optimize xmlLoadEntityContent
1058 - parser: Don't overwrite EOF parser state
1059 - parser: Simplify input pointer updates
1060 - parser: Don't reinitialize parser input members
1061 - encoding: Move rawconsumed accounting to xmlCharEncInput
1062 - parser: Rework encoding detection
1063 - parser: Always create UTF-8 in xmlParseReference
1064 - html: Remove some debugging code in htmlParseTryOrFinish
1065 - malloc-fail: Fix memory leak in xmlCompileAttributeTest
1066 - parser: Recover more input from encoding errors
1067 - malloc-fail: Handle malloc failures in xmlAddEncodingAlias
1068 - malloc-fail: Fix null-deref with xmllint --copy
1069 - xpath: Ignore entity ref nodes when computing node hash
1070 - malloc-fail: Fix null deref after xmlXIncludeNewRef
1071 - SAX: Always validate xml:ids
1072 - Stop using sprintf
1073 - Fix compiler warning on GCC < 8
1074 - regexp: Fix determinism checks
1075 - regexp: Fix checks for eliminated transitions
1076 - regexp: Simplify xmlFAReduceEpsilonTransitions
1077 - regexp: Fix cycle check in xmlFAReduceEpsilonTransitions
1078 - schemas: Fix filename in xmlSchemaValidateFile
1079 - schemas: Fix line numbers in streaming validation
1080 - writer: Add error check in xmlTextWriterEndDocument
1081 - encoding: Stop calling xmlEncodingErr
1082 - xmlIO: Remove some calls to xmlIOErr
1083 - parser: Improve handling of encoding and IO errors
1084 - parser: Move xmlFatalErr to parserInternals.c
1085 - encoding: Rework error codes
1086 - .gitignore: Split up and rearrange .gitignore files
1087 - .gitignore: Add runsuite.log
1088 - Stop calling xmlMemoryDump
1089 - examples: Don't call xmlCleanupParser and xmlMemoryDump
1090 - xpath: Remove remaining references to valueFrame
1091
1092 ### Portability
1093
1094 - python: Make it compatible with python3.12 (Daniel Garcia Moreno)
1095
1096 ### Build systems
1097
1098 - cmake: Check whether static linking dependencies found in config files
1099 (James Le Cuirot)
1100 - autotools: Make --with-minimum disable lzma support
1101 - build: Remove some GCC warnings
1102 - Handle NOCONFIG case when setting locations from CMake target properties
1103 (Markus Rickert)
1104 - cmake: Generate better pkg-config file for SYSROOT builds under CMake
1105 (James Le Cuirot)
1106 - autoconf: Include non-pkg-config dependency flags in the pkg-config file
1107 (James Le Cuirot)
1108 - autoconf: Don't bake build time CFLAGS into pkg-config file (James Le Cuirot)
1109 - build: Generate better pkg-config files for static-only builds (James
1110 Le Cuirot)
1111 - build: Generate better pkg-config file for SYSROOT builds (James Le Cuirot)
1112 - autoconf: Allow custom --with-icu configure option
1113
1114 ### Tests
1115
1116 - tests: Also test xmlNextChar in testchar.c
1117 - tests: Start with testparser.c for extra tests
1118 - fuzz: Raise rss_limit_mb
1119 - fuzz: Test xmlTextReaderRead after EOF or failure
1120 - fuzz: Test XML_PARSE_XINCLUDE | XML_PARSE_VALID
1121 - tests: Handle entities in SAX tests
1122 - fuzz: Disable XML_PARSE_SAX1 option in xml fuzzer
1123 - tests: Add more tests for redefined attributes
1124 - hash: Add hash table tests
1125 - tests: Add ATTRIBUTE_NO_SANITIZE_INTEGER macro
1126 - fuzz: Allow to fuzz without push, reader or output modules
1127 - gitlab-ci: Add a "medium" config build
1128 - python: Fix tests on MinGW
1129 - test: Add push parser test with overridden encoding
1130 - testapi: test_xmlSAXDefaultVersion() leaves xmlSAX2DefaultVersionValue set
1131 to 1 with LIBXML_SAX1_ENABLED (David Kilzer)
1132 - gitlab-ci: Lower _XOPEN_SOURCE value
1133 - testapi: Don't set http_proxy environment variable
1134 - test: Add push parser tests for split UTF-8 sequences
1135 - xinclude: Lower initial table size when fuzzing
1136 - tests: Test streaming schema validation
1137 - runtest: Skip element name in schema error messages
1138
1139 ### Documentation
1140
1141 - doc: Add notes about runtest to MAINTAINERS.md
1142 - doc: Don't document internal macros in xmlversion.h
1143 - doc: Allow 'unsigned' without 'int'
1144 - doc: Improve documentation of configuration options
1145
1146
1147 v2.11.6: Nov 16 2023
1148
1149 ### Regressions
1150
1151 - threads: Fix --with-thread-alloc
1152 - xinclude: Fix 'last' pointer in xmlXIncludeCopyNode
1153
1154 ### Bug fixes
1155
1156 - parser: Fix potential use-after-free in xmlParseCharDataInternal
1157
1158
1159 v2.11.5: Aug 9 2023
1160
1161 ### Regressions
1162
1163 - parser: Make xmlSwitchEncoding always skip the BOM
1164 - autotools: Improve iconv check
1165
1166 ### Bug fixes
1167
1168 - valid: Fix c1->parent pointer in xmlCopyDocElementContent
1169 - encoding: Always call ucnv_convertEx with flush set to false
1170
1171 ### Portability
1172
1173 - autotools: fix Python module file ext for cygwin/msys2 (Christoph Reiter)
1174
1175 ### Tests
1176
1177 - runtest: Fix compilation without LIBXML_HTML_ENABLED
1178
1179
1180 v2.11.4: May 18 2023
1181
1182 Fixes a serious regression.
1183
1184 - parser: Fix regression when push parsing UTF-8 sequences
1185
1186
1187 v2.11.3: May 11 2023
1188
1189 Fixes more regressions.
1190
1191 - xinclude: Fix false positives in inclusion loop detection
1192 - autotools: Fix ICU detection
1193 - parser: Fix "huge input lookup" error with push parser
1194 - xpath: Fix build without LIBXML_XPATH_ENABLED
1195 - hash: Fix possible startup crash with old libxslt versions
1196 - autoconf: fix iconv library paths (Mike Dalessio)
1197
1198
1199 v2.11.2: May 5 2023
1200
1201 Fix regressions.
1202
1203 - threads: Fix startup crash with weak symbol hack
1204 - win32: Don't depend on removed .def file
1205 - schemas: Fix memory leak in xmlSchemaValidateStream
1206
1207
1208 v2.11.1: Apr 30 2023
1209
1210 Fixes build and ABI issues.
1211
1212 - cmake: Fix va_copy detection (Luca Niccoli)
1213 - libxml.m4: Fix quoting
1214 - Link with --undefined-version
1215 - libxml2.syms: Revert removal of version information
1216
1217
1218 v2.11.0: Apr 28 2023
1219
1220 ### Major changes
1221
1222 Protection against entity expansion attacks, also known as "billion laughs"
1223 has been greatly improved. Malicious files should be detected reliably now
1224 and false positives should be reduced. It is possible though that large
1225 documents which make heavy use of entities are rejected now.
1226
1227 This release finally fixes symbol visibility on UNIX systems. Internal
1228 symbols will now be hidden. While these symbols were never declared in public
1229 headers, it was still possible to declare them manually. Now this won't work.
1230
1231 All symbol information has been removed from the ELF version script to fix
1232 link errors with --no-undefined-version. The version nodes are kept so it
1233 should still be possible to run binaries linked against older versions.
1234
1235 About 90 memory errors in code paths handling malloc failures have been fixed.
1236 While these issues shouldn't impact security, this improves robustness under
1237 memory pressure.
1238
1239 The XInclude engine has been reworked to properly support nested includes.
1240
1241 Several cases of quadratic behavior in the XML push parser have been fixed.
1242
1243 Refactoring has begun on some buffering and encoding code with the goal of
1244 simplifying this part of the code base and improving error reporting.
1245
1246 Other highlights:
1247
1248 - Consolidated private header files.
1249 - Major rework of the autoconf build.
1250 - Deprecated several outdated and internal functions.
1251
1252 Special thanks to Google's Open Source Security Subsidies program for
1253 sponsoring much of the work on this release!
1254
1255 Ongoing work on libxml2 relies on funding. For a list of important open
1256 issues see <https://gitlab.gnome.org/GNOME/libxml2/-/issues/507>
1257
1258 ### Security
1259
1260 - Fix use-after-free in xmlParseContentInternal() (David Kilzer)
1261 - xmllint: Fix use-after-free with --maxmem
1262 - parser: Fix OOB read when formatting error message
1263 - entities: Rework entity amplification checks
1264
1265 ### Regressions
1266
1267 - parser: Fix regression in xmlParserNodeInfo accounting
1268
1269 ### Bug fixes
1270
1271 - Fix memory errors in code handling malloc failures
1272 - encoding: Fix error code in asciiToUTF8
1273 - xpath: number('-') should return NaN
1274 - xmlParseStartTag2() contains typo when checking for default definitions for
1275 an attribute in a namespace (David Kilzer)
1276 - uri: Fix handling of port numbers
1277 - error: Make sure that error messages are valid UTF-8
1278 - xinclude: Fix nested includes
1279
1280 ### Improvements
1281
1282 - xmllint: Validate --maxmem integer option
1283 - xmlValidatePopElement() can return invalid value (-1) (David Kilzer)
1284 - parser: Rework EBCDIC code page detection
1285 - parser: Limit name length in xmlParseEncName
1286 - parser: Rework shrinking of input buffers
1287 - html: Rely on CUR_CHAR to grow the input buffer
1288 - parser: Rely on CUR_CHAR/NEXT to grow the input buffer
1289 - valid: Make xmlValidateElement non-recursive
1290 - html: Fix quadratic behavior in htmlParseTryOrFinish
1291 - xmllint: Fix memory leak with --pattern --stream
1292 - parser: Stop calling xmlParserInputShrink
1293 - html: Impose some length limits
1294 - valid: Allow xmlFreeValidCtxt(NULL)
1295 - parser: Stop calling xmlParserInputGrow
1296 - xinclude: Fix quadratic behavior in xmlXIncludeLoadTxt
1297 - xinclude: Abort immediately if max depth was exceeded
1298 - xpath: Only report the first error
1299 - error: Don't move past current position
1300 - error: Limit number of parser errors
1301 - parser: Lower entity nesting limit with XML_PARSE_HUGE
1302 - parser: Don't increase depth twice when parsing internal entities
1303 - parser: Improve detection of entity loops
1304 - parser: Only report a single entity error
1305 - libxml.h: Remove dubious definition of LIBXML_STATIC
1306 - html: Improve parsing of nested lists
1307 - memory: Don't use locks in xmlMemUsed
1308 - encoding: Remove unused variable xmlDefaultCharEncodingHandler
1309 - Rework initialization code
1310 - Add .editorconfig
1311 - parser: Merge misc, prolog and epilog cases in push parser
1312 - parser: Fix 'consumed' accounting when switching encodings
1313 - html: Fix check for end of comment in push parser
1314 - parser: Fix push parser with 1-3 byte initial chunk
1315 - parser: Rewrite push parser boundary checks
1316 - reader: Switch to xmlParserInputBufferCreateMem
1317 - html: Don't escape ASCII chars in href attributes
1318 - io: Don't shrink memory input buffers
1319 - parser: Don't call xmlSHRINK from push parser
1320 - parser: Ignore cdata argument in xmlParseCharData
1321 - parser: Rework push parser parser progress checks
1322 - io: Fix a few integer overflows in I/O statistics
1323 - io: Rework xmlParserInputBufferGrow with encodings
1324 - io: Remove xmlInputReadCallbackNop
1325 - io: Check for memory buffer early in xmlParserInputGrow
1326 - parser: Fix error message in xmlParseCommentComplex
1327 - Bypass proxy in nanoHTTP for hosts in "no_proxy" (Markus Jörg)
1328 - schemas: Fix infinite loop in xmlSchemaCheckElemSubstGroup
1329 - threads: Remove check for pthread_equal
1330 - xinclude: Rework XInclude cache
1331 - xinclude: Remove inefficient refcounting scheme
1332 - xmllint: Improve handling of empty XPath node sets
1333 - parser: Fix potential memory leak in xmlParseAttValueInternal
1334 - error: Don't use initGenericErrorDefaultFunc
1335 - xpath: Lower XPath recursion limit on Windows
1336 - Stop including sys/types.h
1337 - Don't define WIN32 macro
1338 - Make xmlNewSAXParserCtx take a const sax handler
1339 - Consolidate private header files
1340 - Remove internal macros from parserInternals.h
1341 - Move some HTML functions to correct header file
1342 - xmllint: Stop calling xmlSAXDefaultVersion
1343 - Introduce xmlNewSAXParserCtxt and htmlNewSAXParserCtxt
1344 - Don't mess with parser options in htmlParseDocument
1345 - Remove useless call to htmlDefaultSAXHandlerInit
1346 - Remove htmlDefaultSAXHandler from non-SAX1 build
1347 - Don't initialize SAX handler in htmlReadMemory
1348 - Fix htmlReadMemory mixing up XML and HTML functions
1349 - Don't use default SAX handler to report unrelated errors
1350 - Create stream with buffer in xmlNewStringInputStream
1351 - xmlcatalog: Fix memory leaks
1352
1353 ### Code quality
1354
1355 - xzlib: Fix implicit sign change in xz_open
1356 - parser: Simplify calculation of available buffer space
1357 - parser: Use size_t when subtracting input buffer pointers
1358 - parser: Check for integer overflow when updating checkIndex
1359 - xpath: Fix harmless integer overflow in xmlXPathTranslateFunction
1360 - schematron: Use logical and
1361 - relaxng: Remove useless if statement
1362 - schemas: Remove useless if statement
1363 - pattern: Merge identical branches
1364 - regexp: Add sanity check in xmlRegCalloc2
1365 - regexp: Simplify xmlRegAtomPush
1366 - encoding: Cast toupper argument to unsigned char
1367 - uri: Add explicit cast in xmlSaveUri
1368 - buf: Fix return value of xmlBufGetInputBase
1369 - parser: Fix integer overflow of input ID
1370 - parser: Remove useless ent->etype test in xmlParseReference
1371 - parser: Remove useless ent->children tests in xmlParseReference
1372 - xmlmemory.c: Remove xmlMemContentShow
1373 - libxml.h: Add comments and indentation
1374 - libxml.h: Don't include stdio.h
1375 - xmlexports.h: Disable docs for internal macro XMLPUBLIC
1376 - parser: Simplify xmlParseConditionalSections
1377 - io: Rearrange code in xmlSwitchInputEncodingInt
1378 - warnings: Fix -Wstrict-prototypes warning
1379 - warnings: Remove set-but-unused variables
1380 - Fix compiler warnings in SAX2.c
1381 - Fix unused variable warning in python/types.c
1382 - Fix compiler warning in examples
1383 - Fix compiler warnings in fuzzing code
1384 - Remove unused code in nanohttp.c
1385 - Remove or annotate char casts
1386 - Don't use sizeof(xmlChar) or sizeof(char)
1387 - Remove explicit integer casts
1388
1389 ### Deprecations
1390
1391 - parser: Deprecate more internal functions
1392 - parser: Deprecate some parser input functions
1393 - parser: Deprecate xmlString*DecodeEntities
1394 - threads: Deprecate some internal functions
1395 - buf: Deprecate static/immutable buffers
1396 - Deprecate internal parser functions
1397 - Deprecate old HTML SAX API
1398 - Generate deprecation warnings for old SAX API
1399 - Mark more functions setting globals as deprecated
1400 - Mark more parser functions as deprecated
1401 - Mark most SAX1 functions as deprecated
1402 - Deprecate some global variables
1403
1404 ### Portability
1405
1406 - autoconf: Warn about outdated C compilers
1407 - win32: Remove broken libxml2.def.src
1408 - Remove symbols from version script
1409 - catalog.c: Silence a cast warning on VS 2022 (Lukáš Tyrychtr)
1410 - libxml.h: Remove ancient LynxOS setup
1411 - Use python3 not python (Ross Burton)
1412 - xstc/fixup-tests.py: port to Python 3 (Ross Burton)
1413 - xstc/fixup-tests.py: unify whitespace (Ross Burton)
1414 - Remove hacky heuristic from b2dc5675 (Alex Richardson)
1415 - Avoid creating an out-of-bounds pointer by rewriting a check
1416 (Alex Richardson)
1417 - Hide internal functions
1418 - Correctly relocate internal pointers after realloc() (Alex Richardson)
1419 - Visual Studio builds: Allow silencing deprecation warnings (Chun-wei Fan)
1420 - Visual Studio: Define XML_DEPRECATED (Chun-wei Fan)
1421 - xmllint: Include <io.h> on Windows
1422 - warnings: Work around MSVC bug
1423 - sources: Silence C4013 warnings on Visual Studio (Chun-wei Fan)
1424 - python/setup.py.in: Improve Windows import patching (Chun-wei Fan)
1425 - python: Create .pyd on Windows
1426 - Fix Python build on Windows
1427 - Fix Windows compiler warnings in python/types.c
1428 - Fix libxml_PyFileGet
1429 - Remove BeOS support
1430 - Fix libxml_PyFileGet with stdout on macOS
1431 - Migrate from PyEval_ to PyObject_
1432 - Port build_glob.py to Python 3
1433 - Port genChRanges.py to Python 3
1434 - xmlexports.h: Remove LIBXML_FASTCALL optimization
1435 - Remove XMLCALL and XMLCDECL macros from public headers
1436 - Remove XMLDECL macro from .c files
1437
1438 ### Build systems
1439
1440 - cmake: Link against `dl` and `dld` only when `LIBXML2_WITH_MODULES` is
1441 enabled (Alexander Kutelev)
1442 - autotools: Fix make distcheck
1443 - Remove RPM build, Makefile.tests, README.tests
1444 - libxml.m4: deprecate AM_PATH_XML2, wrap PKG_CHECK_MODULES instead
1445 (Ross Burton)
1446 - libxml.m4: fix -Wstrict-prototypes (Sam James)
1447 - cmake: Build static library with -DLIBXML_STATIC
1448 - autotools: Don't use version script on Windows
1449 - autotools: Fix winsock detection
1450 - autotools: Only add network libraries if HTTP/FTP enabled
1451 - autotools: Disable parallel Python build
1452 - python: Don't output missing generators during build
1453 - build: Remove check for broken ss_family
1454 - http: Simplify IPv6 checks
1455 - autotools: Fix network checks on Windows
1456 - Fix detection of GNU libiconv
1457 - cmake: Fix Python installation
1458 - cmake: Don't check for Python 2
1459 - configure.ac: Also check for MSYS host
1460 - Improve network library detection
1461 - Detect ws2_32 with AC_SEARCH_LIBS
1462 - Rework network configure checks
1463 - Remove arg cast configure checks
1464 - Fix dlopen check
1465 - Remove HAVE_WIN32_THREADS configuration flag
1466 - Rework dlopen and pthread detection
1467 - Fix test in configure.ac
1468 - cmake: Enable GCC compiler warnings
1469 - Always link with -no-undefined
1470 - Use AM_CFLAGS and AM_LDFLAGS consistently
1471 - Remove -Wredundant-decls
1472 - Call AC_CHECK_* with multiple arguments
1473 - configure.ac: Remove checks for unused programs
1474 - Rework library detection in configure.ac
1475 - Rearrange configure.ac
1476 - Consolidate zlib and lzma detection
1477 - Remove "runtime debugging"
1478 - Consolidate simple API modules in configure.ac
1479 - Fix dependency resolution in configure.ac
1480 - Fix --with-valid --without-regexps build
1481 - Fix --with-schemas --without-xpath build
1482 - Don't build unneeded .c source files
1483 - Move xmlIsXHTML to tree.c
1484 - Cleanup distribution settings in Makefile.am
1485 - Also clean *.pyc files for Python 2
1486 - Don't distribute libxml2.spec
1487
1488 ### Tests
1489
1490 - testchar: Add test for memory pull parser with encoding
1491 - fuzz: Also test init function of URI fuzzer
1492 - fuzz: Separate fuzzer for DTD validation
1493 - gitlab-ci: Enable all "integer" sanitizers
1494 - fuzz: Inject random malloc failures
1495 - fuzz: Support variable integer sizes in fuzz data
1496 - fuzz: Fix duplicate detection in fuzzEntityRecorder
1497 - fuzz: Set filename in xmlFuzzEntityLoader
1498 - fuzz: Allow xmlFuzzReadString(NULL)
1499 - fuzz: Fix Makefile dependencies
1500 - fuzz: Add test/recurse to seed corpus
1501 - fuzz: Add separate XInclude fuzzer
1502 - runsuite: Some errors are expected
1503 - testrecurse: Test entity expansion stats
1504 - testapi.c: Initialize catalog early
1505 - gentest.py: Fix memory leak in API tests
1506 - tests: Enable "runsuite" test
1507 - python/tests/reader2: use absolute paths everywhere (Ross Burton)
1508 - python/tests/reader2: always exit(1) if a test fails (Ross Burton)
1509 - testModule: exit if the module can't be opened (Ross Burton)
1510 - CI: disable modules in gcc:static build (Ross Burton)
1511 - CI: fix CI on MinGW builds (Ross Burton)
1512 - python: Fix memory leak checks
1513 - tests: Check that xmlInitParser doesn't allocate memory
1514 - tests: Fix use-after-free in Python tests
1515 - tests: Remove unneeded #includes
1516 - gitlab-ci: Make Test-Msvc exit if ctest fails
1517 - gitlab-ci: Treat compiler warnings as errors on MSVC
1518 - test: Add test for push parser boundaries
1519 - gitlab-ci: Upgrade image to Ubuntu 22.10, reenable MSan
1520 - gitlab-ci: Reenable LeakSanitizer
1521 - gitlab-ci: Fix llvm-symbolizer
1522 - xinclude: Don't create result doc for test with errors
1523 - xinclude: Also test error messages
1524 - gitlab-ci: Allow cast-align warnings from clang
1525 - gitlab-ci: Fix tar invocation
1526 - gitlab-ci: Move MSVC test to separate script
1527 - gitlab-ci: Fix SUFFIX, remove MINGW_PATH
1528 - gitlab-ci: Consolidate CMake test scripts
1529 - gitlab-ci: Only install MinGW autotools if needed
1530 - gitlab-ci: Only install cmake MinGW package if needed
1531 - gitlab-ci: Install 7-Zip using the .msi
1532 - Use $MSYSTEM and 'bash -lc' in MinGW CI
1533 - Add CI job for MinGW/Autotools
1534 - Consolidate CI scripts
1535 - Allow empty MINGW_PACKAGE_PREFIX
1536 - Move Dockerfile to .gitlab-ci directory
1537 - testapi: Disable on Windows for now
1538 - Disable fuzzer tests if glob.h wasn't found
1539 - Move automata test to runtest.c
1540 - Fix testapi when building --without-sax1
1541
1542 # Documentation
1543
1544 - doc: Remove ancient files
1545 - Remove ancient TODOs
1546 - html: Fix htmlInitAutoClose documentation
1547 - doc: Mention new location of XML catalog as breaking change
1548 - doc: Mention potentially breaking changes in NEWS
1549 - doc: Remove xmlDllMain from documentation and version script
1550 - doc: Mention ${sysconfdir} in man pages
1551 - doc: Document xmlcatalog --convert
1552 - doc: Document xmllint --nodict and --pedantic
1553 - doc: Fix indentation in source XML files
1554 - xmllint: Document --quiet option
1555 - Improve cross-references in API docs
1556 - Improve documentation of globals
1557 - Fix documentation parser
1558 - Support comments for global variables in documentation
1559 - Fix update call in apibuild.py
1560 - Don't index anything in DOC_DISABLE sections
1561 - Fix warnings from apibuild.py
1562 - Start with documentation for maintainers
1563
1564
1565 v2.10.4: Apr 11 2023
1566
1567 ### Security
1568
1569 - [CVE-2023-29469] Hashing of empty dict strings isn't deterministic
1570 - [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType
1571 - schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK
1572
1573 ### Regressions
1574
1575 - SAX2: Ignore namespaces in HTML documents
1576 - io: Fix "buffer full" error with certain buffer sizes
1577
1578
1579 v2.10.3: Oct 14 2022
1580
1581 ### Security
1582
1583 - [CVE-2022-40304] Fix dict corruption caused by entity reference cycles
1584 - [CVE-2022-40303] Fix integer overflows with XML_PARSE_HUGE
1585 - Fix overflow check in SAX2.c
1586
1587 ### Portability
1588
1589 - win32: Fix build with VS2013
1590
1591 ### Build system
1592
1593 - cmake: Set SOVERSION
1594
1595
1596 v2.10.2: Aug 29 2022
1597
1598 ### Improvements
1599
1600 - Remove set-but-unused variable in xmlXPathScanName
1601 - Silence -Warray-bounds warning
1602
1603 ### Build system
1604
1605 - build: require automake-1.16.3 or later (Xi Ruoyao)
1606 - Remove generated files from distribution
1607
1608 ### Test suite
1609
1610 - Don't create missing.xml when running testapi
1611
1612
1613 v2.10.1: Aug 25 2022
1614
1615 ### Regressions
1616
1617 - Fix xmlCtxtReadDoc with encoding
1618
1619 ### Bug fixes
1620
1621 - Fix HTML parser with threads and --without-legacy
1622
1623 ### Build system
1624
1625 - Fix build with Python 3.10
1626 - cmake: Disable version script on macOS
1627 - Remove Makefile rule to build testapi.c
1628
1629 ### Documentation
1630
1631 - Switch back to HTML output for API documentation
1632 - Port doc/examples/index.py to Python 3
1633 - Fix order of exports in libxml2-api.xml
1634 - Remove libxml2-refs.xml
1635
1636
1637 v2.10.0: Aug 17 2022
1638
1639 ### Breaking changes
1640
1641 The Docbook parser module and all related symbols habe been removed completely.
1642 This was experimental code which never worked and generated a deprecation
1643 warning for 15+ years. The library's soname wasn't changed in order to allow
1644 seamless upgrades to later versions. If this concerns you, consider bumping
1645 soname yourself.
1646
1647 Some other modules are now disabled by default and will eventually be removed
1648 completely:
1649
1650 - Support for XPointer locations (ranges and points): This was based on
1651 a W3C specification which never got beyond Working Draft status. To my
1652 knowledge, there's no software supporting this spec which is still
1653 maintained. You now have to enable this code by passing the
1654 `--with-xptr-locs` configuration option. Be warned that this part of
1655 the code base is buggy and had many security issues in the past.
1656
1657 - Support for the built-in FTP client (`--with-ftp`).
1658
1659 - Support for "legacy" functions (`--with-legacy`).
1660
1661 If you're concerned about ABI stability and haven't disabled these modules
1662 already, add the following configuration options or bump soname yourself:
1663
1664 --with-ftp
1665 --with-legacy
1666 --with-xptr-locs
1667
1668 Several functions of the public API were deprecated. Most of them should be
1669 completely unused and will generate a deprecation warning now.
1670
1671 The autoconf build now uses the sysconfdir variable for the location of
1672 the default catalog file. The path changed from hardcoded /etc/xml/catalog
1673 to ${sysconfdir}/xml/catalog. The sysconfdir variable defaults to
1674 ${prefix}/etc, prefix defaults to /usr/local, so without other options
1675 the path becomes /usr/local/etc/xml/catalog. If you want the old behavior,
1676 configure with
1677
1678 --sysconfdir=/etc
1679
1680 ### Security
1681
1682 - [CVE-2022-2309] Reset nsNr in xmlCtxtReset
1683 - Reserve byte for NUL terminator and report errors consistently in xmlBuf and
1684 xmlBuffer (David Kilzer)
1685 - Fix missing NUL terminators in xmlBuf and xmlBuffer functions (David Kilzer)
1686 - Fix integer overflow in xmlBufferDump() (David Kilzer)
1687 - xmlBufAvail() should return length without including a byte for NUL
1688 terminator (David Kilzer)
1689 - Fix ownership of xmlNodePtr & xmlAttrPtr fields in xmlSetTreeDoc() (David
1690 Kilzer)
1691 - Use xmlNewDocText in xmlXIncludeCopyRange
1692 - Fix use-after-free bugs when calling xmlTextReaderClose() before
1693 xmlFreeTextReader() on post-validating parser (David Kilzer)
1694 - Use UPDATE_COMPAT() consistently in buf.c (David Kilzer)
1695 - fix: xmlXPathParserContext could be double-delete in OOM case. (jinsub ahn)
1696
1697 ### Removals and deprecations
1698
1699 - Disable XPointer location support by default
1700 - Remove outdated xml2Conf.sh
1701 - Deprecate module init and cleanup functions
1702 - Remove obsolete XML Software Autoupdate (XSA) file
1703 - Remove DOCBparser
1704 - Remove obsolete Python test framework
1705 - Remove broken VxWorks support
1706 - Remove broken Mac OS 9 support
1707 - Remove broken bakefile support
1708 - Remove broken Visual Studio 2010 support
1709 - Remove broken Windows CE support
1710 - Deprecate IDREF-related functions in valid.h
1711 - Deprecate legacy functions
1712 - Disable legacy support by default
1713 - Deprecate all functions in nanoftp.h
1714 - Disable FTP support by default
1715 - Add XML_DEPRECATED macro
1716 - Remove elfgcchack.h
1717
1718 ### Regressions
1719
1720 - Skip incorrectly opened HTML comments
1721 - Restore behavior of htmlDocContentDumpFormatOutput() (David Kilzer)
1722
1723 ### Bug fixes
1724
1725 - Fix memory leak with invalid XSD
1726 - Make XPath depth check work with recursive invocations
1727 - Fix memory leak in xmlLoadEntityContent error path
1728 - Avoid double-free if malloc fails in inputPush
1729 - Properly fold whitespace around the QName value when validating an XSD
1730 schema. (Damjan Jovanovic)
1731 - Add whitespace folding for some atomic data types that it's missing on.
1732 (Damjan Jovanovic)
1733 - Don't add IDs containing unexpanded entity references
1734
1735 ### Improvements
1736
1737 - Avoid calling xmlSetTreeDoc
1738 - Simplify xmlFreeNode
1739 - Don't reset nsDef when changing node content
1740 - Fix unintended fall-through in xmlNodeAddContentLen
1741 - Remove unused xmlBuf functions (David Kilzer)
1742 - Implement xpath1() XPointer scheme
1743 - Add configuration flag for XPointer locations support
1744 - Fix compiler warnings in Python code
1745 - Mark more static data as `const` (David Kilzer)
1746 - Make xmlStaticCopyNode non-recursive
1747 - Clean up encoding switching code
1748 - Simplify recursive pthread mutex
1749 - Use non-recursive mutex in dict.c
1750 - Fix parser progress checks
1751 - Avoid arithmetic on freed pointers
1752 - Improve buffer allocation scheme
1753 - Remove unneeded #includes
1754 - Add support for some non-standard escapes in regular expressions. (Damjan
1755 Jovanovic)
1756 - htmlParseComment: handle abruptly-closed comments (Mike Dalessio)
1757 - Add let variable tag support (Oliver Diehl)
1758 - Add value-of tag support (Oliver Diehl)
1759 - Remove useless call to xmlRelaxNGCleanupTypes
1760 - Don't include ICU headers in public headers
1761 - Update `xmlStrlen()` to use POSIX / ISO C `strlen()` (Mike Dalessio)
1762 - Fix unused variable warnings with disabled features
1763 - Only warn on invalid redeclarations of predefined entities
1764 - Remove unneeded code in xmlreader.c
1765 - Rework validation context flags
1766
1767 ### Portability
1768
1769 - Use NAN/INFINITY if available to init XPath NaN/Inf (Sergey Kosukhin)
1770 - Fix Python tests on macOS
1771 - Fix xmlCleanupThreads on Windows
1772 - Fix reinitialization of library on Windows
1773 - Don't mix declarations and code in runtest.c
1774 - Use portable python shebangs (David Seifert)
1775 - Use critical sections as mutex on Windows
1776 - Don't set HAVE_WIN32_THREADS in win32config.h
1777 - Use stdint.h with newer MSVC
1778 - Remove cruft from win32config.h
1779 - Remove isinf/isnan emulation in win32config.h
1780 - Always fopen files with "rb"
1781 - Remove __DJGPP__ checks
1782 - Remove useless __CYGWIN__ checks
1783
1784 ### Build system
1785
1786 - Don't autogenerate doc/examples/Makefile.am
1787 - cmake: Install libxml.m4 on UNIX-like platforms (Daniel E)
1788 - cmake: Use symbol versioning on UNIX-like platforms (Daniel E)
1789 - Port genUnicode.py to Python 3
1790 - Port gentest.py to Python 3
1791 - cmake: Fix build without thread support
1792 - cmake: Install documentation in CMAKE_INSTALL_DOCDIR
1793 - cmake: Remove non needed files in docs dir (Daniel E)
1794 - configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is set
1795 (Christopher Degawa)
1796 - Move local Autoconf macros into m4 directory
1797 - Use XML_PRIVATE_LIBS in libxml2_la_LIBADD
1798 - Update libxml-2.0-uninstalled.pc.in
1799 - Remove LIBS from XML_PRIVATE_LIBS
1800 - Add WIN32_EXTRA_LIBADD to XML_PRIVATE_LIBS
1801 - Don't overlink executables
1802 - cmake: Adjust paths for UNIX or UNIX-like target systems (Daniel Engberg)
1803 - build: Make use of variables in libxml's pkg-config file (Daniel Engberg)
1804 - Avoid obsolescent `test -a` constructs (David Seifert)
1805 - Move AM_MAINTAINER_MODE to AM section
1806 - configure.ac: make AM_SILENT_RULES([yes]) unconditional (David Seifert)
1807 - Streamline documentation installation
1808 - Don't try to recreate COPYING symlink
1809 - Detect libm using libtool's macros (David Seifert)
1810 - configure.ac: disable static libraries by default (David Seifert)
1811 - python/Makefile.am: nest python docs in $(docdir) (David Seifert)
1812 - python/Makefile.am: rely on global AM_INIT_AUTOMAKE (David Seifert)
1813 - Makefile.am: install examples more idiomatically (David Seifert)
1814 - configure.ac: remove useless AC_SUBST (David Seifert)
1815 - Respect `--sysconfdir` in source files (David Seifert)
1816 - Ignore configure backup file created by recent autoreconf too (Vadim Zeitlin)
1817 - Only install *.html and *.c example files
1818 - Remove --with-html-dir option
1819 - Rework documentation build system
1820 - Remove old website
1821 - Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings (David Seifert)
1822 - Update genChRanges.py
1823 - Update build_glob.py
1824 - Remove ICONV_CONST test
1825 - Remove obsolete AC_HEADER checks
1826 - Don't check for standard C89 library functions
1827 - Don't check for standard C89 headers
1828 - Remove special configuration for certain maintainers
1829
1830 ### Test suite, CI
1831
1832 - Disable network in API tests
1833 - testapi: remove leading slash from "/missing.xml" (Mike Gilbert)
1834 - Build Autotools CI tests out of source tree (VPATH)
1835 - Add --with-minimum build to CI tests
1836 - Fix warnings when testing --with-minimum build
1837 - cmake: Run all tests when threads are disabled
1838 - Also build CI tests with -Werror
1839 - Move doc/examples tests to new test suite
1840 - Simplify 'make check' targets
1841 - Fix schemas and relaxng tests
1842 - Remove unused result files
1843 - Allow missing result files in runtest
1844 - Move regexp tests to runtest
1845 - Move SVG tests to runtest.c
1846 - Move testModule to new test suite
1847 - Move testThreads to new test suite
1848 - Remove major parts of old test suite
1849 - Make testchar return an error on failure (Tony Tascioglu)
1850 - Add CI job for static build
1851 - python/tests: open() relative to test scripts (David Seifert)
1852 - Port some test scripts to Python 3
1853
1854 ### Documentation
1855
1856 - Improve documentation of tree manipulation API
1857 - Update xml2-config man page
1858 - Consolidate man pages
1859 - Rename xmlcatalog_man.xml
1860 - Make examples a standalone HTML page
1861 - Fix documentation in entities.c
1862 - Add note about optimization flags
1863
1864
1865 v2.9.14: May 02 2022:
1866 - Security:
1867 [CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
1868 Fix potential double-free in xmlXPtrStringRangeFunction
1869 Fix memory leak in xmlFindCharEncodingHandler
1870 Normalize XPath strings in-place
1871 Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars()
1872 (David Kilzer)
1873 Fix leak of xmlElementContent (David Kilzer)
1874
1875 - Bug fixes:
1876 Fix parsing of subtracted regex character classes
1877 Fix recursion check in xinclude.c
1878 Reset last error in xmlCleanupGlobals
1879 Fix certain combinations of regex range quantifiers
1880 Fix range quantifier on subregex
1881
1882 - Improvements:
1883 Fix recovery from invalid HTML start tags
1884
1885 - Build system, portability:
1886 Define LFS macros before including system headers
1887 Initialize XPath floating-point globals
1888 configure: check for icu DEFS (James Hilliard)
1889 configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
1890 CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
1891 Fix build with older Python versions
1892 Fix --without-valid build
1893
1894
1895 v2.9.13: Feb 19 2022:
1896 - Security:
1897 [CVE-2022-23308] Use-after-free of ID and IDREF attributes
1898 (Thanks to Shinji Sato for the report)
1899 Use-after-free in xmlXIncludeCopyRange (David Kilzer)
1900 Fix Null-deref-in-xmlSchemaGetComponentTargetNs (huangduirong)
1901 Fix memory leak in xmlXPathCompNodeTest
1902 Fix null pointer deref in xmlStringGetNodeList
1903 Fix several memory leaks found by Coverity (David King)
1904
1905 - Fixed regressions:
1906 Fix regression in RelaxNG pattern matching
1907 Properly handle nested documents in xmlFreeNode
1908 Fix regression with PEs in external DTD
1909 Fix random dropping of characters on dumping ASCII encoded XML (Mohammad Razavi)
1910 Revert "Make schema validation fail with multiple top-level elements"
1911 Fix regression when parsing invalid HTML tags in push mode
1912 Fix regression parsing public IDs literals in HTML
1913 Fix buffering in xmlOutputBufferWrite
1914 Fix whitespace when serializing empty HTML documents
1915 Fix XPath recursion limit
1916 Fix regression in xmlNodeDumpOutputInternal
1917 Work around lxml API abuse
1918
1919 - Bug fixes:
1920 Fix xmlSetTreeDoc with entity references
1921 Fix double counting of CRLF in comments
1922 Make sure to grow input buffer in xmlParseMisc
1923 Don't ignore xmllint options after "-"
1924 Don't normalize namespace URIs in XPointer xmlns() scheme
1925 Fix handling of XSD with empty namespace
1926 Also register HTML document nodes
1927 Make xmllint return an error if arguments are missing
1928 Fix handling of ctxt->base in xmlXPtrEvalXPtrPart
1929 Fix xmllint --maxmem
1930 Fix htmlReadFd, which was using a mix of xml and html context functions (Finn Barber)
1931 Move current position before possible calling of ctxt->sax->characters (Yulin Li)
1932 Fix parse failure when 4-byte character in UTF-16 BE is split across a chunk (David Kilzer)
1933 Patch to forbid epsilon-reduction of final states (Arne Becker)
1934 Avoid segfault at exit when using custom memory functions (Mike Dalessio)
1935
1936 - Tests, code quality, fuzzing:
1937 Remove .travis.yml
1938 Make xmlFuzzReadString return a zero size in error case
1939 Fix unused function warning in testapi.c
1940 Update NewsML DTD in test suite
1941 Add more checks for malloc failures in xmllint.c
1942 Avoid potential integer overflow in xmlstring.c
1943 Run CI tests with UBSan implicit-conversion checks
1944 Fix casting of line numbers in SAX2.c
1945 Fix integer conversion warnings in hash.c
1946 Add explicit casts in runtest.c
1947 Fix integer conversion warning in xmlIconvWrapper
1948 Add suffix to unsigned constant in xmlmemory.c
1949 Add explicit casts in testchar.c
1950 Fix integer conversion warnings in xmlstring.c
1951 Add explicit cast in xmlURIUnescapeString
1952 Remove unused variable in xmlCharEncOutFunc (David King)
1953
1954 - Build system, portability:
1955 Remove xmlwin32version.h
1956 Fix fuzzer test with VPATH build
1957 Support custom prefix when installing Python module
1958 Remove Makefile.win
1959 Remove CVS and SVN-related code
1960 Port python 3.x module to Windows and improve distutils (Chun-wei Fan)
1961 Correctly install the HTML examples into their subdirectory (Mattia Rizzolo)
1962 Refactor the settings of $docdir (Mattia Rizzolo)
1963 Remove unused configure checks (Ben Boeckel)
1964 python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS (Sam James)
1965 Fix check for libtool in autogen.sh
1966 Use version in configure.ac for CMake (Timothy Lyanguzov)
1967 Add CMake alias targets for embedded projects (Markus Rickert)
1968
1969 - Documentation:
1970 Remove SVN keyword anchors
1971 Rework README
1972 Remove README.cvs-commits
1973 Remove old ChangeLog
1974 Update hyperlinks
1975 Remove README.docs
1976 Remove MAINTAINERS
1977 Remove xmltutorial.pdf
1978 Upload documentation to GitLab pages
1979 Document how to escape XML_CATALOG_FILES
1980 Fix libxml2.doap
1981 Update URL for libxml++ C++ binding (Kjell Ahlstedt)
1982 Generate devhelp2 index file (Emmanuele Bassi)
1983 Mention XML_CATALOG_FILES is space-separated (Jan Tojnar)
1984 Add documentaiton for xmllint exit code 10 (Rainer Canavan)
1985 Fix some validation errors in the FAQ (David King)
1986 Add instructions on how to use CMake to compile libxml (Markus Rickert)
1987
1988
1989
1990 v2.9.12: May 13 2021:
1991 - Build system:
1992 Add fuzz.h and seed/regexp to EXTRA_DIST
1993
1994
1995
1996 v2.9.11: May 13 2021:
1997 - Security:
1998 Patch for security issue CVE-2021-3541 (Daniel Veillard)
1999
2000 - Documentation:
2001 Clarify xmlNewDocProp documentation (Nick Wellnhofer)
2002
2003 - Portability:
2004 CMake: Only add postfixes if MSVC (Christopher Degawa),
2005 Fix XPath NaN/Inf for older GCC versions (Nick Wellnhofer),
2006 Use CMake PROJECT_VERSION (Markus Rickert),
2007 Fix warnings in libxml.m4 with autoconf 2.70+. (Simon Josefsson),
2008 Add CI for CMake on MSVC (Markus Rickert),
2009 Update minimum required CMake version (Markus Rickert),
2010 Add variables for configured options to CMake config files (Markus Rickert),
2011 Check if variables exist when defining targets (Markus Rickert),
2012 Check if target exists when reading target properties (Markus Rickert),
2013 Add xmlcatalog target and definition to config files (Markus Rickert),
2014 Remove include directories for link-only dependencies (Markus Rickert),
2015 Fix ICU build in CMake (Markus Rickert),
2016 Configure pkgconfig, xml2-config, and xml2Conf.sh file (Markus Rickert),
2017 Update CMake config files (Markus Rickert),
2018 Add xmlcatalog and xmllint to CMake export (Markus Rickert),
2019 Simplify xmlexports.h (Nick Wellnhofer),
2020 Require dependencies based on enabled CMake options (Markus Rickert),
2021 Use NAMELINK_COMPONENT in CMake install (Markus Rickert),
2022 Add CMake files to EXTRA_DIST (Markus Rickert),
2023 Add missing compile definition for static builds to CMake (Markus Rickert),
2024 Add CI for CMake on Linux and MinGW (Markus Rickert),
2025 Fix variable name in win32/configure.js (Nick Wellnhofer),
2026 Fix version parsing in win32/configure.js (Nick Wellnhofer),
2027 Fix autotools warnings (Nick Wellnhofer),
2028 Update config.h.cmake.in (Markus Rickert),
2029 win32: allow passing *FLAGS on command line (Michael Stahl),
2030 Configure file xmlwin32version.h.in on MSVC (Markus Rickert),
2031 List headers individually (Markus Rickert),
2032 Add CMake build files (Markus Rickert),
2033 Parenthesize Py<type>_Check() in ifs (Miro Hrončok),
2034 Minor fixes to configure.js (Nick Wellnhofer)
2035
2036 - Bug Fixes:
2037 Fix null deref in legacy SAX1 parser (Nick Wellnhofer),
2038 Fix handling of unexpected EOF in xmlParseContent (Nick Wellnhofer),
2039 Fix line numbers in error messages for mismatched tags (Nick Wellnhofer),
2040 Fix htmlTagLookup (Nick Wellnhofer),
2041 Propagate error in xmlParseElementChildrenContentDeclPriv (Nick Wellnhofer),
2042 Fix user-after-free with `xmllint --xinclude --dropdtd` (Nick Wellnhofer),
2043 Fix dangling pointer with `xmllint --dropdtd` (Nick Wellnhofer),
2044 Validate UTF8 in xmlEncodeEntities (Joel Hockey),
2045 Fix use-after-free with `xmllint --html --push` (Nick Wellnhofer),
2046 Allow FP division by zero in xmlXPathInit (Nick Wellnhofer),
2047 Fix xmlGetNodePath with invalid node types (Nick Wellnhofer),
2048 Fix exponential behavior with recursive entities (Nick Wellnhofer),
2049 Fix quadratic behavior when looking up xml:* attributes (Nick Wellnhofer),
2050 Fix slow parsing of HTML with encoding errors (Nick Wellnhofer),
2051 Fix null deref introduced with previous commit (Nick Wellnhofer),
2052 Check for invalid redeclarations of predefined entities (Nick Wellnhofer),
2053 Add the copy of type from original xmlDoc in xmlCopyDoc() (SVGAnimate),
2054 parser.c: shrink the input buffer when appropriate (Mike Dalessio),
2055 Fix infinite loop in HTML parser introduced with recent commits (Nick Wellnhofer),
2056 Fix quadratic runtime when parsing CDATA sections (Nick Wellnhofer),
2057 Fix timeout when handling recursive entities (Nick Wellnhofer),
2058 Fix memory leak in xmlParseElementMixedContentDecl (Nick Wellnhofer),
2059 Fix null deref in xmlStringGetNodeList (Nick Wellnhofer),
2060 use new htmlParseLookupCommentEnd to find comment ends (Mike Dalessio),
2061 htmlParseComment: treat `--!>` as if it closed the comment (Mike Dalessio),
2062 Fix integer overflow in xmlSchemaGetParticleTotalRangeMin (Nick Wellnhofer),
2063 encoding: fix memleak in xmlRegisterCharEncodingHandler() (Xiaoming Ni),
2064 xmlschemastypes.c: xmlSchemaGetFacetValueAsULong add, check "facet->val" (Xiaoming Ni),
2065 Fix null pointer deref in xmlXPtrRangeInsideFunction (Nick Wellnhofer),
2066 Fix quadratic runtime in HTML push parser with null bytes (Nick Wellnhofer),
2067 Avoid quadratic checking of identity-constraints (Michael Matz),
2068 Fix building with ICU 68. (Frederik Seiffert),
2069 Convert python/libxml.c to PY_SSIZE_T_CLEAN (Victor Stinner),
2070 Fix xmlURIEscape memory leaks. (Elliott Hughes),
2071 Avoid call stack overflow with XML reader and recursive XIncludes (Nick Wellnhofer),
2072 Fix caret in regexp character group (Nick Wellnhofer),
2073 parser.c: xmlParseCharData peek behavior fixed wrt newlines (Mike Dalessio),
2074 Fix memory leaks in XPointer string-range function (Nick Wellnhofer),
2075 Fix use-after-free when XIncluding text from Reader (Nick Wellnhofer),
2076 Fix SEGV in xmlSAXParseFileWithData (yanjinjq),
2077 Fix null deref in XPointer expression error path (Nick Wellnhofer),
2078 Don't call xmlXPathInit directly (Nick Wellnhofer),
2079 Fix cleanup of attributes in XML reader (Nick Wellnhofer),
2080 Fix double free in XML reader with XIncludes (Nick Wellnhofer),
2081 Fix memory leak in xmlXIncludeAddNode error paths (Nick Wellnhofer),
2082 Revert "Fix quadratic runtime in xi:fallback processing" (Nick Wellnhofer),
2083 Fix error reporting with xi:fallback (Nick Wellnhofer),
2084 Fix quadratic runtime in xi:fallback processing (Nick Wellnhofer),
2085 Fix corner case with empty xi:fallback (Nick Wellnhofer),
2086 Fix XInclude regression introduced with recent commit (Nick Wellnhofer),
2087 Fix memory leak in runtest.c (Nick Wellnhofer),
2088 Make "xmllint --push --recovery" work (Nick Wellnhofer),
2089 Revert "Do not URI escape in server side includes" (Nick Wellnhofer),
2090 Fix column number accounting in xmlParse*NameAndCompare (Nick Wellnhofer),
2091 Stop counting nbChars in parser context (Nick Wellnhofer),
2092 Fix out-of-bounds read with 'xmllint --htmlout' (Nick Wellnhofer),
2093 Fix exponential runtime and memory in xi:fallback processing (Nick Wellnhofer),
2094 Don't process siblings of root in xmlXIncludeProcess (Nick Wellnhofer),
2095 Don't recurse into xi:include children in xmlXIncludeDoProcess (Nick Wellnhofer),
2096 Fix memory leak in xmlXIncludeIncludeNode error paths (Nick Wellnhofer),
2097 Check for custom free function in global destructor (Nick Wellnhofer),
2098 Fix integer overflow when comparing schema dates (Nick Wellnhofer),
2099 Fix exponential runtime in xmlFARecurseDeterminism (Nick Wellnhofer),
2100 Don't try to handle namespaces when building HTML documents (Nick Wellnhofer),
2101 Fix several quadratic runtime issues in HTML push parser (Nick Wellnhofer),
2102 Fix quadratic runtime when push parsing HTML start tags (Nick Wellnhofer),
2103 Reset XML parser input before reporting errors (David Kilzer),
2104 Fix quadratic runtime when push parsing HTML entity refs (Nick Wellnhofer),
2105 Fix HTML push parser lookahead (Nick Wellnhofer),
2106 Make htmlCurrentChar always translate U+0000 (Nick Wellnhofer),
2107 Fix UTF-8 decoder in HTML parser (Nick Wellnhofer),
2108 Fix quadratic runtime when parsing HTML script content (Nick Wellnhofer),
2109 Reset HTML parser input before reporting error (Nick Wellnhofer),
2110 Fix more quadratic runtime issues in HTML push parser (Nick Wellnhofer),
2111 Fix regression introduced with 477c7f6a (Nick Wellnhofer),
2112 Fix quadratic runtime in HTML parser (Nick Wellnhofer),
2113 Reset HTML parser input before reporting encoding error (Nick Wellnhofer),
2114 Fix integer overflow in xmlFAParseQuantExact (Nick Wellnhofer),
2115 Fix return value of xmlC14NDocDumpMemory (Nick Wellnhofer),
2116 Don't follow next pointer on documents in xmlXPathRunStreamEval (Nick Wellnhofer),
2117 Fix integer overflow in _xmlSchemaParseGYear (Nick Wellnhofer),
2118 Fix integer overflow when parsing {min,max}Occurs (Nick Wellnhofer),
2119 Fix another memory leak in xmlSchemaValAtomicType (Nick Wellnhofer),
2120 Fix unsigned integer overflow in htmlParseTryOrFinish (Nick Wellnhofer),
2121 Fix integer overflow in htmlParseCharRef (Nick Wellnhofer),
2122 Fix undefined behavior in UTF16LEToUTF8 (Nick Wellnhofer),
2123 Fix return value of xmlCharEncOutput (Nick Wellnhofer),
2124 Never expand parameter entities in text declaration (Nick Wellnhofer),
2125 Fix undefined behavior in xmlXPathTryStreamCompile (Nick Wellnhofer),
2126 Fix use-after-free with validating reader (Nick Wellnhofer),
2127 xmlParseBalancedChunkMemory must not be called with NULL doc (Nick Wellnhofer),
2128 Revert "Fix memory leak in xmlParseBalancedChunkMemoryRecover" (Nick Wellnhofer),
2129 Fix memory leak in xmlXIncludeLoadDoc error path (Nick Wellnhofer),
2130 Make schema validation fail with multiple top-level elements (Nick Wellnhofer),
2131 Call xmlCleanupParser on ELF destruction (Samuel Thibault),
2132 Fix copying of entities in xmlParseReference (Nick Wellnhofer),
2133 Fix memory leak in xmlSchemaValidateStream (Zhipeng Xie),
2134 Fix xmlSchemaGetCanonValue formatting for date and dateTime (Kevin Puetz),
2135 Fix memory leak when shared libxml.dll is unloaded (Kevin Puetz),
2136 Fix potentially-uninitialized critical section in Win32 DLL builds (Kevin Puetz),
2137 Fix integer overflow in xmlBufferResize (Nick Wellnhofer),
2138 Check for overflow when allocating two-dimensional arrays (Nick Wellnhofer),
2139 Remove useless comparisons (Nick Wellnhofer),
2140 Fix overflow check in xmlNodeDump (Nick Wellnhofer),
2141 Fix infinite loop in xmlStringLenDecodeEntities (Zhipeng Xie),
2142 Fix freeing of nested documents (Nick Wellnhofer),
2143 Fix more memory leaks in error paths of XPath parser (Nick Wellnhofer),
2144 Fix memory leaks of encoding handlers in xmlsave.c (Nick Wellnhofer),
2145 Fix xml2-config error code (Nick Wellnhofer),
2146 Fix memory leak in error path of XPath expr parser (Nick Wellnhofer),
2147 Fix overflow handling in xmlBufBackToBuffer (Nick Wellnhofer),
2148 Null pointer handling in catalog.c (raniervf),
2149 xml2-config.in: fix regressions introduced by commit 2f2bf4b2c (Dmitry V. Levin)
2150
2151 - Improvements:
2152 Store per-element parser state in a struct (Nick Wellnhofer),
2153 update for xsd:language type check (PaulHiggs),
2154 Update INSTALL.libxml2 (Nick Wellnhofer),
2155 Fix include order in c14n.h (Nick Wellnhofer),
2156 Fix duplicate xmlStrEqual calls in htmlParseEndTag (Nick Wellnhofer),
2157 Speed up htmlCheckAutoClose (Nick Wellnhofer),
2158 Speed up htmlTagLookup (Nick Wellnhofer),
2159 Stop checking attributes for UTF-8 validity (Nick Wellnhofer),
2160 Reduce some fuzzer timeouts (Nick Wellnhofer),
2161 Only run a few CI tests unless scheduled (Nick Wellnhofer),
2162 Improve fuzzer stability (Nick Wellnhofer),
2163 Check for feature flags in fuzzer tests (Nick Wellnhofer),
2164 Another attempt at improving fuzzer stability (Nick Wellnhofer),
2165 Revert "Improve HTML fuzzer stability" (Nick Wellnhofer),
2166 Add charset names to fuzzing dictionaries (Nick Wellnhofer),
2167 Improve HTML fuzzer stability (Nick Wellnhofer),
2168 Add CI for MSVC x86 (Markus Rickert),
2169 Add a flag to not output anything when xmllint succeeded (hhb),
2170 Speed up HTML fuzzer (Nick Wellnhofer),
2171 Remove unused encoding parameter of HTML output functions (Nick Wellnhofer),
2172 Handle malloc failures in fuzzing code (Nick Wellnhofer),
2173 add test coverage for incorrectly-closed comments (Mike Dalessio),
2174 Enforce maximum length of fuzz input (Nick Wellnhofer),
2175 Remove temporary members from struct _xmlXPathContext (Nick Wellnhofer),
2176 Build the Python extension with PY_SSIZE_T_CLEAN (Victor Stinner),
2177 Add CI test for Python 3 (Nick Wellnhofer),
2178 Add fuzzing dictionaries to EXTRA_DIST (Nick Wellnhofer),
2179 Add 'fuzz' subdirectory to DIST_SUBDIRS (Nick Wellnhofer),
2180 Allow port numbers up to INT_MAX (Nick Wellnhofer),
2181 Handle dumps of corrupted documents more gracefully (Nick Wellnhofer),
2182 Limit size of free lists in XML reader when fuzzing (Nick Wellnhofer),
2183 Hardcode maximum XPath recursion depth (Nick Wellnhofer),
2184 Pass URL of main entity in XML fuzzer (Nick Wellnhofer),
2185 Consolidate seed corpus generation (Nick Wellnhofer),
2186 Test fuzz targets with dummy driver (Nick Wellnhofer),
2187 Fix regression introduced with commit d88df4b (Nick Wellnhofer),
2188 Fix regression introduced with commit 74dcc10b (Nick Wellnhofer),
2189 Add TODO comment in xinclude.c (Nick Wellnhofer),
2190 Stop using maxParserDepth in xpath.c (Nick Wellnhofer),
2191 Remove dead code in xinclude.c (Nick Wellnhofer),
2192 Don't add formatting newlines to XInclude nodes (Nick Wellnhofer),
2193 Don't use SAX1 if all element handlers are NULL (Nick Wellnhofer),
2194 Remove unneeded progress checks in HTML parser (Nick Wellnhofer),
2195 Use strcmp when fuzzing (Nick Wellnhofer),
2196 Fix XPath fuzzer (Nick Wellnhofer),
2197 Fuzz XInclude engine (Nick Wellnhofer),
2198 Add XPath and XPointer fuzzer (Nick Wellnhofer),
2199 Update fuzzing code (Nick Wellnhofer),
2200 More *NodeDumpOutput fixes (Nick Wellnhofer),
2201 Fix *NodeDumpOutput functions (Nick Wellnhofer),
2202 Make xmlNodeDumpOutputInternal non-recursive (Nick Wellnhofer),
2203 Make xhtmlNodeDumpOutput non-recursive (Nick Wellnhofer),
2204 Make htmlNodeDumpFormatOutput non-recursive (Nick Wellnhofer),
2205 Fix .gitattributes (Nick Wellnhofer),
2206 Rework control flow in htmlCurrentChar (Nick Wellnhofer),
2207 Make 'xmllint --html --push -' read from stdin (Nick Wellnhofer),
2208 Remove misleading comments in xpath.c (Nick Wellnhofer),
2209 Update to Devhelp index file format version 2 (Andre Klapper),
2210 Set project language to C (Markus Rickert),
2211 Add variable for working directory of XML Conformance Test Suite (Markus Rickert),
2212 Add additional tests and XML Conformance Test Suite (Markus Rickert),
2213 Add command line option for temp directory in runtest (Markus Rickert),
2214 Ensure LF line endings for test files (Markus Rickert),
2215 Enable runtests and testThreads (Markus Rickert),
2216 Limit regexp nesting depth (Nick Wellnhofer),
2217 Fix return values and documentation in encoding.c (Nick Wellnhofer),
2218 Add regexp regression tests (David Kilzer),
2219 Report error for invalid regexp quantifiers (Nick Wellnhofer),
2220 Fix rebuilding docs, by hiding __attribute__((...)) behind a macro. (Martin Vidner),
2221 Copy xs:duration parser from libexslt (Nick Wellnhofer),
2222 Fuzz target for XML Schemas (Nick Wellnhofer),
2223 Move entity recorder to fuzz.c (Nick Wellnhofer),
2224 Fuzz target for HTML parser (Nick Wellnhofer),
2225 Update GitLab CI container (Nick Wellnhofer),
2226 Add options file for xml fuzzer (Nick Wellnhofer),
2227 Add a couple of libFuzzer targets (Nick Wellnhofer),
2228 Guard new calls to xmlValidatePopElement in xml_reader.c (Daniel Cheng),
2229 Add LIBXML_VALID_ENABLED to xmlreader (Łukasz Wojniłowicz),
2230 Fix typos (Nick Wellnhofer),
2231 Disable LeakSanitizer (Nick Wellnhofer),
2232 Stop calling SAX getEntity handler from XMLReader (Nick Wellnhofer),
2233 Add test case for recursive external parsed entities (Nick Wellnhofer),
2234 Enable error tests with entity substitution (Nick Wellnhofer),
2235 Don't load external entity from xmlSAX2GetEntity (Nick Wellnhofer),
2236 Merge code paths loading external entities (Nick Wellnhofer),
2237 Copy some XMLReader option flags to parser context (Nick Wellnhofer),
2238 Add xmlPopOutputCallbacks (Nick Wellnhofer),
2239 Updated Python test reader2.py (Pieter van Oostrum),
2240 Updated python/tests/tstLastError.py (Pieter van Oostrum),
2241 Use random seed in xmlDictComputeFastKey (Ranier Vilela),
2242 Enable more undefined behavior sanitizers (Nick Wellnhofer)
2243
2244
2245
2246 v2.9.10: Oct 30 2019:
2247 - Documentation:
2248 Fix a few more typos ("fonction") (Nick Wellnhofer),
2249 Large batch of typo fixes (Jared Yanovich),
2250 Fix typos: tree: move{ -> s}, reconcil{i -> }ed, h{o -> e}ld by... (Jan Pokorný),
2251 Fix typo: xpath: simpli{ -> fi}ed (Jan Pokorný),
2252 Doc: do not mislead towards "infeasible" scenario wrt. xmlBufNodeDump (Jan Pokorný),
2253 Fix comments in test code (zhouzhongyuan),
2254 fix comment in testReader.c (zhouzhongyuan)
2255
2256 - Portability:
2257 Fix some release issues on Fedora 30 (Daniel Veillard),
2258 Fix exponent digits when running tests under old MSVC (Daniel Richard G),
2259 Work around buggy ceil() function on AIX (Daniel Richard G),
2260 Don't call printf with NULL string in runtest.c (Daniel Richard G),
2261 Switched from unsigned long to ptrdiff_t in parser.c (Stephen Chenney),
2262 timsort.h: support older GCCs (Jérôme Duval),
2263 Make configure.ac work with older pkg-config (Nick Wellnhofer),
2264 Stop defining _REENTRANT on some Win32 platforms (Nick Wellnhofer),
2265 Fix nanohttp.c on MinGW (Nick Wellnhofer),
2266 Fix Windows compiler warning in testC14N.c (Nick Wellnhofer),
2267 Merge testThreadsWin32.c into testThreads.c (Nick Wellnhofer),
2268 Fix Python bindings under Windows (Nick Wellnhofer)
2269
2270 - Bug Fixes:
2271 Another fix for conditional sections at end of document (Nick Wellnhofer),
2272 Fix for conditional sections at end of document (Nick Wellnhofer),
2273 Make sure that Python tests exit with error code (Nick Wellnhofer),
2274 Audit memory error handling in xpath.c (Nick Wellnhofer),
2275 Fix error code in xmlTextWriterStartDocument (Nick Wellnhofer),
2276 Fix integer overflow when counting written bytes (Nick Wellnhofer),
2277 Fix uninitialized memory access in HTML parser (Nick Wellnhofer),
2278 Fix memory leak in xmlSchemaValAtomicType (Nick Wellnhofer),
2279 Disallow conditional sections in internal subset (Nick Wellnhofer),
2280 Fix use-after-free in xmlTextReaderFreeNodeList (Nick Wellnhofer),
2281 Fix Regextests (Nick Wellnhofer),
2282 Fix empty branch in regex (Nick Wellnhofer),
2283 Fix integer overflow in entity recursion check (Nick Wellnhofer),
2284 Don't read external entities or XIncludes from stdin (Nick Wellnhofer),
2285 Fix Schema determinism check of ##other namespaces (Nick Wellnhofer),
2286 Fix potential null deref in xmlSchemaIDCFillNodeTables (zhouzhongyuan),
2287 Fix potential memory leak in xmlBufBackToBuffer (Nick Wellnhofer),
2288 Fix error message when processing XIncludes with fallbacks (Nick Wellnhofer),
2289 Fix memory leak in xmlRegEpxFromParse (zhouzhongyuan),
2290 14:00 is a valid timezone for xs:dateTime (Nick Wellnhofer),
2291 Fix memory leak in xmlParseBalancedChunkMemoryRecover (Zhipeng Xie),
2292 Fix potential null deref in xmlRelaxNGParsePatterns (Nick Wellnhofer),
2293 Misleading error message with xs:{min|max}Inclusive (bettermanzzy),
2294 Fix memory leak in xmlXIncludeLoadTxt (Wang Kirin),
2295 Partial fix for comparison of xs:durations (Nick Wellnhofer),
2296 Fix null deref in xmlreader buffer (zhouzhongyuan),
2297 Fix unability to RelaxNG-validate grammar with choice-based name class (Jan Pokorný),
2298 Fix unability to validate ambiguously constructed interleave for RelaxNG (Jan Pokorný),
2299 Fix possible null dereference in xmlXPathIdFunction (zhouzhongyuan),
2300 fix memory leak in xmlAllocOutputBuffer (zhouzhongyuan),
2301 Fix unsigned int overflow (Jens Eggerstedt),
2302 dict.h: gcc 2.95 doesn't allow multiple storage classes (Nick Wellnhofer),
2303 Fix another code path in xmlParseQName (Nick Wellnhofer),
2304 Make sure that xmlParseQName returns NULL in error case (Nick Wellnhofer),
2305 Fix build without reader but with pattern (Nick Wellnhofer),
2306 Fix memory leak in xmlAllocOutputBufferInternal error path (Nick Wellnhofer),
2307 Fix unsigned integer overflow (Nick Wellnhofer),
2308 Fix return value of xmlOutputBufferWrite (Nick Wellnhofer),
2309 Fix parser termination from "Double hyphen within comment" error (David Warring),
2310 Fix call stack overflow in xmlFreePattern (Nick Wellnhofer),
2311 Fix null deref in previous commit (Nick Wellnhofer),
2312 Fix memory leaks in xmlXPathParseNameComplex error paths (Nick Wellnhofer),
2313 Check for integer overflow in xmlXPtrEvalChildSeq (Nick Wellnhofer),
2314 Fix xmllint dump of XPath namespace nodes (Nick Wellnhofer),
2315 Fix float casts in xmlXPathSubstringFunction (Nick Wellnhofer),
2316 Fix null deref in xmlregexp error path (Nick Wellnhofer),
2317 Fix null pointer dereference in xmlTextReaderReadOuterXml (Nick Wellnhofer),
2318 Fix memory leaks in xmlParseStartTag2 error paths (Nick Wellnhofer),
2319 Fix memory leak in xmlSAX2StartElement (Nick Wellnhofer),
2320 Fix commit "Memory leak in xmlFreeID (xmlreader.c)" (Nick Wellnhofer),
2321 Fix NULL pointer deref in xmlTextReaderValidateEntity (Nick Wellnhofer),
2322 Memory leak in xmlFreeTextReader (Nick Wellnhofer),
2323 Memory leak in xmlFreeID (xmlreader.c) (Nick Wellnhofer)
2324
2325 - Improvements:
2326 Run XML conformance tests under CI (Nick Wellnhofer),
2327 Update GitLab CI config (Nick Wellnhofer),
2328 Propagate memory errors in valuePush (Nick Wellnhofer),
2329 Propagate memory errors in xmlXPathCompExprAdd (Nick Wellnhofer),
2330 Make xmlFreeDocElementContent non-recursive (Nick Wellnhofer),
2331 Enable continuous integration via GitLab CI (Nick Wellnhofer),
2332 Avoid ignored attribute warnings under GCC (Nick Wellnhofer),
2333 Make xmlDumpElementContent non-recursive (Nick Wellnhofer),
2334 Make apibuild.py ignore ATTRIBUTE_NO_SANITIZE (Nick Wellnhofer),
2335 Mark xmlExp* symbols as removed (Nick Wellnhofer),
2336 Make xmlParseConditionalSections non-recursive (Nick Wellnhofer),
2337 Adjust expected error in Python tests (Nick Wellnhofer),
2338 Make xmlTextReaderFreeNodeList non-recursive (Nick Wellnhofer),
2339 Make xmlFreeNodeList non-recursive (Nick Wellnhofer),
2340 Make xmlParseContent and xmlParseElement non-recursive (Nick Wellnhofer),
2341 Remove executable bit from non-executable files (Nick Wellnhofer),
2342 Fix expected output of test/schemas/any4 (Nick Wellnhofer),
2343 Optimize build instructions in README (zhouzhongyuan),
2344 xml2-config.in: Output CFLAGS and LIBS on the same line (Hugh McMaster),
2345 xml2-config: Add a --dynamic switch to print only shared libraries (Hugh McMaster),
2346 Annotate functions with __attribute__((no_sanitize)) (Nick Wellnhofer),
2347 Fix warnings when compiling without reader or push parser (Nick Wellnhofer),
2348 Remove unused member `doc` in xmlSaveCtxt (Nick Wellnhofer),
2349 Limit recursion depth in xmlXPathCompOpEvalPredicate (Nick Wellnhofer),
2350 Remove -Wno-array-bounds (Nick Wellnhofer),
2351 Remove unreachable code in xmlXPathCountFunction (Nick Wellnhofer),
2352 Improve XPath predicate and filter evaluation (Nick Wellnhofer),
2353 Limit recursion depth in xmlXPathOptimizeExpression (Nick Wellnhofer),
2354 Disable hash randomization when fuzzing (Nick Wellnhofer),
2355 Optional recursion limit when parsing XPath expressions (Nick Wellnhofer),
2356 Optional recursion limit when evaluating XPath expressions (Nick Wellnhofer),
2357 Use break statements in xmlXPathCompOpEval (Nick Wellnhofer),
2358 Optional XPath operation limit (Nick Wellnhofer),
2359 Fix compilation with --with-minimum (Nick Wellnhofer),
2360 Check XPath stack after calling functions (Nick Wellnhofer),
2361 Remove debug printf in xmlreader.c (Nick Wellnhofer),
2362 Always define LIBXML_THREAD_ENABLED when enabled (Michael Haubenwallner),
2363 Regenerate NEWS (Nick Wellnhofer),
2364 Change git repo URL (Nick Wellnhofer),
2365 Change bug tracker URL (Nick Wellnhofer),
2366 Remove outdated HTML file (Nick Wellnhofer),
2367 Fix unused function warning in testapi.c (Nick Wellnhofer),
2368 Add some generated test files to .gitignore (Nick Wellnhofer),
2369 Remove unneeded function pointer casts (Nick Wellnhofer),
2370 Fix -Wcast-function-type warnings (GCC 8) (Nick Wellnhofer),
2371 Fix -Wformat-truncation warnings (GCC 8) (Nick Wellnhofer)
2372
2373 - Cleanups:
2374 Rebuild docs (Nick Wellnhofer),
2375 Disable xmlExp regex code (Nick Wellnhofer),
2376 Remove redundant code in xmlRelaxNGValidateState (Nick Wellnhofer),
2377 Remove redundant code in xmlXPathCompRelationalExpr (Nick Wellnhofer)
2378
2379
2380
2381 v2.9.9: Jan 03 2019:
2382 - Security:
2383 CVE-2018-9251 CVE-2018-14567 Fix infinite loop in LZMA decompression (Nick Wellnhofer),
2384 CVE-2018-14404 Fix nullptr deref with XPath logic ops (Nick Wellnhofer),
2385
2386 - Documentation:
2387 reader: Fix documentation comment (Mohammed Sadiq)
2388
2389 - Portability:
2390 Fix MSVC build with lzma (Nick Wellnhofer),
2391 Variables need 'extern' in static lib on Cygwin (Michael Haubenwallner),
2392 Really declare dllexport/dllimport for Cygwin (Michael Haubenwallner),
2393 Merge branch 'patch-2' into 'master' (Nick Wellnhofer),
2394 Change dir to $THEDIR after ACLOCAL_PATH check autoreconf creates aclocal.m4 in $srcdir (Vitaly Buka),
2395 Improve error message if pkg.m4 couldn't be found (Nick Wellnhofer),
2396 NaN and Inf fixes for pre-C99 compilers (Nick Wellnhofer)
2397
2398 - Bug Fixes:
2399 Revert "Support xmlTextReaderNextSibling w/o preparsed doc" (Nick Wellnhofer),
2400 Fix building relative URIs (Thomas Holder),
2401 Problem with data in interleave in RelaxNG validation (Nikolai Weibull),
2402 Fix memory leak in xmlSwitchInputEncodingInt error path (Nick Wellnhofer),
2403 Set doc on element obtained from freeElems (Nick Wellnhofer),
2404 Fix HTML serialization with UTF-8 encoding (Nick Wellnhofer),
2405 Use actual doc in xmlTextReaderRead*Xml (Nick Wellnhofer),
2406 Unlink node before freeing it in xmlSAX2StartElement (Nick Wellnhofer),
2407 Check return value of nodePush in xmlSAX2StartElement (Nick Wellnhofer),
2408 Free input buffer in xmlHaltParser (Nick Wellnhofer),
2409 Reset HTML parser input pointers on encoding failure (Nick Wellnhofer),
2410 Don't run icu_parse_test if EUC-JP is unsupported (Nick Wellnhofer),
2411 Fix xmlSchemaValidCtxtPtr reuse memory leak (Greg Hildstrom),
2412 Fix xmlTextReaderNext with preparsed document (Felix Bünemann),
2413 Remove stray character from comment (Nick Wellnhofer),
2414 Remove a misleading line from xmlCharEncOutput (Andrey Bienkowski),
2415 HTML noscript should not close p (Daniel Veillard),
2416 Don't change context node in xmlXPathRoot (Nick Wellnhofer),
2417 Stop using XPATH_OP_RESET (Nick Wellnhofer),
2418 Revert "Change calls to xmlCharEncInput to set flush false" (Nick Wellnhofer)
2419
2420 - Improvements:
2421 Fix "Problem with data in interleave in RelaxNG validation" (Nikolai Weibull),
2422 cleanup: remove some unreachable code (Thomas Holder),
2423 add --relative to testURI (Thomas Holder),
2424 Remove redefined starts and defines inside include elements (Nikolai Weibull),
2425 Allow choice within choice in nameClass in RELAX NG (Nikolai Weibull),
2426 Look inside divs for starts and defines inside include (Nikolai Weibull),
2427 Add compile and libxml2-config.cmake to .gitignore (Nikolai Weibull),
2428 Stop using doc->charset outside parser code (Nick Wellnhofer),
2429 Add newlines to 'xmllint --xpath' output (Nick Wellnhofer),
2430 Don't include SAX.h from globals.h (Nick Wellnhofer),
2431 Support xmlTextReaderNextSibling w/o preparsed doc (Felix Bünemann),
2432 Don't instruct user to run make when autogen.sh failed (林博仁(Buo-ren Lin)),
2433 Run Travis ASan tests with "sudo: required" (Nick Wellnhofer),
2434 Improve restoring of context size and position (Nick Wellnhofer),
2435 Simplify and harden nodeset filtering (Nick Wellnhofer),
2436 Avoid unnecessary backups of the context node (Nick Wellnhofer),
2437 Fix inconsistency in xmlXPathIsInf (Nick Wellnhofer)
2438
2439 - Cleanups:
2440
2441
2442
2443 v2.9.8: Mar 05 2018:
2444 - Portability:
2445 python: remove single use of _PyVerify_fd (Patrick Welche),
2446 Build more test executables on Windows/MSVC (Nick Wellnhofer),
2447 Stop including ansidecl.h (Nick Wellnhofer),
2448 Fix libz and liblzma detection (Nick Wellnhofer),
2449 Revert "Compile testapi with -Wno-unused-function" (Nick Wellnhofer)
2450
2451 - Bug Fixes:
2452 Fix xmlParserEntityCheck (Nick Wellnhofer),
2453 Halt parser in case of encoding error (Nick Wellnhofer),
2454 Clear entity content in case of errors (Nick Wellnhofer),
2455 Change calls to xmlCharEncInput to set flush false when not final call. Having flush incorrectly set to true causes errors for ICU. (Joel Hockey),
2456 Fix buffer over-read in xmlParseNCNameComplex (Nick Wellnhofer),
2457 Fix ICU library filenames on Windows/MSVC (Nick Wellnhofer),
2458 Fix xmlXPathIsNaN broken by recent commit (Nick Wellnhofer),
2459 Fix -Wenum-compare warnings (Nick Wellnhofer),
2460 Fix callback signature in testapi.c (Nick Wellnhofer),
2461 Fix unused parameter warning without ICU (Nick Wellnhofer),
2462 Fix IO callback signatures (Nick Wellnhofer),
2463 Fix misc callback signatures (Nick Wellnhofer),
2464 Fix list callback signatures (Nick Wellnhofer),
2465 Fix hash callback signatures (Nick Wellnhofer),
2466 Refactor name and type signature for xmlNop (Vlad Tsyrklevich),
2467 Fixed ICU to set flush correctly and provide pivot buffer. (Joel Hockey),
2468 Skip EBCDIC tests if EBCDIC isn't supported (Nick Wellnhofer)
2469
2470 - Improvements:
2471 Disable pointer-overflow UBSan checks under Travis (Nick Wellnhofer),
2472 Improve handling of context input_id (Daniel Veillard),
2473 Add resource file to Windows DLL (ccpaging),
2474 Run Travis tests with -Werror (Nick Wellnhofer),
2475 Build with "-Wall -Wextra" (Nick Wellnhofer),
2476 Fix -Wtautological-pointer-compare warnings (Nick Wellnhofer),
2477 Remove unused AC_CHECKs (Nick Wellnhofer),
2478 Update information about contributing (Nick Wellnhofer),
2479 Fix -Wmisleading-indentation warnings (Nick Wellnhofer),
2480 Don't touch CFLAGS in configure.ac (Nick Wellnhofer),
2481 Ignore function pointer cast warnings (Nick Wellnhofer),
2482 Simplify XPath NaN, inf and -0 handling (Nick Wellnhofer),
2483 Introduce xmlPosixStrdup and update xmlMemStrdup (Nick Wellnhofer),
2484 Add test for ICU flush and pivot buffer (Nick Wellnhofer),
2485 Compile testapi with -Wno-unused-function (Nick Wellnhofer)
2486
2487
2488
2489 2.9.7: Nov 02 2017:
2490 - Documentation:
2491 xmlcatalog: refresh man page wrt. querying system catalog easily (Jan Pokorný)
2492
2493 - Portability:
2494 Fix deprecated Travis compiler flag (Nick Wellnhofer),
2495 Add declaration for DllMain (J. Peter Mugaas),
2496 Fix preprocessor conditional in threads.h (J. Peter Mugaas),
2497 Fix pointer comparison warnings on 64-bit Windows (J. Peter Mugaas),
2498 Fix macro redefinition warning (J. Peter Mugaas),
2499 Default to native threads on MinGW-w64 (Nick Wellnhofer),
2500 Simplify Windows IO functions (Nick Wellnhofer),
2501 Fix runtest on Windows (Nick Wellnhofer),
2502 socklen_t is always int on Windows (Nick Wellnhofer),
2503 Don't redefine socket error codes on Windows (Nick Wellnhofer),
2504 Fix pointer/int cast warnings on 64-bit Windows (Nick Wellnhofer),
2505 Fix Windows compiler warnings in xmlCanonicPath (Nick Wellnhofer)
2506
2507 - Bug Fixes:
2508 xmlcatalog: restore ability to query system catalog easily (Jan Pokorný),
2509 Fix comparison of nodesets to strings (Nick Wellnhofer)
2510
2511 - Improvements:
2512 Add Makefile rules to rebuild HTML man pages (Nick Wellnhofer),
2513 Fix mixed decls and code in timsort.h (Nick Wellnhofer),
2514 Rework handling of return values in thread tests (Nick Wellnhofer),
2515 Fix unused variable warnings in testrecurse (Nick Wellnhofer),
2516 Fix -Wimplicit-fallthrough warnings (J. Peter Mugaas),
2517 Upgrade timsort.h to latest revision (Nick Wellnhofer),
2518 Increase warning level to /W3 under MSVC (Nick Wellnhofer),
2519 Fix a couple of warnings in dict.c and threads.c (Nick Wellnhofer),
2520 Update .gitignore for Windows (Nick Wellnhofer),
2521 Fix unused variable warnings in nanohttp.c (Nick Wellnhofer),
2522 Fix the Windows header mess (Nick Wellnhofer),
2523 Don't include winsock2.h in xmllint.c (Nick Wellnhofer),
2524 Remove generated file python/setup.py from version control (Nick Wellnhofer),
2525 Use __linux__ macro in generated code (Nick Wellnhofer)
2526
2527
2528
2529 v2.9.6: Oct 06 2017:
2530 - Portability:
2531 Change preprocessor OS tests to __linux__ (Nick Wellnhofer)
2532
2533 - Bug Fixes:
2534 Fix XPath stack frame logic (Nick Wellnhofer),
2535 Report undefined XPath variable error message (Nick Wellnhofer),
2536 Fix regression with librsvg (Nick Wellnhofer),
2537 Handle more invalid entity values in recovery mode (Nick Wellnhofer),
2538 Fix structured validation errors (Nick Wellnhofer),
2539 Fix memory leak in LZMA decompressor (Nick Wellnhofer),
2540 Set memory limit for LZMA decompression (Nick Wellnhofer),
2541 Handle illegal entity values in recovery mode (Nick Wellnhofer),
2542 Fix debug dump of streaming XPath expressions (Nick Wellnhofer),
2543 Fix memory leak in nanoftp (Nick Wellnhofer),
2544 Fix memory leaks in SAX1 parser (Nick Wellnhofer)
2545
2546
2547
2548 v2.9.5: Sep 04 2017:
2549 - Security:
2550 Detect infinite recursion in parameter entities (Nick Wellnhofer),
2551 Fix handling of parameter-entity references (Nick Wellnhofer),
2552 Disallow namespace nodes in XPointer ranges (Nick Wellnhofer),
2553 Fix XPointer paths beginning with range-to (Nick Wellnhofer)
2554
2555 - Documentation:
2556 Documentation fixes (Nick Wellnhofer),
2557 Spelling and grammar fixes (Nick Wellnhofer)
2558
2559 - Portability:
2560 Adding README.zOS to list of extra files for the release (Daniel Veillard),
2561 Description of work needed to compile on zOS (Stéphane Michaut),
2562 Porting libxml2 on zOS encoding of code (Stéphane Michaut),
2563 small changes for OS/400 (Patrick Monnerat),
2564 relaxng.c, xmlschemas.c: Fix build on pre-C99 compilers (Chun-wei Fan)
2565
2566 - Bug Fixes:
2567 Problem resolving relative URIs (Daniel Veillard),
2568 Fix unwanted warnings when switching encodings (Nick Wellnhofer),
2569 Fix signature of xmlSchemaAugmentImportedIDC (Daniel Veillard),
2570 Heap-buffer-overflow read of size 1 in xmlFAParsePosCharGroup (David Kilzer),
2571 Fix NULL pointer deref in xmlFAParseCharClassEsc (Nick Wellnhofer),
2572 Fix infinite loops with push parser in recovery mode (Nick Wellnhofer),
2573 Send xmllint usage error to stderr (Nick Wellnhofer),
2574 Fix NULL deref in xmlParseExternalEntityPrivate (Nick Wellnhofer),
2575 Make sure not to call IS_BLANK_CH when parsing the DTD (Nick Wellnhofer),
2576 Fix xmlHaltParser (Nick Wellnhofer),
2577 Fix pathological performance when outputting charrefs (Nick Wellnhofer),
2578 Fix invalid-source-encoding warnings in testWriter.c (Nick Wellnhofer),
2579 Fix duplicate SAX callbacks for entity content (David Kilzer),
2580 Treat URIs with scheme as absolute in C14N (Nick Wellnhofer),
2581 Fix copy-paste errors in error messages (Nick Wellnhofer),
2582 Fix sanity check in htmlParseNameComplex (Nick Wellnhofer),
2583 Fix potential infinite loop in xmlStringLenDecodeEntities (Nick Wellnhofer),
2584 Reset parser input pointers on encoding failure (Nick Wellnhofer),
2585 Fix memory leak in xmlParseEntityDecl error path (Nick Wellnhofer),
2586 Fix xmlBuildRelativeURI for URIs starting with './' (Nick Wellnhofer),
2587 Fix type confusion in xmlValidateOneNamespace (Nick Wellnhofer),
2588 Fix memory leak in xmlStringLenGetNodeList (Nick Wellnhofer),
2589 Fix NULL pointer deref in xmlDumpElementContent (Daniel Veillard),
2590 Fix memory leak in xmlBufAttrSerializeTxtContent (Nick Wellnhofer),
2591 Stop parser on unsupported encodings (Nick Wellnhofer),
2592 Check for integer overflow in memory debug code (Nick Wellnhofer),
2593 Fix buffer size checks in xmlSnprintfElementContent (Nick Wellnhofer),
2594 Avoid reparsing in xmlParseStartTag2 (Nick Wellnhofer),
2595 Fix undefined behavior in xmlRegExecPushStringInternal (Nick Wellnhofer),
2596 Check XPath exponents for overflow (Nick Wellnhofer),
2597 Check for overflow in xmlXPathIsPositionalPredicate (Nick Wellnhofer),
2598 Fix spurious error message (Nick Wellnhofer),
2599 Fix memory leak in xmlCanonicPath (Nick Wellnhofer),
2600 Fix memory leak in xmlXPathCompareNodeSetValue (Nick Wellnhofer),
2601 Fix memory leak in pattern error path (Nick Wellnhofer),
2602 Fix memory leak in parser error path (Nick Wellnhofer),
2603 Fix memory leaks in XPointer error paths (Nick Wellnhofer),
2604 Fix memory leak in xmlXPathNodeSetMergeAndClear (Nick Wellnhofer),
2605 Fix memory leak in XPath filter optimizations (Nick Wellnhofer),
2606 Fix memory leaks in XPath error paths (Nick Wellnhofer),
2607 Do not leak the new CData node if adding fails (David Tardon),
2608 Prevent unwanted external entity reference (Neel Mehta),
2609 Increase buffer space for port in HTTP redirect support (Daniel Veillard),
2610 Fix more NULL pointer derefs in xpointer.c (Nick Wellnhofer),
2611 Avoid function/data pointer conversion in xpath.c (Nick Wellnhofer),
2612 Fix format string warnings (Nick Wellnhofer),
2613 Disallow namespace nodes in XPointer points (Nick Wellnhofer),
2614 Fix comparison with root node in xmlXPathCmpNodes (Nick Wellnhofer),
2615 Fix attribute decoding during XML schema validation (Alex Henrie),
2616 Fix NULL pointer deref in XPointer range-to (Nick Wellnhofer)
2617
2618 - Improvements:
2619 Updating the spec file to reflect Fedora 24 (Daniel Veillard),
2620 Add const in five places to move 1 KiB to .rdata (Bruce Dawson),
2621 Fix missing part of comment for function xmlXPathEvalExpression() (Daniel Veillard),
2622 Get rid of "blanks wrapper" for parameter entities (Nick Wellnhofer),
2623 Simplify handling of parameter entity references (Nick Wellnhofer),
2624 Deduplicate code in encoding.c (Nick Wellnhofer),
2625 Make HTML parser functions take const pointers (Nick Wellnhofer),
2626 Build test programs only when needed (Nick Wellnhofer),
2627 Fix doc/examples/index.py (Nick Wellnhofer),
2628 Fix compiler warnings in threads.c (Nick Wellnhofer),
2629 Fix empty-body warning in nanohttp.c (Nick Wellnhofer),
2630 Fix cast-align warnings (Nick Wellnhofer),
2631 Fix unused-parameter warnings (Nick Wellnhofer),
2632 Rework entity boundary checks (Nick Wellnhofer),
2633 Don't switch encoding for internal parameter entities (Nick Wellnhofer),
2634 Merge duplicate code paths handling PE references (Nick Wellnhofer),
2635 Test SAX2 callbacks with entity substitution (Nick Wellnhofer),
2636 Support catalog and threads tests under --without-sax1 (Nick Wellnhofer),
2637 Misc fixes for 'make tests' (Nick Wellnhofer),
2638 Initialize keepBlanks in HTML parser (Nick Wellnhofer),
2639 Add test cases for bug 758518 (David Kilzer),
2640 Fix compiler warning in htmlParseElementInternal (Nick Wellnhofer),
2641 Remove useless check in xmlParseAttributeListDecl (Nick Wellnhofer),
2642 Allow zero sized memory input buffers (Nick Wellnhofer),
2643 Add TODO comment in xmlSwitchEncoding (Nick Wellnhofer),
2644 Check for integer overflow in xmlXPathFormatNumber (Nick Wellnhofer),
2645 Make Travis print UBSan stacktraces (Nick Wellnhofer),
2646 Add .travis.yml (Nick Wellnhofer),
2647 Fix expected error output in Python tests (Nick Wellnhofer),
2648 Simplify control flow in xmlParseStartTag2 (Nick Wellnhofer),
2649 Disable LeakSanitizer when running API tests (Nick Wellnhofer),
2650 Avoid out-of-bound array access in API tests (Nick Wellnhofer),
2651 Avoid spurious UBSan errors in parser.c (Nick Wellnhofer),
2652 Parse small XPath numbers more accurately (Nick Wellnhofer),
2653 Rework XPath rounding functions (Nick Wellnhofer),
2654 Fix white space in test output (Nick Wellnhofer),
2655 Fix axis traversal from attribute and namespace nodes (Nick Wellnhofer),
2656 Check for trailing characters in XPath expressions earlier (Nick Wellnhofer),
2657 Rework final handling of XPath results (Nick Wellnhofer),
2658 Make xmlXPathEvalExpression call xmlXPathEval (Nick Wellnhofer),
2659 Remove unused variables (Nick Wellnhofer),
2660 Don't print generic error messages in XPath tests (Nick Wellnhofer)
2661
2662 - Cleanups:
2663 Fix a couple of misleading indentation errors (Daniel Veillard),
2664 Remove unnecessary calls to xmlPopInput (Nick Wellnhofer)
2665
2666
2667
2668 2.9.4: May 23 2016:
2669 - Security:
2670 More format string warnings with possible format string vulnerability (David Kilzer),
2671 Avoid building recursive entities (Daniel Veillard),
2672 Heap-based buffer overread in htmlCurrentChar (Pranjal Jumde),
2673 Heap-based buffer-underreads due to xmlParseName (David Kilzer),
2674 Heap use-after-free in xmlSAX2AttributeNs (Pranjal Jumde),
2675 Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral (Pranjal Jumde),
2676 Fix some format string warnings with possible format string vulnerability (David Kilzer),
2677 Detect change of encoding when parsing HTML names (Hugh Davenport),
2678 Fix inappropriate fetch of entities content (Daniel Veillard),
2679 Bug 759398: Heap use-after-free in xmlDictComputeFastKey <https://bugzilla.gnome.org/show_bug.cgi?id=759398> (Pranjal Jumde),
2680 Bug 758605: Heap-based buffer overread in xmlDictAddString <https://bugzilla.gnome.org/show_bug.cgi?id=758605> (Pranjal Jumde),
2681 Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnome.org/show_bug.cgi?id=758588> (David Kilzer),
2682 Bug 757711: heap-buffer-overflow in xmlFAParsePosCharGroup <https://bugzilla.gnome.org/show_bug.cgi?id=757711> (Pranjal Jumde),
2683 Add missing increments of recursion depth counter to XML parser. (Peter Simons)
2684
2685 - Documentation:
2686 Fix typo: s{ ec -> cr }cipt (Jan Pokorný),
2687 Fix typos: dictio{ nn -> n }ar{y,ies} (Jan Pokorný),
2688 Fix typos: PATH_{ SEAPARATOR -> SEPARATOR } (Jan Pokorný),
2689 Correct a typo. (Shlomi Fish)
2690
2691 - Portability:
2692 Correct the usage of LDFLAGS (Mattias Hansson),
2693 Revert the use of SAVE_LDFLAGS in configure.ac (Mattias Hansson),
2694 libxml2 hardcodes -L/lib in zlib/lzma tests which breaks cross-compiles (Mike Frysinger),
2695 Fix apibuild for a recently added construct (Daniel Veillard),
2696 Use pkg-config to locate zlib when possible (Stewart Brodie),
2697 Use pkg-config to locate ICU when possible (Stewart Brodie),
2698 Portability to non C99 compliant compilers (Patrick Monnerat),
2699 dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. (Patrick Monnerat),
2700 os400: tell about xmllint and xmlcatalog in README400. (Patrick Monnerat),
2701 os400: properly process SGML add in XMLCATALOG command. (Patrick Monnerat),
2702 os400: implement CL command XMLCATALOG. (Patrick Monnerat),
2703 os400: compile and install program xmlcatalog (qshell-only). (Patrick Monnerat),
2704 os400: expand tabs in sources, strip trailing blanks. (Patrick Monnerat),
2705 os400: implement CL command XMLLINT. (Patrick Monnerat),
2706 os400: compile and install program xmllint (qshell-only). (Patrick Monnerat),
2707 os400: initscript make_module(): Use options instead of positional parameters. (Patrick Monnerat),
2708 os400: c14n.rpgle: allow *omit for nullable reference parameters. (Patrick Monnerat),
2709 os400: use like() for double type. (Patrick Monnerat),
2710 os400: use like() for int type. (Patrick Monnerat),
2711 os400: use like() for unsigned int type. (Patrick Monnerat),
2712 os400: use like() for enum types. (Patrick Monnerat),
2713 Add xz to xml2-config --libs output (Baruch Siach),
2714 Bug 760190: configure.ac should be able to build --with-icu without icu-config tool <https://bugzilla.gnome.org/show_bug.cgi?id=760190> (David Kilzer),
2715 win32\VC10\config.h and VS 2015 (Bruce Dawson),
2716 Add configure maintainer mode (orzen)
2717
2718 - Bug Fixes:
2719 Avoid an out of bound access when serializing malformed strings (Daniel Veillard),
2720 Unsigned addition may overflow in xmlMallocAtomicLoc() (David Kilzer),
2721 Integer signed/unsigned type mismatch in xmlParserInputGrow() (David Kilzer),
2722 Bug 763071: heap-buffer-overflow in xmlStrncat <https://bugzilla.gnome.org/show_bug.cgi?id=763071> (Pranjal Jumde),
2723 Integer overflow parsing port number in URI (Michael Paddon),
2724 Fix an error with regexp on nullable counted char transition (Daniel Veillard),
2725 Fix memory leak with XPath namespace nodes (Nick Wellnhofer),
2726 Fix namespace axis traversal (Nick Wellnhofer),
2727 Fix null pointer deref in docs with no root element (Hugh Davenport),
2728 Fix XSD validation of URIs with ampersands (Alex Henrie),
2729 xmlschemastypes.c: accept endOfDayFrag Times set to "24:00:00" mean "end of day" and should not cause an error. (Patrick Monnerat),
2730 xmlcatalog: flush stdout before interactive shell input. (Patrick Monnerat),
2731 xmllint: flush stdout before interactive shell input. (Patrick Monnerat),
2732 Don't recurse into OP_VALUEs in xmlXPathOptimizeExpression (Nick Wellnhofer),
2733 Fix namespace::node() XPath expression (Nick Wellnhofer),
2734 Fix OOB write in xmlXPathEmptyNodeSet (Nick Wellnhofer),
2735 Fix parsing of NCNames in XPath (Nick Wellnhofer),
2736 Fix OOB read with invalid UTF-8 in xmlUTF8Strsize (Nick Wellnhofer),
2737 Do normalize string-based datatype value in RelaxNG facet checking (Audric Schiltknecht),
2738 Bug 760921: REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths" <https://bugzilla.gnome.org/show_bug.cgi?id=760921> (David Kilzer),
2739 Bug 760861: REGRESSION (bf9c1dad): Missing results for test/schemas/regexp-char-ref_[01].xsd <https://bugzilla.gnome.org/show_bug.cgi?id=760861> (David Kilzer),
2740 error.c: *input->cur == 0 does not mean no error (Pavel Raiskup),
2741 Add missing RNG test files (David Kilzer),
2742 Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183> (David Kilzer),
2743 Bug 758572: ASAN crash in make check <https://bugzilla.gnome.org/show_bug.cgi?id=758572> (David Kilzer),
2744 Bug 721158: Missing ICU string when doing --version on xmllint <https://bugzilla.gnome.org/show_bug.cgi?id=721158> (David Kilzer),
2745 python 3: libxml2.c wrappers create Unicode str already (Michael Stahl),
2746 Add autogen.sh to distrib (orzen),
2747 Heap-based buffer overread in xmlNextChar (Daniel Veillard)
2748
2749 - Improvements:
2750 Add more debugging info to runtest (Daniel Veillard),
2751 Implement "runtest -u" mode (David Kilzer),
2752 Add a make rule to rebuild for ASAN (Daniel Veillard)
2753
2754
2755
2756 v2.9.3: Nov 20 2015:
2757 - Security:
2758 CVE-2015-8242 Buffer overead with HTML parser in push mode (Hugh Davenport),
2759 CVE-2015-7500 Fix memory access error due to incorrect entities boundaries (Daniel Veillard),
2760 CVE-2015-7499-2 Detect incoherency on GROW (Daniel Veillard),
2761 CVE-2015-7499-1 Add xmlHaltParser() to stop the parser (Daniel Veillard),
2762 CVE-2015-5312 Another entity expansion issue (David Drysdale),
2763 CVE-2015-7497 Avoid an heap buffer overflow in xmlDictComputeFastQKey (David Drysdale),
2764 CVE-2015-7498 Avoid processing entities after encoding conversion failures (Daniel Veillard),
2765 CVE-2015-8035 Fix XZ compression support loop (Daniel Veillard),
2766 CVE-2015-7942-2 Fix an error in previous Conditional section patch (Daniel Veillard),
2767 CVE-2015-7942 Another variation of overflow in Conditional sections (Daniel Veillard),
2768 CVE-2015-1819 Enforce the reader to run in constant memory (Daniel Veillard)
2769 CVE-2015-7941_2 Cleanup conditional section error handling (Daniel Veillard),
2770 CVE-2015-7941_1 Stop parsing on entities boundaries errors (Daniel Veillard),
2771
2772 - Documentation:
2773 Correct spelling of "calling" (Alex Henrie),
2774 Fix a small error in xmllint --format description (Fabien Degomme),
2775 Avoid XSS on the search of xmlsoft.org (Daniel Veillard)
2776
2777 - Portability:
2778 threads: use forward declarations only for glibc (Michael Heimpold),
2779 Update Win32 configure.js to search for configure.ac (Daniel Veillard)
2780
2781 - Bug Fixes:
2782 Bug on creating new stream from entity (Daniel Veillard),
2783 Fix some loop issues embedding NEXT (Daniel Veillard),
2784 Do not print error context when there is none (Daniel Veillard),
2785 Avoid extra processing of MarkupDecl when EOF (Hugh Davenport),
2786 Fix parsing short unclosed comment uninitialized access (Daniel Veillard),
2787 Add missing Null check in xmlParseExternalEntityPrivate (Gaurav Gupta),
2788 Fix a bug in CData error handling in the push parser (Daniel Veillard),
2789 Fix a bug on name parsing at the end of current input buffer (Daniel Veillard),
2790 Fix the spurious ID already defined error (Daniel Veillard),
2791 Fix previous change to node sort order (Nick Wellnhofer),
2792 Fix a self assignment issue raised by clang (Scott Graham),
2793 Fail parsing early on if encoding conversion failed (Daniel Veillard),
2794 Do not process encoding values if the declaration if broken (Daniel Veillard),
2795 Silence clang's -Wunknown-attribute (Michael Catanzaro),
2796 xmlMemUsed is not thread-safe (Martin von Gagern),
2797 Fix support for except in nameclasses (Daniel Veillard),
2798 Fix order of root nodes (Nick Wellnhofer),
2799 Allow attributes on descendant-or-self axis (Nick Wellnhofer),
2800 Fix the fix to Windows locking (Steve Nairn),
2801 Fix timsort invariant loop re: Envisage article (Christopher Swenson),
2802 Don't add IDs in xmlSetTreeDoc (Nick Wellnhofer),
2803 Account for ID attributes in xmlSetTreeDoc (Nick Wellnhofer),
2804 Remove various unused value assignments (Philip Withnall),
2805 Fix missing entities after CVE-2014-3660 fix (Daniel Veillard),
2806 Revert "Missing initialization for the catalog module" (Daniel Veillard)
2807
2808 - Improvements:
2809 Reuse xmlHaltParser() where it makes sense (Daniel Veillard),
2810 xmlStopParser reset errNo (Daniel Veillard),
2811 Re-enable xz support by default (Daniel Veillard),
2812 Recover unescaped less-than character in HTML recovery parsing (Daniel Veillard),
2813 Allow HTML serializer to output HTML5 DOCTYPE (Shaun McCance),
2814 Regression test for bug #695699 (Nick Wellnhofer),
2815 Add a couple of XPath tests (Nick Wellnhofer),
2816 Add Python 3 rpm subpackage (Tomas Radej),
2817 libxml2-config.cmake.in: update include directories (Samuel Martin),
2818 Adding example from bugs 738805 to regression tests (Daniel Veillard)
2819
2820 - Cleanups:
2821
2822
2823
2824 2.9.2: Oct 16 2014:
2825 - Security:
2826 Fix for CVE-2014-3660 billion laugh variant (Daniel Veillard),
2827 CVE-2014-0191 Do not fetch external parameter entities (Daniel Veillard)
2828
2829 - Bug Fixes:
2830 fix memory leak xml header encoding field with XML_PARSE_IGNORE_ENC (Bart De Schuymer),
2831 xmlmemory: handle realloc properly (Yegor Yefremov),
2832 Python generator bug raised by the const change (Daniel Veillard),
2833 Windows Critical sections not released correctly (Daniel Veillard),
2834 Parser error on repeated recursive entity expansion containing &lt; (Daniel Veillard),
2835 xpointer : fixing Null Pointers (Gaurav Gupta),
2836 Remove Unnecessary Null check in xpointer.c (Gaurav Gupta),
2837 parser bug on misformed namespace attributes (Dennis Filder),
2838 Pointer dereferenced before null check (Daniel Veillard),
2839 Leak of struct addrinfo in xmlNanoFTPConnect() (Gaurav Gupta),
2840 Possible overflow in HTMLParser.c (Daniel Veillard),
2841 python/tests/sync.py assumes Python dictionaries are ordered (John Beck),
2842 Fix Enum check and missing break (Gaurav Gupta),
2843 xmlIO: Handle error returns from dup() (Philip Withnall),
2844 Fix a problem properly saving URIs (Daniel Veillard),
2845 wrong error column in structured error when parsing attribute values (Juergen Keil),
2846 wrong error column in structured error when skipping whitespace in xml decl (Juergen Keil),
2847 no error column in structured error handler for xml schema validation errors (Juergen Keil),
2848 Couple of Missing Null checks (Gaurav Gupta),
2849 Add couple of missing Null checks (Daniel Veillard),
2850 xmlschemastypes: Fix potential array overflow (Philip Withnall),
2851 runtest: Fix a memory leak on parse failure (Philip Withnall),
2852 xmlIO: Fix an FD leak on gzdopen() failure (Philip Withnall),
2853 xmlcatalog: Fix a memory leak on quit (Philip Withnall),
2854 HTMLparser: Correctly initialise a stack allocated structure (Philip Withnall),
2855 Check for tmon in _xmlSchemaDateAdd() is incorrect (David Kilzer),
2856 Avoid Possible Null Pointer in trio.c (Gaurav Gupta),
2857 Fix processing in SAX2 in case of an allocation failure (Daniel Veillard),
2858 XML Shell command "cd" does not handle "/" at end of path (Daniel Veillard),
2859 Fix various Missing Null checks (Gaurav Gupta),
2860 Fix a potential NULL dereference (Daniel Veillard),
2861 Add a couple of misisng check in xmlRelaxNGCleanupTree (Gaurav Gupta),
2862 Add a missing argument check (Gaurav Gupta),
2863 Adding a check in case of allocation error (Gaurav Gupta),
2864 xmlSaveUri() incorrectly recomposes URIs with rootless paths (Dennis Filder),
2865 Adding some missing NULL checks (Gaurav),
2866 Fixes for xmlInitParserCtxt (Daniel Veillard),
2867 Fix regressions introduced by CVE-2014-0191 patch (Daniel Veillard),
2868 erroneously ignores a validation error if no error callback set (Daniel Veillard),
2869 xmllint was not parsing the --c14n11 flag (Sérgio Batista),
2870 Avoid Possible null pointer dereference in memory debug mode (Gaurav),
2871 Avoid Double Null Check (Gaurav),
2872 Restore context size and position after XPATH_OP_ARG (Nick Wellnhofer),
2873 Fix xmlParseInNodeContext() if node is not element (Daniel Veillard),
2874 Avoid a possible NULL pointer dereference (Gaurav),
2875 Fix xmlTextWriterWriteElement when a null content is given (Daniel Veillard),
2876 Fix an typo 'onrest' in htmlScriptAttributes (Daniel Veillard),
2877 fixing a ptotential uninitialized access (Daniel Veillard),
2878 Fix an fd leak in an error case (Daniel Veillard),
2879 Missing initialization for the catalog module (Daniel Veillard),
2880 Handling of XPath function arguments in error case (Nick Wellnhofer),
2881 Fix a couple of missing NULL checks (Gaurav),
2882 Avoid a possibility of dangling encoding handler (Gaurav),
2883 Fix HTML push parser to accept HTML_PARSE_NODEFDTD (Arnold Hendriks),
2884 Fix a bug loading some compressed files (Mike Alexander),
2885 Fix XPath node comparison bug (Gaurav),
2886 Type mismatch in xmlschemas.c (Gaurav),
2887 Type mismatch in xmlschemastypes.c (Gaurav),
2888 Avoid a deadcode in catalog.c (Daniel Veillard),
2889 run close socket on Solaris, same as we do on other platforms (Denis Pauk),
2890 Fix pointer dereferenced before null check (Gaurav),
2891 Fix a potential NULL dereference in tree code (Daniel Veillard),
2892 Fix potential NULL pointer dereferences in regexp code (Gaurav),
2893 xmllint --pretty crashed without following numeric argument (Tim Galeckas),
2894 Fix XPath expressions of the form '@ns:*' (Nick Wellnhofer),
2895 Fix XPath '//' optimization with predicates (Nick Wellnhofer),
2896 Clear up a potential NULL dereference (Daniel Veillard),
2897 Fix a possible NULL dereference (Gaurav),
2898 Avoid crash if allocation fails (Daniel Veillard),
2899 Remove occasional leading space in XPath number formatting (Daniel Veillard),
2900 Fix handling of mmap errors (Daniel Veillard),
2901 Catch malloc error and exit accordingly (Daniel Veillard),
2902 missing else in xlink.c (Ami Fischman),
2903 Fix a parsing bug on non-ascii element and CR/LF usage (Daniel Veillard),
2904 Fix a regression in xmlGetDocCompressMode() (Daniel Veillard),
2905 properly quote the namespace uris written out during c14n (Aleksey Sanin),
2906 Remove premature XInclude check on URI being relative (Alexey Neyman),
2907 Fix missing break on last() function for attributes (dcb),
2908 Do not URI escape in server side includes (Romain Bondue),
2909 Fix an error in xmlCleanupParser (Alexander Pastukhov)
2910
2911 - Documentation:
2912 typo in error messages "colon are forbidden from..." (Daniel Veillard),
2913 Fix a link to James SAX documentation old page (Daniel Veillard),
2914 Fix typos in relaxng.c (Jan Pokorný),
2915 Fix a doc typo (Daniel Veillard),
2916 Fix typos in {tree,xpath}.c (errror) (Jan Pokorný),
2917 Add limitations about encoding conversion (Daniel Veillard),
2918 Fix typos in xmlschemas{,types}.c (Jan Pokorný),
2919 Fix incorrect spelling entites->entities (Jan Pokorný),
2920 Forgot to document 2.9.1 release, regenerate docs (Daniel Veillard)
2921
2922 - Portability:
2923 AC_CONFIG_FILES and executable bit (Roumen Petrov),
2924 remove HAVE_CONFIG_H dependency in testlimits.c (Roumen Petrov),
2925 fix some tabs mixing incompatible with python3 (Roumen Petrov),
2926 Visual Studio 14 CTP defines snprintf() (Francis Dupont),
2927 OS400: do not try to copy unexisting doc files (Patrick Monnerat),
2928 OS400: use either configure.ac or configure.in. (Patrick Monnerat),
2929 os400: make-src.sh: create physical file with target CCSID (Patrick Monnerat),
2930 OS400: Add some more C macros equivalent procedures. (Patrick Monnerat),
2931 OS400: use C macros to implement equivalent RPG support procedures. (Patrick Monnerat),
2932 OS400: implement XPath macros as procedures for ILE/RPG support. (Patrick Monnerat),
2933 OS400: include in distribution tarball. (Patrick Monnerat),
2934 OS400: Add README: compilation directives and OS/400 specific stuff. (Patrick Monnerat),
2935 OS400: Add compilation scripts. (Patrick Monnerat),
2936 OS400: ILE RPG language header files. (Patrick Monnerat),
2937 OS400: implement some macros as functions for ILE/RPG language support (that as no macros). (Patrick Monnerat),
2938 OS400: UTF8<-->EBCDIC wrappers for system and external library calls (Patrick Monnerat),
2939 OS400: Easy character transcoding support (Patrick Monnerat),
2940 OS400: iconv functions compatibility wrappers and table builder. (Patrick Monnerat),
2941 OS400: create architecture directory. Implement dlfcn emulation. (Patrick Monnerat),
2942 Fix building when configuring without xpath and xptr (Daniel Veillard),
2943 configure: Add --with-python-install-dir (Jonas Eriksson),
2944 Fix compilation with minimum and xinclude. (Nicolas Le Cam),
2945 Compile out use of xmlValidateNCName() when not available. (Nicolas Le Cam),
2946 Fix compilation with minimum and schematron. (Nicolas Le Cam),
2947 Legacy needs xmlSAX2StartElement() and xmlSAX2EndElement(). (Nicolas Le Cam),
2948 Don't use xmlValidateName() when not available. (Nicolas Le Cam),
2949 Fix a portability issue on Windows (Longstreth Jon),
2950 Various portability patches for OpenVMS (Jacob (Jouk) Jansen),
2951 Use specific macros for portability to OS/400 (Patrick Monnerat),
2952 Add macros needed for OS/400 portability (Patrick Monnerat),
2953 Portability patch for fopen on OS/400 (Patrick Monnerat),
2954 Portability fixes for OS/400 (Patrick Monnerat),
2955 Improve va_list portability (Patrick Monnerat),
2956 Portability fix (Patrick Monnerat),
2957 Portability fix (Patrick Monnerat),
2958 Generic portability fix (Patrick Monnerat),
2959 Shortening lines in headers (Patrick Monnerat),
2960 build: Use pkg-config to find liblzma in preference to AC_CHECK_LIB (Philip Withnall),
2961 build: Add @LZMA_LIBS@ to libxml’s pkg-config files (Philip Withnall),
2962 fix some tabs mixing incompatible with python3 (Daniel Veillard),
2963 add additional defines checks for support "./configure --with-minimum" (Denis Pauk),
2964 Another round of fixes for older versions of Python (Arfrever Frehtes Taifersar Arahesis),
2965 python: fix drv_libxml2.py for python3 compatibility (Alexandre Rostovtsev),
2966 python: Fix compiler warnings when building python3 bindings (Armin K),
2967 Fix for compilation with python 2.6.8 (Petr Sumbera)
2968
2969 - Improvements:
2970 win32/libxml2.def.src after rebuild in doc (Roumen Petrov),
2971 elfgcchack.h: more legacy needs xmlSAX2StartElement() and xmlSAX2EndElement() (Roumen Petrov),
2972 elfgcchack.h: add xmlXPathNodeEval and xmlXPathSetContextNode (Roumen Petrov),
2973 Provide cmake module (Samuel Martin),
2974 Fix a couple of issues raised by make dist (Daniel Veillard),
2975 Fix and add const qualifiers (Kurt Roeckx),
2976 Preparing for upcoming release of 2.9.2 (Daniel Veillard),
2977 Fix zlib and lzma libraries check via command line (Dmitriy),
2978 wrong error column in structured error when parsing end tag (Juergen Keil),
2979 doc/news.html: small update to avoid line join while generating NEWS. (Patrick Monnerat),
2980 Add methods for python3 iterator (Ron Angeles),
2981 Support element node traversal in document fragments. (Kyle VanderBeek),
2982 xmlNodeSetName: Allow setting the name to a substring of the currently set name (Tristan Van Berkom),
2983 Added macros for argument casts (Eric Zurcher),
2984 adding init calls to xml and html Read parsing entry points (Daniel Veillard),
2985 Get rid of 'REPLACEMENT CHARACTER' Unicode chars in xmlschemas.c (Jan Pokorný),
2986 Implement choice for name classes on attributes (Shaun McCance),
2987 Two small namespace tweaks (Daniel Veillard),
2988 xmllint --memory should fail on empty files (Daniel Veillard),
2989 Cast encoding name to char pointer to match arg type (Nikolay Sivov)
2990
2991 - Cleanups:
2992 Removal of old configure.in (Daniel Veillard),
2993 Unreachable code in tree.c (Gaurav Gupta),
2994 Remove a couple of dead conditions (Gaurav Gupta),
2995 Avoid some dead code and cleanup in relaxng.c (Gaurav),
2996 Drop not needed checks (Denis Pauk),
2997 Fix a wrong test (Daniel Veillard)
2998
2999
3000
3001 2.9.1: Apr 19 2013:
3002 - Features:
3003 Support for Python3 (Daniel Veillard),
3004 Add xmlXPathSetContextNode and xmlXPathNodeEval (Alex Bligh)
3005
3006 - Documentation:
3007 Add documentation for xmllint --xpath (Daniel Veillard),
3008 Fix the URL of the SAX documentation from James (Daniel Veillard),
3009 Fix spelling of "length". (Michael Wood)
3010
3011 - Portability:
3012 Fix python bindings with versions older than 2.7 (Daniel Veillard),
3013 rebuild docs:Makefile.am (Roumen Petrov),
3014 elfgcchack.h after rebuild in doc (Roumen Petrov),
3015 elfgcchack for buf module (Roumen Petrov),
3016 Fix a uneeded and wrong extra link parameter (Daniel Veillard),
3017 Few cleanup patches for Windows (Denis Pauk),
3018 Fix rpmbuild --nocheck (Mark Salter),
3019 Fix for win32/configure.js and WITH_THREAD_ALLOC (Daniel Richard),
3020 Fix Broken multi-arch support in xml2-config (Daniel Veillard),
3021 Fix a portability issue for GCC < 3.4.0 (Daniel Veillard),
3022 Windows build fixes (Daniel Richard),
3023 Fix a thread portability problem (Friedrich Haubensak),
3024 Downgrade autoconf requirement to 2.63 (Daniel Veillard)
3025
3026 - Bug Fixes:
3027 Fix a linking error for python bindings (Daniel Veillard),
3028 Fix a couple of return without value (Jüri Aedla),
3029 Improve the hashing functions (Daniel Franke),
3030 Improve handling of xmlStopParser() (Daniel Veillard),
3031 Remove risk of lockup in dictionary initialization (Daniel Veillard),
3032 Activate detection of encoding in external subset (Daniel Veillard),
3033 Fix an output buffer flushing conversion bug (Mikhail Titov),
3034 Fix an old bug in xmlSchemaValidateOneElement (Csaba László),
3035 Fix configure cannot remove messages (Gilles Espinasse),
3036 fix schema validation in combination with xsi:nil (Daniel Veillard),
3037 xmlCtxtReadFile doesn't work with literal IPv6 URLs (Steve Wolf),
3038 Fix a few problems with setEntityLoader (Alexey Neyman),
3039 Detect excessive entities expansion upon replacement (Daniel Veillard),
3040 Fix the flushing out of raw buffers on encoding conversions (Daniel,
3041 Veillard),
3042 Fix some buffer conversion issues (Daniel Veillard),
3043 When calling xmlNodeDump make sure we grow the buffer quickly (Daniel,
3044 Veillard),
3045 Fix an error in the progressive DTD parsing code (Dan Winship),
3046 xmllint should not load DTD by default when using the reader (Daniel,
3047 Veillard),
3048 Try IBM-037 when looking for EBCDIC handlers (Petr Sumbera),
3049 Fix potential out of bound access (Daniel Veillard),
3050 Fix large parse of file from memory (Daniel Veillard),
3051 Fix a bug in the nsclean option of the parser (Daniel Veillard),
3052 Fix a regression in 2.9.0 breaking validation while streaming (Daniel,
3053 Veillard),
3054 Remove potential calls to exit() (Daniel Veillard)
3055
3056 - Improvements:
3057 Regenerated API, and testapi, rebuild documentation (Daniel Veillard),
3058 Fix tree iterators broken by 2to3 script (Daniel Veillard),
3059 update all tests for Python3 and Python2 (Daniel Veillard),
3060 A few more fixes for python 3 affecting libxml2.py (Daniel Veillard),
3061 Fix compilation on Python3 (Daniel Veillard),
3062 Converting apibuild.py to python3 (Daniel Veillard),
3063 First pass at starting porting to python3 (Daniel Veillard),
3064 updated configure.in for python3 (Daniel Veillard),
3065 Add support for xpathRegisterVariable in Python (Shaun McCance),
3066 Added a regression tests from bug 694228 data (Daniel Veillard),
3067 Cache presence of '<' in entities content (Daniel Veillard),
3068 Avoid extra processing on entities (Daniel Veillard),
3069 Python binding for xmlRegisterInputCallback (Alexey Neyman),
3070 Python bindings: DOM casts everything to xmlNode (Alexey Neyman),
3071 Define LIBXML_THREAD_ALLOC_ENABLED via xmlversion.h (Tim Starling),
3072 Adding streaming validation to runtest checks (Daniel Veillard),
3073 Add a --pushsmall option to xmllint (Daniel Veillard)
3074
3075 - Cleanups:
3076 Switched comment in file to UTF-8 encoding (Daniel Veillard),
3077 Extend gitignore (Daniel Veillard),
3078 Silent the new python test on input (Alexey Neyman),
3079 Cleanup of a duplicate test (Daniel Veillard),
3080 Cleanup on duplicate test expressions (Daniel Veillard),
3081 Fix compiler warning after 153cf15905cf4ec080612ada6703757d10caba1e (Patrick,
3082 Gansterer),
3083 Spec cleanups and a fix for multiarch support (Daniel Veillard),
3084 Silence a clang warning (Daniel Veillard),
3085 Cleanup the Copyright to be pure MIT Licence wording (Daniel Veillard),
3086 rand_seed should be static in dict.c (Wouter Van Rooy),
3087 Fix typos in parser comments (Jan Pokorný)
3088
3089
3090
3091 2.9.0: Sep 11 2012:
3092 - Features:
3093 A few new API entry points,
3094 More resilient push parser mode,
3095 A lot of portability improvement,
3096 Faster XPath evaluation
3097
3098 - Documentation:
3099 xml2-config.1 markup error (Christian Weisgerber),
3100 libxml(3) manpage typo fix (John Bradshaw),
3101 More cleanups to the documentation part of libxml2 (Daniel Richard G)
3102
3103 - Portability:
3104 Bug 676544 - fails to build with --without-sax1 (Akira TAGOH),
3105 fix builds not having stdint.h (Rob Richards),
3106 GetProcAddressA is available only on WinCE (Daniel Veillard),
3107 More updates and cleanups on autotools and Makefiles (Daniel Richard G),
3108 More changes for Win32 compilation (Eric Zurcher),
3109 Basic changes for Win32 builds of release 2.9.0: compile buf.c (Eric Zurcher),
3110 Bundles all generated files for python into the distribution (Daniel Richard G),
3111 Fix compiler warnings of wincecompat.c (Patrick Gansterer),
3112 Fix non __GNUC__ build (Patrick Gansterer),
3113 Fix windows unicode build (Patrick Gansterer),
3114 clean redefinition of {v}snprintf in C-source (Roumen Petrov),
3115 use xmlBuf... if DEBUG_INPUT is defined (Roumen Petrov),
3116 fix runtests to use pthreads support for various Unix platforms (Daniel Richard G),
3117 Various "make distcheck" and portability fixups 2nd part (Daniel Richard G),
3118 Various "make distcheck" and portability fixups (Daniel Richard G),
3119 Fix compilation on older Visual Studio (Daniel Veillard)
3120
3121 - Bug Fixes:
3122 Change the XPath code to percolate allocation errors (Daniel Veillard),
3123 Fix reuse of xmlInitParser (Daniel Veillard),
3124 Fix potential crash on entities errors (Daniel Veillard),
3125 initialize var (Rob Richards),
3126 Fix the XPath arity check to also check the XPath stack limits (Daniel Veillard),
3127 Fix problem with specific and generic error handlers (Pietro Cerutti),
3128 Avoid a potential infinite recursion (Daniel Veillard),
3129 Fix an XSD error when generating internal automata (Daniel Veillard),
3130 Patch for xinclude of text using multibyte characters (Vitaly Ostanin),
3131 Fix a segfault on XSD validation on pattern error (Daniel Veillard),
3132 Fix missing xmlsave.h module which was ignored in recent builds (Daniel Veillard),
3133 Add a missing element check (Daniel Veillard),
3134 Adding various checks on node type though the API (Daniel Veillard),
3135 Namespace nodes can't be unlinked with xmlUnlinkNode (Daniel Veillard),
3136 Fix make dist to include new private header files (Daniel Veillard),
3137 More fixups on the push parser behaviour (Daniel Veillard),
3138 Strengthen behaviour of the push parser in problematic situations (Daniel Veillard),
3139 Enforce XML_PARSER_EOF state handling through the parser (Daniel Veillard),
3140 Fixup limits parser (Daniel Veillard),
3141 Do not fetch external parsed entities (Daniel Veillard),
3142 Fix an error in previous commit (Aron Xu),
3143 Fix entities local buffers size problems (Daniel Veillard),
3144 Fix parser local buffers size problems (Daniel Veillard),
3145 Fix a failure to report xmlreader parsing failures (Daniel Veillard)
3146
3147 - Improvements:
3148 Keep libxml2.syms when running "make distclean" (Daniel Veillard),
3149 Allow to set the quoting character of an xmlWriter (Csaba Raduly),
3150 Keep non-significant blanks node in HTML parser (Daniel Veillard),
3151 Add a forbidden variable error number and message to XPath (Daniel Veillard),
3152 Support long path names on WNT (Michael Stahl),
3153 Improve HTML escaping of attribute on output (Daniel Veillard),
3154 Handle ICU_LIBS as LIBADD, not LDFLAGS to prevent linking errors (Arfrever Frehtes Taifersar Arahesis),
3155 Switching XPath node sorting to Timsort (Vojtech Fried),
3156 Optimizing '//' in XPath expressions (Nick Wellnhofer),
3157 Expose xmlBufShrink in the public tree API (Daniel Veillard),
3158 Visible HTML elements close the head tag (Conrad Irwin),
3159 Fix file and line report for XSD SAX and reader streaming validation (Daniel Veillard),
3160 Fix const qualifyer to definition of xmlBufferDetach (Daniel Veillard),
3161 minimize use of HAVE_CONFIG_H (Roumen Petrov),
3162 fixup regression in Various "make distcheck" and portability fixups (Roumen Petrov),
3163 Add support for big line numbers in error reporting (Daniel Veillard),
3164 Avoid using xmlBuffer for serialization (Daniel Veillard),
3165 Improve compatibility between xmlBuf and xmlBuffer (Daniel Veillard),
3166 Provide new accessors for xmlOutputBuffer (Daniel Veillard),
3167 Improvements for old buffer compatibility (Daniel Veillard),
3168 Expand the limit test program (Daniel Veillard),
3169 Improve error reporting on parser errors (Daniel Veillard),
3170 Implement some default limits in the XPath module (Daniel Veillard),
3171 Introduce some default parser limits (Daniel Veillard),
3172 Cleanups and new limit APIs for dictionaries (Daniel Veillard),
3173 Fixup for buf.c (Daniel Veillard),
3174 Cleanup URI module memory allocation code (Daniel Veillard),
3175 Extend testlimits (Daniel Veillard),
3176 More avoid quadratic behaviour (Daniel Veillard),
3177 Impose a reasonable limit on PI size (Daniel Veillard),
3178 first version of testlimits new test (Daniel Veillard),
3179 Avoid quadratic behaviour in some push parsing cases (Daniel Veillard),
3180 Impose a reasonable limit on comment size (Daniel Veillard),
3181 Impose a reasonable limit on attribute size (Daniel Veillard),
3182 Harden the buffer code and make it more compatible (Daniel Veillard),
3183 More cleanups for input/buffers code (Daniel Veillard),
3184 Cleanup function xmlBufResetInput(), to set input from Buffer (Daniel Veillard)
3185 Switch the test program for characters to new input buffers (Daniel Veillard),
3186 Convert the HTML tree module to the new buffers (Daniel Veillard),
3187 Convert of the HTML parser to new input buffers (Daniel Veillard),
3188 Convert the writer to new output buffer and save APIs (Daniel Veillard),
3189 Convert XMLReader to the new input buffers (Daniel Veillard),
3190 New saving functions using xmlBuf and conversion (Daniel Veillard),
3191 Provide new xmlBuf based saving functions (Daniel Veillard),
3192 Convert XInclude to the new input buffers (Daniel Veillard),
3193 Convert catalog code to the new input buffers (Daniel Veillard),
3194 Convert C14N to the new Input buffer (Daniel Veillard),
3195 Convert xmlIO.c to the new input and output buffers (Daniel Veillard),
3196 Convert XML parser to the new input buffers (Daniel Veillard),
3197 Incompatible change to the Input and Output buffers (Daniel Veillard),
3198 Adding new encoding function to deal with the new structures (Daniel Veillard),
3199 Convert XPath to xmlBuf (Daniel Veillard),
3200 Adding a new buf module for buffers (Daniel Veillard),
3201 Memory error within SAX2 reuse common framework (Daniel Veillard),
3202 Fix xmllint --xpath node initialization (Daniel Veillard)
3203
3204 - Cleanups:
3205 Various cleanups to avoid compiler warnings (Daniel Veillard),
3206 Big space and tab cleanup (Daniel Veillard),
3207 Followup to LibXML2 docs/examples cleanup patch (Daniel Veillard),
3208 Second round of cleanups for LibXML2 docs/examples (Daniel Richard),
3209 Remove all .cvsignore as they are not used anymore (Daniel Veillard),
3210 Fix a Timsort function helper comment (Daniel Veillard),
3211 Small cleanup for valgrind target (Daniel Veillard),
3212 Patch for portability of latin characters in C files (Daniel Veillard),
3213 Cleanup some of the parser code (Daniel Veillard),
3214 Fix a variable name in comment (Daniel Veillard),
3215 Regenerated testapi.c (Daniel Veillard),
3216 Regenerating docs and API files (Daniel Veillard),
3217 Small cleanup of unused variables in test (Daniel Veillard),
3218 Expand .gitignore with more files (Daniel Veillard)
3219
3220
3221
3222 2.8.0: May 23 2012:
3223 - Features:
3224 add lzma compression support (Anders F Bjorklund)
3225
3226 - Documentation:
3227 xmlcatalog: Add uri and delegateURI to possible add types in man page. (Ville Skyttä),
3228 Update README.tests (Daniel Veillard),
3229 URI handling code is not OOM resilient (Daniel Veillard),
3230 Fix an error in comment (Daniel Veillard),
3231 Fixed bug #617016 (Daniel Mustieles),
3232 Fixed two typos in the README document (Daniel Neel),
3233 add generated html files (Anders F Bjorklund),
3234 Clarify the need to use xmlFreeNode after xmlUnlinkNode (Daniel Veillard),
3235 Improve documentation a bit (Daniel Veillard),
3236 Updated URL for lxml python bindings (Daniel Veillard)
3237
3238 - Portability:
3239 Restore code for Windows compilation (Daniel Veillard),
3240 Remove git error message during configure (Christian Dywan),
3241 xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY) (Patrick R. Gansterer),
3242 remove a bashism in confgure.in (John Hein),
3243 undef ERROR if already defined (Patrick R. Gansterer),
3244 Fix library problems with mingw-w64 (Michael Cronenworth),
3245 fix windows build. ifdef addition from bug 666491 makes no sense (Rob Richards),
3246 prefer native threads on win32 (Sam Thursfield),
3247 Allow to compile with Visual Studio 2010 (Thomas Lemm),
3248 Fix mingw's snprintf configure check (Andoni Morales),
3249 fixed a 64bit big endian issue (Marcus Meissner),
3250 Fix portability failure if netdb.h lacks NO_ADDRESS (Daniel Veillard),
3251 Fix windows build from lzma addition (Rob Richards),
3252 autogen: Only check for libtoolize (Colin Walters),
3253 Fix the Windows build files (Patrick von Reth),
3254 634846 Remove a linking option breaking Windows VC10 (Daniel Veillard),
3255 599241 fix an initialization problem on Win64 (Andrew W. Nosenko),
3256 fix win build (Rob Richards)
3257
3258 - Bug fixes:
3259 Part for rand_r checking missing (Daniel Veillard),
3260 Cleanup on randomization (Daniel Veillard),
3261 Fix undefined reference in python module (Pacho Ramos),
3262 Fix a race in xmlNewInputStream (Daniel Veillard),
3263 Fix weird streaming RelaxNG errors (Noam),
3264 Fix various bugs in new code raised by the API checking (Daniel Veillard),
3265 Fix various problems with "make dist" (Daniel Veillard),
3266 Fix a memory leak in the xzlib code (Daniel Veillard),
3267 HTML parser error with <noscript> in the <head> (Denis Pauk),
3268 XSD: optional element in complex type extension (Remi Gacogne),
3269 Fix html serialization error and htmlSetMetaEncoding() (Daniel Veillard),
3270 Fix a wrong return value in previous patch (Daniel Veillard),
3271 Fix an uninitialized variable use (Daniel Veillard),
3272 Fix a compilation problem with --minimum (Brandon Slack),
3273 Remove redundant and ungarded include of resolv.h (Daniel Veillard),
3274 xinclude with parse="text" does not use the entity loader (Shaun McCance),
3275 Allow to parse 1 byte HTML files (Denis Pauk),
3276 Patch that fixes the skipping of the HTML_PARSE_NOIMPLIED flag (Martin Schröder),
3277 Avoid memory leak if xmlParserInputBufferCreateIO fails (Lin Yi-Li),
3278 Prevent an infinite loop when dumping a node with encoding problems (Timothy Elliott),
3279 xmlParseNodeInContext problems with an empty document (Tim Elliott),
3280 HTML element position is not detected properly (Pavel Andrejs),
3281 Fix an off by one pointer access (Jüri Aedla),
3282 Try to fix a problem with entities in SAX mode (Daniel Veillard),
3283 Fix a crash with xmllint --path on empty results (Daniel Veillard),
3284 Fixed bug #667946 (Daniel Mustieles),
3285 Fix a logic error in Schemas Component Constraints (Ryan Sleevi),
3286 Fix a wrong enum type use in Schemas Types (Nico Weber),
3287 Fix SAX2 builder in case of undefined attributes namespace (Daniel Veillard),
3288 Fix SAX2 builder in case of undefined element namespaces (Daniel Veillard),
3289 fix reference to STDOUT_FILENO on MSVC (Tay Ray Chuan),
3290 fix a pair of possible out of array char references (Daniel Veillard),
3291 Fix an allocation error when copying entities (Daniel Veillard),
3292 Make sure the parser returns when getting a Stop order (Chris Evans),
3293 Fix some potential problems on reallocation failures(parser.c) (Xia Xinfeng),
3294 Fix a schema type duration comparison overflow (Daniel Veillard),
3295 Fix an unimplemented part in RNG value validation (Daniel Veillard),
3296 Fix missing error status in XPath evaluation (Daniel Veillard),
3297 Hardening of XPath evaluation (Daniel Veillard),
3298 Fix an off by one error in encoding (Daniel Veillard),
3299 Fix RELAX NG include bug #655288 (Shaun McCance),
3300 Fix XSD validation bug #630130 (Toyoda Eizi),
3301 Fix some potential problems on reallocation failures (Chris Evans),
3302 __xmlRaiseError: fix use of the structured callback channel (Dmitry V. Levin),
3303 __xmlRaiseError: fix the structured callback channel's data initialization (Dmitry V. Levin),
3304 Fix memory corruption when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk (Rob Richards),
3305 Small fix for previous commit (Daniel Veillard),
3306 Fix a potential freeing error in XPath (Daniel Veillard),
3307 Fix a potential memory access error (Daniel Veillard),
3308 Reactivate the shared library versioning script (Daniel Veillard)
3309
3310 - Improvements:
3311 use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime (Roumen Petrov),
3312 New symbols added for the next release (Daniel Veillard),
3313 xmlTextReader bails too quickly on error (Andy Lutomirski),
3314 Use a hybrid allocation scheme in xmlNodeSetContent (Conrad Irwin),
3315 Use buffers when constructing string node lists. (Conrad Irwin),
3316 Add HTML parser support for HTML5 meta charset encoding declaration (Denis Pauk),
3317 wrong message for double hyphen in comment XML error (Bryan Henderson),
3318 Fix "make tst" to grab lzma lib too (Daniel Veillard),
3319 Add "whereis" command to xmllint shell (Ryan),
3320 Improve xmllint shell (Ryan),
3321 add function xmlTextReaderRelaxNGValidateCtxt() (Noam Postavsky),
3322 Add --system support to autogen.sh (Daniel Veillard),
3323 Add hash randomization to hash and dict structures (Daniel Veillard),
3324 included xzlib in dist (Anders F Bjorklund),
3325 move xz/lzma helpers to separate included files (Anders F Bjorklund),
3326 add generated devhelp files (Anders F Bjorklund),
3327 add XML_WITH_LZMA to api (Anders F Bjorklund),
3328 autogen.sh: Honor NOCONFIGURE environment variable (Colin Walters),
3329 Improve the error report on undefined REFs (Daniel Veillard),
3330 Add exception for new W3C PI xml-model (Daniel Veillard),
3331 Add options to ignore the internal encoding (Daniel Veillard),
3332 testapi: use the right type for the check (Stefan Kost),
3333 various: handle return values of write calls (Stefan Kost),
3334 testWriter: xmlTextWriterWriteFormatElement wants an int instead of a long int (Stefan Kost),
3335 runxmlconf: update to latest testsuite version (Stefan Kost),
3336 configure: add -Wno-long-long to CFLAGS (Stefan Kost),
3337 configure: support silent automake rules if possible (Stefan Kost),
3338 xmlmemory: add a cast as size_t has no portable printf modifier (Stefan Kost),
3339 __xmlRaiseError: remove redundant schannel initialization (Dmitry V. Levin),
3340 __xmlRaiseError: do cheap code check early (Dmitry V. Levin)
3341
3342 - Cleanups:
3343 Cleanups before 2.8.0-rc2 (Daniel Veillard),
3344 Avoid an extra operation (Daniel Veillard),
3345 Remove vestigial de-ANSI-fication support. (Javier Jardón),
3346 autogen.sh: Fix typo (Javier Jardón),
3347 Do not use unsigned but unsigned int (Daniel Veillard),
3348 Remove two references to u_short (Daniel Veillard),
3349 Fix -Wempty-body warning from clang (Nico Weber),
3350 Cleanups of lzma support (Daniel Veillard),
3351 Augment the list of ignored files (Daniel Veillard),
3352 python: remove unused variable (Stefan Kost),
3353 python: flag two unused args (Stefan Kost),
3354 configure: acconfig.h is deprecated since autoconf-2.50 (Stefan Kost),
3355 xpath: remove unused variable (Stefan Kost)
3356
3357
3358
3359 2.7.8: Nov 4 2010:
3360 - Features:
3361 480323 add code to plug in ICU converters by default (Giuseppe Iuculano),
3362 Add xmlSaveOption XML_SAVE_WSNONSIG (Adam Spragg)
3363
3364 - Documentation:
3365 Fix devhelp documentation installation (Mike Hommey),
3366 Fix web site encoding problems (Daniel Veillard),
3367 Fix a couple of typo in HTML parser error messages (Michael Day),
3368 Forgot to update the news page for 0.7.7 (Daniel Veillard)
3369
3370 - Portability:
3371 607273 Fix python detection on MSys/Windows (LRN),
3372 614087 Fix Socket API usage to allow Windows64 compilation (Ozkan Sezer),
3373 Fix compilation with Clang (Koop Mast),
3374 Fix Win32 build (Rob Richards)
3375
3376 - Bug Fixes:
3377 595789 fix a remaining potential Solaris problem (Daniel Veillard),
3378 617468 fix progressive HTML parsing with style using "'" (Denis Pauk),
3379 616478 Fix xmllint shell write command (Gwenn Kahz),
3380 614005 Possible erroneous HTML parsing on unterminated script (Pierre Belzile),
3381 627987 Fix XSD IDC errors in imported schemas (Jim Panetta),
3382 629325 XPath rounding errors first cleanup (Phil Shafer),
3383 630140 fix iso995x encoding error (Daniel Veillard),
3384 make sure htmlCtxtReset do reset the disableSAX field (Daniel Veillard),
3385 Fix a change of semantic on XPath preceding and following axis (Daniel Veillard),
3386 Fix a potential segfault due to weak symbols on pthreads (Mike Hommey),
3387 Fix a leak in XPath compilation (Daniel Veillard),
3388 Fix the semantic of XPath axis for namespace/attribute context nodes (Daniel Veillard),
3389 Avoid a descriptor leak in catalog loading code (Carlo Bramini),
3390 Fix a small bug in XPath evaluation code (Marius Wachtler),
3391 Fix handling of XML-1.0 XML namespace declaration (Daniel Veillard),
3392 Fix errors in XSD double validation check (Csaba Raduly),
3393 Fix handling of apos in URIs (Daniel Veillard),
3394 xmlTextReaderReadOuterXml should handle DTD (Rob Richards),
3395 Autogen.sh needs to create m4 directory (Rob Richards)
3396
3397 - Improvements:
3398 606592 update language ID parser to RFC 5646 (Daniel Veillard),
3399 Sort python generated stubs (Mike Hommey),
3400 Add an HTML parser option to avoid a default doctype (Daniel Veillard)
3401
3402 - Cleanups:
3403 618831 don't ship generated files in git (Adrian Bunk),
3404 Switch from the obsolete mkinstalldirs to AC_PROG_MKDIR_P (Adrian Bunk),
3405 Various cleanups on encoding handling (Daniel Veillard),
3406 Fix xmllint to use format=1 for default formatting (Adam Spragg),
3407 Force _xmlSaveCtxt.format to be 0 or 1 (Adam Spragg),
3408 Cleanup encoding pointer comparison (Nikolay Sivov),
3409 Small code cleanup on previous patch (Daniel Veillard)
3410
3411
3412
3413 2.7.7: Mar 15 2010:
3414 - Improvements:
3415 Adding a --xpath option to xmllint (Daniel Veillard),
3416 Make HTML parser non-recursive (Eugene Pimenov)
3417
3418 - Portability:
3419 relaxng.c: cast to allow compilation with sun studio 11 (Ben Walton),
3420 Fix build failure on Sparc solaris (Roumen Petrov),
3421 use autoreconf in autogen.sh (Daniel Veillard),
3422 Fix build with mingw (Roumen Petrov),
3423 Upgrade some of the configure and autogen (Daniel Veillard),
3424 Fix relaxNG tests in runtest for Windows runtest.c: initialize ret (Rob Richards),
3425 Fix a const warning in xmlNodeSetBase (Martin Trappel),
3426 Fix python generator to not use deprecated xmllib (Daniel Veillard),
3427 Update some automake files (Daniel Veillard),
3428 598785 Fix nanohttp on Windows (spadix)
3429
3430 - Bug Fixes:
3431 libxml violates the zlib interface and crashes (Mark Adler),
3432 Fix broken escape behaviour in regexp ranges (Daniel Veillard),
3433 Fix missing win32 libraries in libxml-2.0.pc (Volker Grabsch),
3434 Fix detection of python linker flags (Daniel Macks),
3435 fix build error in libxml2/python (Paul Smith),
3436 ChunkParser: Incorrect decoding of small xml files (Raul Hudea),
3437 htmlCheckEncoding doesn't update input-end after shrink (Eugene Pimenov),
3438 Fix a missing #ifdef (Daniel Veillard),
3439 Fix encoding selection for xmlParseInNodeContext (Daniel Veillard),
3440 xmlPreviousElementSibling mistake (François Delyon),
3441 608773 add a missing check in xmlGROW (Daniel Veillard),
3442 Fix xmlParseInNodeContext for HTML content (Daniel Veillard),
3443 Fix lost namespace when copying node * tree.c: reconcile namespace if not found (Rob Richards),
3444 Fix some missing commas in HTML element lists (Eugene Pimenov),
3445 Correct variable type to unsigned (Nikolay Sivov),
3446 Recognize ID attribute in HTML without DOCTYPE (Daniel Veillard),
3447 Fix memory leak in xmlXPathEvalExpression() (Martin),
3448 Fix an init bug in global.c (Kai Henning),
3449 Fix xmlNodeSetBase() comment (Daniel Veillard),
3450 Fix broken escape behaviour in regexp ranges (Daniel Veillard),
3451 Don't give default HTML boolean attribute values in parser (Daniel Veillard),
3452 xmlCtxtResetLastError should reset ctxt-errNo (Daniel Veillard)
3453
3454 - Cleanups:
3455 Cleanup a couple of weirdness in HTML parser (Eugene Pimenov)
3456
3457
3458
3459 2.7.6: Oct 6 2009:
3460 - Bug Fixes:
3461 Restore thread support in default configuration (Andrew W. Nosenko),
3462 URI with no path parsing problem (Daniel Veillard),
3463 Minor patch for conditional defines in threads.c (Eric Zurcher)
3464
3465
3466
3467 2.7.5: Sep 24 2009:
3468 - Bug Fixes:
3469 Restore behavior of --with-threads without argument (Andrew W. Nosenko),
3470 Fix memory leak when doc is NULL (Rob Richards),
3471 595792 fixing a RelaxNG bug introduced in 2.7.4 (Daniel Veillard),
3472 Fix a Relaxng bug raised by libvirt test suite (Daniel Veillard),
3473 Fix a parsing problem with little data at startup (Daniel Veillard),
3474 link python module with python library (Frederic Crozat),
3475 594874 Forgot an fclose in xmllint (Daniel Veillard)
3476
3477 - Cleanup:
3478 Adding symbols.xml to EXTRA_DIST (Daniel Veillard)
3479
3480
3481
3482 2.7.4: Sep 10 2009:
3483 - Improvements:
3484 Switch to GIT (GNOME),
3485 Add symbol versioning to libxml2 shared libs (Daniel Veillard)
3486
3487 - Portability:
3488 593857 try to work around thread pbm MinGW 4.4 (Daniel Veillard),
3489 594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes (Daniel Veillard),
3490 Fix Windows build * relaxng.c: fix windows build (Rob Richards),
3491 Fix the globals.h to use XMLPUBFUN (Paul Smith),
3492 Problem with extern extern in header (Daniel Veillard),
3493 Add -lnetwork for compiling on Haiku (Scott McCreary),
3494 Runtest portability patch for Solaris (Tim Rice),
3495 Small patch to accommodate the Haiku OS (Scott McCreary),
3496 584605 package VxWorks folder in the distribution (Daniel Veillard),
3497 574017 Realloc too expensive on most platform (Daniel Veillard),
3498 Fix windows build (Rob Richards),
3499 545579 doesn't compile without schema support (Daniel Veillard),
3500 xmllint use xmlGetNodePath when not compiled in (Daniel Veillard),
3501 Try to avoid __imp__xmlFree link trouble on msys (Daniel Veillard),
3502 Allow to select the threading system on Windows (LRN),
3503 Fix Solaris binary links, cleanups (Daniel Veillard),
3504 Bug 571059 – MSVC doesn't work with the bakefile (Intron),
3505 fix ATTRIBUTE_PRINTF header clash (Belgabor and Mike Hommey),
3506 fixes for Borland/CodeGear/Embarcadero compilers (Eric Zurcher)
3507
3508 - Documentation:
3509 544910 typo: "renciliateNs" (Leonid Evdokimov),
3510 Add VxWorks to list of OSes (Daniel Veillard),
3511 Regenerate the documentation and update for git (Daniel Veillard),
3512 560524 ¿ xmlTextReaderLocalName description (Daniel Veillard),
3513 Added sponsoring by AOE media for the server (Daniel Veillard),
3514 updated URLs for GNOME (Vincent Lefevre),
3515 more warnings about xmlCleanupThreads and xmlCleanupParser (Daniel Veillard)
3516
3517 - Bug fixes:
3518 594514 memory leaks - duplicate initialization (MOD),
3519 Wrong block opening in htmlNodeDumpOutputInternal (Daniel Veillard),
3520 492317 Fix Relax-NG validation problems (Daniel Veillard),
3521 558452 fight with reg test and error report (Daniel Veillard),
3522 558452 RNG compilation of optional multiple child (Daniel Veillard),
3523 579746 XSD validation not correct / nilable groups (Daniel Veillard),
3524 502960 provide namespace stack when parsing entity (Daniel Veillard),
3525 566012 part 2 fix regression tests and push mode (Daniel Veillard),
3526 566012 autodetected encoding and encoding conflict (Daniel Veillard),
3527 584220 xpointer(/) and xinclude problems (Daniel Veillard),
3528 587663 Incorrect Attribute-Value Normalization (Daniel Veillard),
3529 444994 HTML chunked failure for attribute with <> (Daniel Veillard),
3530 Fix end of buffer char being split in XML parser (Daniel Veillard),
3531 Non ASCII character may be split at buffer end (Adiel Mittmann),
3532 440226 Add xmlXIncludeProcessTreeFlagsData API (Stefan Behnel),
3533 572129 speed up parsing of large HTML text nodes (Markus Kull),
3534 Fix HTML parsing with 0 character in CDATA (Daniel Veillard),
3535 Fix SetGenericErrorFunc and SetStructured clash (Wang Lam),
3536 566012 Incomplete EBCDIC parsing support (Martin Kogler),
3537 541335 HTML avoid creating 2 head or 2 body element (Daniel Veillard),
3538 541237 error correcting missing end tags in HTML (Daniel Veillard),
3539 583439 missing line numbers in push mode (Daniel Veillard),
3540 587867 xmllint --html --xmlout serializing as HTML (Daniel Veillard),
3541 559501 avoid select and use poll for nanohttp (Raphael Prevost),
3542 559410 - Regexp bug on (...)? constructs (Daniel Veillard),
3543 Fix a small problem on previous HTML parser patch (Daniel Veillard),
3544 592430 - HTML parser runs into endless loop (Daniel Veillard),
3545 447899 potential double free in xmlFreeTextReader (Daniel Veillard),
3546 446613 small validation bug mixed content with NS (Daniel Veillard),
3547 Fix the problem of revalidating a doc with RNG (Daniel Veillard),
3548 Fix xmlKeepBlanksDefault to not break indent (Nick Wellnhofer),
3549 512131 refs from externalRef part need to be added (Daniel Veillard),
3550 512131 crash in xmlRelaxNGValidateFullElement (Daniel Veillard),
3551 588441 allow '.' in HTML Names even if invalid (Daniel Veillard),
3552 582913 Fix htmlSetMetaEncoding() to be nicer (Daniel Veillard),
3553 579317 Try to find the HTML encoding information (Daniel Veillard),
3554 575875 don't output charset=html (Daniel Veillard),
3555 571271 fix semantic of xsd:all with minOccurs=0 (Daniel Veillard),
3556 570702 fix a bug in regexp determinism checking (Daniel Veillard),
3557 567619 xmlValidateNotationUse missing param test (Daniel Veillard),
3558 574393 ¿ utf-8 filename magic for compressed files (Hans Breuer),
3559 Fix a couple of problems in the parser (Daniel Veillard),
3560 585505 ¿ Document ids and refs populated by XSD (Wayne Jensen),
3561 582906 XSD validating multiple imports of the same schema (Jason Childs),
3562 Bug 582887 ¿ problems validating complex schemas (Jason Childs),
3563 Bug 579729 ¿ fix XSD schemas parsing crash (Miroslav Bajtos),
3564 576368 ¿ htmlChunkParser with special attributes (Jiri Netolicky),
3565 Bug 565747 ¿ relax anyURI data character checking (Vincent Lefevre),
3566 Preserve attributes of include start on tree copy (Petr Pajas),
3567 Skip silently unrecognized XPointer schemes (Jakub Wilk),
3568 Fix leak on SAX1, xmllint --sax1 option and debug (Daniel Veillard),
3569 potential NULL dereference on non-glibc (Jim Meyering),
3570 Fix an XSD validation crash (Daniel Veillard),
3571 Fix a regression in streaming entities support (Daniel Veillard),
3572 Fix a couple of ABI issues with C14N 1.1 (Aleksey Sanin),
3573 Aleksey Sanin support for c14n 1.1 (Aleksey Sanin),
3574 reader bug fix with entities (Daniel Veillard),
3575 use options from current parser ctxt for external entities (Rob Richards),
3576 581612 use %s to printf strings (Christian Persch),
3577 584605 change the threading initialization sequence (Igor Novoseltsev),
3578 580705 keep line numbers in HTML parser (Aaron Patterson),
3579 581803 broken HTML table attributes init (Roland Steiner),
3580 do not set error code in xmlNsWarn (Rob Richards),
3581 564217 fix structured error handling problems,
3582 reuse options from current parser for entities (Rob Richards),
3583 xmlXPathRegisterNs should not allow enpty prefixes (Daniel Veillard),
3584 add a missing check in xmlAddSibling (Kris Breuker),
3585 avoid leaks on errors (Jinmei Tatuya)
3586
3587 - Cleanup:
3588 Chasing dead assignments reported by clang-scan (Daniel Veillard),
3589 A few more safety cleanup raised by scan (Daniel Veillard),
3590 Fixing assorted potential problems raised by scan (Daniel Veillard),
3591 Potential uninitialized arguments raised by scan (Daniel Veillard),
3592 Fix a bunch of scan 'dead increments' and cleanup (Daniel Veillard),
3593 Remove a pedantic warning (Daniel Veillard),
3594 555833 always use rm -f in uninstall-local (Daniel Veillard),
3595 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK (Daniel Veillard),
3596 Autoregenerate libxml2.syms automated checkings (Daniel Veillard),
3597 Make xmlRecoverDoc const (Martin Trappel) (Daniel Veillard),
3598 Both args of xmlStrcasestr are const (Daniel Veillard),
3599 hide the nbParse* variables used for debugging (Mike Hommey),
3600 570806 changed include of config.h (William M. Brack),
3601 cleanups and error reports when xmlTextWriterVSprintf fails (Jinmei Tatuya)
3602
3603
3604
3605 2.7.3: Jan 18 2009:
3606 - Build fix: fix build when HTML support is not included.
3607 - Bug fixes: avoid memory overflow in gigantic text nodes,
3608 indentation problem on the writed (Rob Richards),
3609 xmlAddChildList pointer problem (Rob Richards and Kevin Milburn),
3610 xmlAddChild problem with attribute (Rob Richards and Kris Breuker),
3611 avoid a memory leak in an edge case (Daniel Zimmermann),
3612 deallocate some pthread data (Alex Ott).
3613 - Improvements: configure option to avoid rebuilding docs (Adrian Bunk),
3614 limit text nodes to 10MB max by default, add element traversal
3615 APIs, add a parser option to enable pre 2.7 SAX behavior (Rob Richards),
3616 add gcc malloc checking (Marcus Meissner), add gcc printf like functions
3617 parameters checking (Marcus Meissner).
3618
3619
3620 2.7.2: Oct 3 2008:
3621 - Portability fix: fix solaris compilation problem, fix compilation
3622 if XPath is not configured in
3623 - Bug fixes: nasty entity bug introduced in 2.7.0, restore old behaviour
3624 when saving an HTML doc with an xml dump function, HTML UTF-8 parsing
3625 bug, fix reader custom error handlers (Riccardo Scussat)
3626
3627 - Improvement: xmlSave options for more flexibility to save as
3628 XML/HTML/XHTML, handle leading BOM in HTML documents
3629
3630
3631 2.7.1: Sep 1 2008:
3632 - Portability fix: Borland C fix (Moritz Both)
3633 - Bug fixes: python serialization wrappers, XPath QName corner
3634 case handking and leaks (Martin)
3635 - Improvement: extend the xmlSave to handle HTML documents and trees
3636 - Cleanup: python serialization wrappers
3637
3638
3639 2.7.0: Aug 30 2008:
3640 - Documentation: switch ChangeLog to UTF-8, improve mutithreads and
3641 xmlParserCleanup docs
3642 - Portability fixes: Older Win32 platforms (Rob Richards), MSVC
3643 porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg),
3644 non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber)
3645
3646 - Bug fixes: various realloc problems (Ashwin), potential double-free
3647 (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob
3648 Richards), pattern fix when streaming (William Brack), various XML
3649 parsing and validation fixes based on the W3C regression tests, reader
3650 tree skipping function fix (Ashwin), Schemas regexps escaping fix
3651 (Volker Grabsch), handling of entity push errors (Ashwin), fix a slowdown
3652 when encoder can't serialize characters on output
3653 - Code cleanup: compilation fix without the reader, without the output
3654 (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups,
3655 serious cleanup of the entity handling code
3656 - Improvement: switch parser to XML-1.0 5th edition, add parsing flags
3657 for old versions, switch URI parsing to RFC 3986,
3658 add xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer),
3659 new hashing functions for dictionaries (based on Stefan Behnel work),
3660 improve handling of misplaced html/head/body in HTML parser, better
3661 regression test tools and code coverage display, better algorithms
3662 to detect various versions of the billion laughts attacks, make
3663 arbitrary parser limits avoidable as a parser option
3664
3665
3666 2.6.32: Apr 8 2008:
3667 - Documentation: returning heap memory to kernel (Wolfram Sang),
3668 trying to clarify xmlCleanupParser() use, xmlXPathContext improvement
3669 (Jack Jansen), improve the *Recover* functions documentation,
3670 XmlNodeType doc link fix (Martijn Arts)
3671 - Bug fixes: internal subset memory leak (Ashwin), avoid problem with
3672 paths starting with // (Petr Sumbera), streaming XSD validation callback
3673 patches (Ashwin), fix redirection on port other than 80 (William Brack),
3674 SAX2 leak (Ashwin), XInclude fragment of own document (Chris Ryan),
3675 regexp bug with '.' (Andrew Tosh), flush the writer at the end of the
3676 document (Alfred Mickautsch), output I/O bug fix (William Brack),
3677 writer CDATA output after a text node (Alex Khesin), UTF-16 encoding
3678 detection (William Brack), fix handling of empty CDATA nodes for Safari
3679 team, python binding problem with namespace nodes, improve HTML parsing
3680 (Arnold Hendriks), regexp automata build bug, memory leak fix (Vasily
3681 Chekalkin), XSD test crash, weird system parameter entity parsing problem,
3682 allow save to file:///X:/ windows paths, various attribute normalisation
3683 problems, externalSubsetSplit fix (Ashwin), attribute redefinition in
3684 the DTD (Ashwin), fix in char ref parsing check (Alex Khesin), many
3685 out of memory handling fixes (Ashwin), XPath out of memory handling fixes
3686 (Alvaro Herrera), various realloc problems (Ashwin), UCS4 encoding
3687 conversion buffer size (Christian Fruth), problems with EatName
3688 functions on memory errors, BOM handling in external parsed entities
3689 (Mark Rowe)
3690 - Code cleanup: fix build under VS 2008 (David Wimsey), remove useless
3691 mutex in xmlDict (Florent Guilian), Mingw32 compilation fix (Carlo
3692 Bramini), Win and MacOS EOL cleanups (Florent Guiliani), iconv need
3693 a const detection (Roumen Petrov), simplify xmlSetProp (Julien Charbon),
3694 cross compilation fixes for Mingw (Roumen Petrov), SCO Openserver build
3695 fix (Florent Guiliani), iconv uses const on Win32 (Rob Richards),
3696 duplicate code removal (Ashwin), missing malloc test and error reports
3697 (Ashwin), VMS makefile fix (Tycho Hilhorst)
3698 - improvements: better plug of schematron in the normal error handling
3699 (Tobias Minich)
3700
3701
3702 2.6.31: Jan 11 2008:
3703 - Security fix: missing of checks in UTF-8 parsing
3704 - Bug fixes: regexp bug, dump attribute from XHTML document, fix
3705 xmlFree(NULL) to not crash in debug mode, Schematron parsing crash
3706 (Rob Richards), global lock free on Windows (Marc-Antoine Ruel),
3707 XSD crash due to double free (Rob Richards), indentation fix in
3708 xmlTextWriterFullEndElement (Felipe Pena), error in attribute type
3709 parsing if attribute redeclared, avoid crash in hash list scanner if
3710 deleting elements, column counter bug fix (Christian Schmidt),
3711 HTML embed element saving fix (Stefan Behnel), avoid -L/usr/lib
3712 output from xml2-config (Fred Crozat), avoid an xmllint crash
3713 (Stefan Kost), don't stop HTML parsing on out of range chars.
3714
3715 - Code cleanup: fix open() call third argument, regexp cut'n paste
3716 copy error, unused variable in __xmlGlobalInitMutexLock (Hannes Eder),
3717 some make distcheck related fixes (John Carr)
3718 - Improvements: HTTP Header: includes port number (William Brack),
3719 testURI --debug option,
3720
3721
3722 2.6.30: Aug 23 2007:
3723 - Portability: Solaris crash on error handling, windows path fixes
3724 (Roland Schwarz and Rob Richards), mingw build (Roland Schwarz)
3725 - Bugfixes: xmlXPathNodeSetSort problem (William Brack), leak when
3726 reusing a writer for a new document (Dodji Seketeli), Schemas
3727 xsi:nil handling patch (Frank Gross), relative URI build problem
3728 (Patrik Fimml), crash in xmlDocFormatDump, invalid char in comment
3729 detection bug, fix disparity with xmlSAXUserParseMemory, automata
3730 generation for complex regexp counts problems, Schemas IDC import
3731 problems (Frank Gross), xpath predicate evailation error handling
3732 (William Brack)
3733
3734
3735 2.6.29: Jun 12 2007:
3736 - Portability: patches from Andreas Stricke for WinCEi,
3737 fix compilation warnings (William Brack), avoid warnings on Apple OS/X
3738 (Wendy Doyle and Mark Rowe), Windows compilation and threading
3739 improvements (Rob Richards), compilation against old Python versions,
3740 new GNU tar changes (Ryan Hill)
3741 - Documentation: xmlURIUnescapeString comment,
3742 - Bugfixes: xmlBufferAdd problem (Richard Jones), 'make valgrind'
3743 flag fix (Richard Jones), regexp interpretation of \,
3744 htmlCreateDocParserCtxt (Jean-Daniel Dupas), configure.in
3745 typo (Bjorn Reese), entity content failure, xmlListAppend() fix
3746 (Georges-André Silber), XPath number serialization (William Brack),
3747 nanohttp gzipped stream fix (William Brack and Alex Cornejo),
3748 xmlCharEncFirstLine typo (Mark Rowe), uri bug (François Delyon),
3749 XPath string value of PI nodes (William Brack), XPath node set
3750 sorting bugs (William Brack), avoid outputting namespace decl
3751 dups in the writer (Rob Richards), xmlCtxtReset bug, UTF-8 encoding
3752 error handling, recustion on next in catalogs, fix a Relax-NG crash,
3753 workaround wrong file: URIs, htmlNodeDumpFormatOutput on attributes,
3754 invalid character in attribute detection bug, big comments before
3755 internal subset streaming bug, HTML parsing of attributes with : in
3756 the name, IDness of name in HTML (Dagfinn I. Mannsåker)
3757 - Improvement: keep URI query parts in raw form (Richard Jones),
3758 embed tag support in HTML (Michael Day)
3759
3760
3761 2.6.28: Apr 17 2007:
3762 - Documentation: comment fixes (Markus Keim), xpath comments fixes too
3763 (James Dennett)
3764 - Bug fixes: XPath bug (William Brack), HTML parser autoclose stack usage
3765 (Usamah Malik), various regexp bug fixes (DV and William), path conversion
3766 on Windows (Igor Zlatkovic), htmlCtxtReset fix (Michael Day), XPath
3767 principal node of axis bug, HTML serialization of some codepoint
3768 (Steven Rainwater), user data propagation in XInclude (Michael Day),
3769 standalone and XML decl detection (Michael Day), Python id output
3770 for some id, fix the big python string memory leak, URI parsing fixes
3771 (Stéphane Bidoul and William), long comments parsing bug (William),
3772 concurrent threads initialization (Ted Phelps), invalid char
3773 in text XInclude (William), XPath memory leak (William), tab in
3774 python problems (Andreas Hanke), XPath node comparison error
3775 (Oleg Paraschenko), cleanup patch for reader (Julien Reichel),
3776 XML Schemas attribute group (William), HTML parsing problem (William),
3777 fix char 0x2d in regexps (William), regexp quantifier range with
3778 min occurs of 0 (William), HTML script/style parsing (Mike Day)
3779 - Improvement: make xmlTextReaderSetup() public
3780 - Compilation and postability: fix a missing include problem (William),
3781 __ss_family on AIX again (Björn Wiberg), compilation without zlib
3782 (Michael Day), catalog patch for Win32 (Christian Ehrlicher),
3783 Windows CE fixes (Andreas Stricke)
3784 - Various CVS to SVN infrastructure changes
3785
3786
3787 2.6.27: Oct 25 2006:
3788 - Portability fixes: file names on windows (Roland Schwingel,
3789 Emelyanov Alexey), windows compile fixup (Rob Richards),
3790 AIX iconv() is apparently case sensitive
3791 - improvements: Python XPath types mapping (Nic Ferrier), XPath optimization
3792 (Kasimier), add xmlXPathCompiledEvalToBoolean (Kasimier), Python node
3793 equality and comparison (Andreas Pakulat), xmlXPathCollectAndTest
3794 improvememt (Kasimier), expose if library was compiled with zlib
3795 support (Andrew Nosenko), cache for xmlSchemaIDCMatcher structs
3796 (Kasimier), xmlTextConcat should work with comments and PIs (Rob
3797 Richards), export htmlNewParserCtxt needed by Michael Day, refactoring
3798 of catalog entity loaders (Michael Day), add XPointer support to
3799 python bindings (Ross Reedstrom, Brian West and Stefan Anca),
3800 try to sort out most file path to URI conversions and xmlPathToUri,
3801 add --html --memory case to xmllint
3802 - building fix: fix --with-minimum (Felipe Contreras), VMS fix,
3803 const'ification of HTML parser structures (Matthias Clasen),
3804 portability fix (Emelyanov Alexey), wget autodetection (Peter
3805 Breitenlohner), remove the build path recorded in the python
3806 shared module, separate library flags for shared and static builds
3807 (Mikhail Zabaluev), fix --with-minimum --with-sax1 builds, fix
3808 --with-minimum --with-schemas builds
3809 - bug fix: xmlGetNodePath fix (Kasimier), xmlDOMWrapAdoptNode and
3810 attribute (Kasimier), crash when using the recover mode,
3811 xmlXPathEvalExpr problem (Kasimier), xmlXPathCompExprAdd bug (Kasimier),
3812 missing destroy in xmlFreeRMutex (Andrew Nosenko), XML Schemas fixes
3813 (Kasimier), warning on entities processing, XHTML script and style
3814 serialization (Kasimier), python generator for long types, bug in
3815 xmlSchemaClearValidCtxt (Bertrand Fritsch), xmlSchemaXPathEvaluate
3816 allocation bug (Marton Illes), error message end of line (Rob Richards),
3817 fix attribute serialization in writer (Rob Richards), PHP4 DTD validation
3818 crash, parser safety patch (Ben Darnell), _private context propagation
3819 when parsing entities (with Michael Day), fix entities behaviour when
3820 using SAX, URI to file path fix (Mikhail Zabaluev), disappearing validity
3821 context, arg error in SAX callback (Mike Hommey), fix mixed-content
3822 autodetect when using --noblanks, fix xmlIOParseDTD error handling,
3823 fix bug in xmlSplitQName on special Names, fix Relax-NG element content
3824 validation bug, fix xmlReconciliateNs bug, fix potential attribute
3825 XML parsing bug, fix line/column accounting in XML parser, chunking bug
3826 in the HTML parser on script, try to detect obviously buggy HTML
3827 meta encoding indications, bugs with encoding BOM and xmlSaveDoc,
3828 HTML entities in attributes parsing, HTML minimized attribute values,
3829 htmlReadDoc and htmlReadIO were broken, error handling bug in
3830 xmlXPathEvalExpression (Olaf Walkowiak), fix a problem in
3831 htmlCtxtUseOptions, xmlNewInputFromFile could leak (Marius Konitzer),
3832 bug on misformed SSD regexps (Christopher Boumenot)
3833
3834 - documentation: warning about XML_PARSE_COMPACT (Kasimier Buchcik),
3835 fix xmlXPathCastToString documentation, improve man pages for
3836 xmllitn and xmlcatalog (Daniel Leidert), fixed comments of a few
3837 functions
3838
3839
3840 2.6.26: Jun 6 2006:
3841 - portability fixes: Python detection (Joseph Sacco), compilation
3842 error(William Brack and Graham Bennett), LynxOS patch (Olli Savia)
3843 - bug fixes: encoding buffer problem, mix of code and data in
3844 xmlIO.c(Kjartan Maraas), entities in XSD validation (Kasimier Buchcik),
3845 variousXSD validation fixes (Kasimier), memory leak in pattern (Rob
3846 Richards andKasimier), attribute with colon in name (Rob Richards), XPath
3847 leak inerror reporting (Aleksey Sanin), XInclude text include of
3848 selfdocument.
3849 - improvements: Xpath optimizations (Kasimier), XPath object
3850 cache(Kasimier)
3851
3852
3853 2.6.25: Jun 6 2006::
3854 Do not use or package 2.6.25
3855 2.6.24: Apr 28 2006:
3856 - Portability fixes: configure on Windows, testapi compile on windows
3857 (Kasimier Buchcik, venkat naidu), Borland C++ 6 compile (Eric Zurcher),
3858 HP-UX compiler workaround (Rick Jones), xml2-config bugfix, gcc-4.1
3859 cleanups, Python detection scheme (Joseph Sacco), UTF-8 file paths on
3860 Windows (Roland Schwingel).
3861
3862 - Improvements: xmlDOMWrapReconcileNamespaces xmlDOMWrapCloneNode (Kasimier
3863 Buchcik), XML catalog debugging (Rick Jones), update to Unicode 4.01.
3864 - Bug fixes: xmlParseChunk() problem in 2.6.23, xmlParseInNodeContext()
3865 on HTML docs, URI behaviour on Windows (Rob Richards), comment streaming
3866 bug, xmlParseComment (with William Brack), regexp bug fixes (DV &
3867 Youri Golovanov), xmlGetNodePath on text/CDATA (Kasimier),
3868 one Relax-NG interleave bug, xmllint --path and --valid,
3869 XSD bugfixes (Kasimier), remove debug
3870 left in Python bindings (Nic Ferrier), xmlCatalogAdd bug (Martin Cole),
3871 xmlSetProp fixes (Rob Richards), HTML IDness (Rob Richards), a large
3872 number of cleanups and small fixes based on Coverity reports, bug
3873 in character ranges, Unicode tables const (Aivars Kalvans), schemas
3874 fix (Stefan Kost), xmlRelaxNGParse error deallocation,
3875 xmlSchemaAddSchemaDoc error deallocation, error handling on unallowed
3876 code point, ixmllint --nonet to never reach the net (Gary Coady),
3877 line break in writer after end PI (Jason Viers).
3878 - Documentation: man pages updates and cleanups (Daniel Leidert).
3879 - New features: Relax NG structure error handlers.
3880
3881
3882 2.6.23: Jan 5 2006:
3883 - portability fixes: Windows (Rob Richards), getaddrinfo on Windows
3884 (Kolja Nowak, Rob Richards), icc warnings (Kjartan Maraas),
3885 --with-minimum compilation fixes (William Brack), error case handling fix
3886 on Solaris (Albert Chin), don't use 'list' as parameter name reported by
3887 Samuel Diaz Garcia, more old Unices portability fixes (Albert Chin),
3888 MinGW compilation (Mark Junker), HP-UX compiler warnings (Rick
3889 Jones),
3890 - code cleanup: xmlReportError (Adrian Mouat), remove xmlBufferClose
3891 (Geert Jansen), unreachable code (Oleksandr Kononenko), refactoring
3892 parsing code (Bjorn Reese)
3893 - bug fixes: xmlBuildRelativeURI and empty path (William Brack),
3894 combinatory explosion and performances in regexp code, leak in
3895 xmlTextReaderReadString(), xmlStringLenDecodeEntities problem (Massimo
3896 Morara), Identity Constraints bugs and a segfault (Kasimier Buchcik),
3897 XPath pattern based evaluation bugs (DV & Kasimier),
3898 xmlSchemaContentModelDump() memory leak (Kasimier), potential leak in
3899 xmlSchemaCheckCSelectorXPath(), xmlTextWriterVSprintf() misuse of
3900 vsnprintf (William Brack), XHTML serialization fix (Rob Richards), CRLF
3901 split problem (William), issues with non-namespaced attributes in
3902 xmlAddChild() xmlAddNextSibling() and xmlAddPrevSibling() (Rob Richards),
3903 HTML parsing of script, Python must not output to stdout (Nic Ferrier),
3904 exclusive C14N namespace visibility (Aleksey Sanin), XSD datatype
3905 totalDigits bug (Kasimier Buchcik), error handling when writing to an
3906 xmlBuffer (Rob Richards), runtest schemas error not reported (Hisashi
3907 Fujinaka), signed/unsigned problem in date/time code (Albert Chin), fix
3908 XSI driven XSD validation (Kasimier), parsing of xs:decimal (Kasimier),
3909 fix DTD writer output (Rob Richards), leak in xmlTextReaderReadInnerXml
3910 (Gary Coady), regexp bug affecting schemas (Kasimier), configuration of
3911 runtime debugging (Kasimier), xmlNodeBufGetContent bug on entity refs
3912 (Oleksandr Kononenko), xmlRegExecPushString2 bug (Sreeni Nair),
3913 compilation and build fixes (Michael Day), removed dependencies on
3914 xmlSchemaValidError (Kasimier), bug with <xml:foo/>, more XPath
3915 pattern based evaluation fixes (Kasimier)
3916 - improvements: XSD Schemas redefinitions/restrictions (Kasimier
3917 Buchcik), node copy checks and fix for attribute (Rob Richards), counted
3918 transition bug in regexps, ctxt->standalone = -2 to indicate no
3919 standalone attribute was found, add xmlSchemaSetParserStructuredErrors()
3920 (Kasimier Buchcik), add xmlTextReaderSchemaValidateCtxt() to API
3921 (Kasimier), handle gzipped HTTP resources (Gary Coady), add
3922 htmlDocDumpMemoryFormat. (Rob Richards),
3923 - documentation: typo (Michael Day), libxml man page (Albert Chin), save
3924 function to XML buffer (Geert Jansen), small doc fix (Aron Stansvik),
3925
3926
3927 2.6.22: Sep 12 2005:
3928 - build fixes: compile without schematron (Stéphane Bidoul)
3929 - bug fixes: xmlDebugDumpNode on namespace node (Oleg Paraschenko)i,
3930 CDATA push parser bug, xmlElemDump problem with XHTML1 doc,
3931 XML_FEATURE_xxx clash with expat headers renamed XML_WITH_xxx, fix some
3932 output formatting for meta element (Rob Richards), script and style
3933 XHTML1 serialization (David Madore), Attribute derivation fixups in XSD
3934 (Kasimier Buchcik), better IDC error reports (Kasimier Buchcik)
3935 - improvements: add XML_SAVE_NO_EMPTY xmlSaveOption (Rob Richards), add
3936 XML_SAVE_NO_XHTML xmlSaveOption, XML Schemas improvements preparing for
3937 derive (Kasimier Buchcik).
3938 - documentation: generation of gtk-doc like docs, integration with
3939 devhelp.
3940
3941
3942 2.6.21: Sep 4 2005:
3943 - build fixes: Cygwin portability fixes (Gerrit P. Haase), calling
3944 convention problems on Windows (Marcus Boerger), cleanups based on Linus'
3945 sparse tool, update of win32/configure.js (Rob Richards), remove warnings
3946 on Windows(Marcus Boerger), compilation without SAX1, detection of the
3947 Python binary, use $GCC inestad of $CC = 'gcc' (Andrew W. Nosenko),
3948 compilation/link with threads and old gcc, compile problem by C370 on
3949 Z/OS,
3950 - bug fixes: http_proxy environments (Peter Breitenlohner), HTML UTF-8
3951 bug (Jiri Netolicky), XPath NaN compare bug (William Brack),
3952 htmlParseScript potential bug, Schemas regexp handling of spaces, Base64
3953 Schemas comparisons NIST passes, automata build error xsd:all,
3954 xmlGetNodePath for namespaced attributes (Alexander Pohoyda), xmlSchemas
3955 foreign namespaces handling, XML Schemas facet comparison (Kupriyanov
3956 Anatolij), xmlSchemaPSimpleTypeErr error report (Kasimier Buchcik), xml:
3957 namespace ahndling in Schemas (Kasimier), empty model group in Schemas
3958 (Kasimier), wildcard in Schemas (Kasimier), URI composition (William),
3959 xs:anyType in Schemas (Kasimier), Python resolver emitting error
3960 messages directly, Python xmlAttr.parent (Jakub Piotr Clapa), trying to
3961 fix the file path/URI conversion, xmlTextReaderGetAttribute fix (Rob
3962 Richards), xmlSchemaFreeAnnot memleak (Kasimier), HTML UTF-8
3963 serialization, streaming XPath, Schemas determinism detection problem,
3964 XInclude bug, Schemas context type (Dean Hill), validation fix (Derek
3965 Poon), xmlTextReaderGetAttribute[Ns] namespaces (Rob Richards), Schemas
3966 type fix (Kuba Nowakowski), UTF-8 parser bug, error in encoding handling,
3967 xmlGetLineNo fixes, bug on entities handling, entity name extraction in
3968 error handling with XInclude, text nodes in HTML body tags (Gary Coady),
3969 xml:id and IDness at the treee level fixes, XPath streaming patterns
3970 bugs.
3971 - improvements: structured interfaces for schemas and RNG error reports
3972 (Marcus Boerger), optimization of the char data inner loop parsing
3973 (thanks to Behdad Esfahbod for the idea), schematron validation though
3974 not finished yet, xmlSaveOption to omit XML declaration, keyref match
3975 error reports (Kasimier), formal expression handling code not plugged
3976 yet, more lax mode for the HTML parser, parser XML_PARSE_COMPACT option
3977 for text nodes allocation.
3978 - documentation: xmllint man page had --nonet duplicated
3979
3980
3981 2.6.20: Jul 10 2005:
3982 - build fixes: Windows build (Rob Richards), Mingw compilation (Igor
3983 Zlatkovic), Windows Makefile (Igor), gcc warnings (Kasimier and
3984 [email protected]), use gcc weak references to pthread to avoid the
3985 pthread dependency on Linux, compilation problem (Steve Nairn), compiling
3986 of subset (Morten Welinder), IPv6/ss_family compilation (William Brack),
3987 compilation when disabling parts of the library, standalone test
3988 distribution.
3989 - bug fixes: bug in lang(), memory cleanup on errors (William Brack),
3990 HTTP query strings (Aron Stansvik), memory leak in DTD (William), integer
3991 overflow in XPath (William), nanoftp buffer size, pattern "." apth fixup
3992 (Kasimier), leak in tree reported by Malcolm Rowe, replaceNode patch
3993 (Brent Hendricks), CDATA with NULL content (Mark Vakoc), xml:base fixup
3994 on XInclude (William), pattern fixes (William), attribute bug in
3995 exclusive c14n (Aleksey Sanin), xml:space and xml:lang with SAX2 (Rob
3996 Richards), namespace trouble in complex parsing (Malcolm Rowe), XSD type
3997 QNames fixes (Kasimier), XPath streaming fixups (William), RelaxNG bug
3998 (Rob Richards), Schemas for Schemas fixes (Kasimier), removal of ID (Rob
3999 Richards), a small RelaxNG leak, HTML parsing in push mode bug (James
4000 Bursa), failure to detect UTF-8 parsing bugs in CDATA sections,
4001 areBlanks() heuristic failure, duplicate attributes in DTD bug
4002 (William).
4003 - improvements: lot of work on Schemas by Kasimier Buchcik both on
4004 conformance and streaming, Schemas validation messages (Kasimier Buchcik,
4005 Matthew Burgess), namespace removal at the python level (Brent
4006 Hendricks), Update to new Schemas regression tests from W3C/Nist
4007 (Kasimier), xmlSchemaValidateFile() (Kasimier), implementation of
4008 xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml (James Wert),
4009 standalone test framework and programs, new DOM import APIs
4010 xmlDOMWrapReconcileNamespaces() xmlDOMWrapAdoptNode() and
4011 xmlDOMWrapRemoveNode(), extension of xmllint capabilities for SAX and
4012 Schemas regression tests, xmlStopParser() available in pull mode too,
4013 ienhancement to xmllint --shell namespaces support, Windows port of the
4014 standalone testing tools (Kasimier and William),
4015 xmlSchemaValidateStream() xmlSchemaSAXPlug() and xmlSchemaSAXUnplug() SAX
4016 Schemas APIs, Schemas xmlReader support.
4017
4018
4019 2.6.19: Apr 02 2005:
4020 - build fixes: drop .la from RPMs, --with-minimum build fix (William
4021 Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with AIX
4022 5.3 compiler, fixed elfgcchack.h generation and PLT reduction code on
4023 Linux/ELF/gcc4
4024 - bug fixes: schemas type decimal fixups (William Brack), xmmlint return
4025 code (Gerry Murphy), small schemas fixes (Matthew Burgess and GUY
4026 Fabrice), workaround "DAV:" namespace brokenness in c14n (Aleksey Sanin),
4027 segfault in Schemas (Kasimier Buchcik), Schemas attribute validation
4028 (Kasimier), Prop related functions and xmlNewNodeEatName (Rob Richards),
4029 HTML serialization of name attribute on a elements, Python error handlers
4030 leaks and improvement (Brent Hendricks), uninitialized variable in
4031 encoding code, Relax-NG validation bug, potential crash if
4032 gnorableWhitespace is NULL, xmlSAXParseDoc and xmlParseDoc signatures,
4033 switched back to assuming UTF-8 in case no encoding is given at
4034 serialization time
4035 - improvements: lot of work on Schemas by Kasimier Buchcik on facets
4036 checking and also mixed handling.
4037 -
4038
4039
4040 2.6.18: Mar 13 2005:
4041 - build fixes: warnings (Peter Breitenlohner), testapi.c generation,
4042 Bakefile support (Francesco Montorsi), Windows compilation (Joel Reed),
4043 some gcc4 fixes, HP-UX portability fixes (Rick Jones).
4044 - bug fixes: xmlSchemaElementDump namespace (Kasimier Buchcik), push and
4045 xmlreader stopping on non-fatal errors, thread support for dictionaries
4046 reference counting (Gary Coady), internal subset and push problem, URL
4047 saved in xmlCopyDoc, various schemas bug fixes (Kasimier), Python paths
4048 fixup (Stephane Bidoul), xmlGetNodePath and namespaces, xmlSetNsProp fix
4049 (Mike Hommey), warning should not count as error (William Brack),
4050 xmlCreatePushParser empty chunk, XInclude parser flags (William), cleanup
4051 FTP and HTTP code to reuse the uri parsing and IPv6 (William),
4052 xmlTextWriterStartAttributeNS fix (Rob Richards), XMLLINT_INDENT being
4053 empty (William), xmlWriter bugs (Rob Richards), multithreading on Windows
4054 (Rich Salz), xmlSearchNsByHref fix (Kasimier), Python binding leak (Brent
4055 Hendricks), aliasing bug exposed by gcc4 on s390, xmlTextReaderNext bug
4056 (Rob Richards), Schemas decimal type fixes (William Brack),
4057 xmlByteConsumed static buffer (Ben Maurer).
4058 - improvement: speedup parsing comments and DTDs, dictionary support for
4059 hash tables, Schemas Identity constraints (Kasimier), streaming XPath
4060 subset, xmlTextReaderReadString added (Bjorn Reese), Schemas canonical
4061 values handling (Kasimier), add xmlTextReaderByteConsumed (Aron
4062 Stansvik),
4063 - Documentation: Wiki support (Joel Reed)
4064
4065
4066 2.6.17: Jan 16 2005:
4067 - build fixes: Windows, warnings removal (William Brack),
4068 maintainer-clean dependency(William), build in a different directory
4069 (William), fixing --with-minimum configure build (William), BeOS build
4070 (Marcin Konicki), Python-2.4 detection (William), compilation on AIX (Dan
4071 McNichol)
4072 - bug fixes: xmlTextReaderHasAttributes (Rob Richards), xmlCtxtReadFile()
4073 to use the catalog(s), loop on output (William Brack), XPath memory leak,
4074 ID deallocation problem (Steve Shepard), debugDumpNode crash (William),
4075 warning not using error callback (William), xmlStopParser bug (William),
4076 UTF-16 with BOM on DTDs (William), namespace bug on empty elements in
4077 push mode (Rob Richards), line and col computations fixups (Aleksey
4078 Sanin), xmlURIEscape fix (William), xmlXPathErr on bad range (William),
4079 patterns with too many steps, bug in RNG choice optimization, line number
4080 sometimes missing.
4081 - improvements: XSD Schemas (Kasimier Buchcik), python generator
4082 (William), xmlUTF8Strpos speedup (William), unicode Python strings
4083 (William), XSD error reports (Kasimier Buchcik), Python __str__ call
4084 serialize().
4085 - new APIs: added xmlDictExists(), GetLineNumber and GetColumnNumber for
4086 the xmlReader (Aleksey Sanin), Dynamic Shared Libraries APIs (mostly Joel
4087 Reed), error extraction API from regexps, new XMLSave option for format
4088 (Phil Shafer)
4089 - documentation: site improvement (John Fleck), FAQ entries
4090 (William).
4091
4092
4093 2.6.16: Nov 10 2004:
4094 - general hardening and bug fixing crossing all the API based on new
4095 automated regression testing
4096 - build fix: IPv6 build and test on AIX (Dodji Seketeli)
4097 - bug fixes: problem with XML::Libxml reported by Petr Pajas, encoding
4098 conversion functions return values, UTF-8 bug affecting XPath reported by
4099 Markus Bertheau, catalog problem with NULL entries (William Brack)
4100 - documentation: fix to xmllint man page, some API function description
4101 were updated.
4102 - improvements: DTD validation APIs provided at the Python level (Brent
4103 Hendricks)
4104
4105
4106 2.6.15: Oct 27 2004:
4107 - security fixes on the nanoftp and nanohttp modules
4108 - build fixes: xmllint detection bug in configure, building outside the
4109 source tree (Thomas Fitzsimmons)
4110 - bug fixes: HTML parser on broken ASCII chars in names (William), Python
4111 paths (Malcolm Tredinnick), xmlHasNsProp and default namespace (William),
4112 saving to python file objects (Malcolm Tredinnick), DTD lookup fix
4113 (Malcolm), save back <group> in catalogs (William), tree build
4114 fixes (DV and Rob Richards), Schemas memory bug, structured error handler
4115 on Python 64bits, thread local memory deallocation, memory leak reported
4116 by Volker Roth, xmlValidateDtd in the presence of an internal subset,
4117 entities and _private problem (William), xmlBuildRelativeURI error
4118 (William).
4119 - improvements: better XInclude error reports (William), tree debugging
4120 module and tests, convenience functions at the Reader API (Graham
4121 Bennett), add support for PI in the HTML parser.
4122
4123
4124 2.6.14: Sep 29 2004:
4125 - build fixes: configure paths for xmllint and xsltproc, compilation
4126 without HTML parser, compilation warning cleanups (William Brack &
4127 Malcolm Tredinnick), VMS makefile update (Craig Berry),
4128 - bug fixes: xmlGetUTF8Char (William Brack), QName properties (Kasimier
4129 Buchcik), XInclude testing, Notation serialization, UTF8ToISO8859x
4130 transcoding (Mark Itzcovitz), lots of XML Schemas cleanup and fixes
4131 (Kasimier), ChangeLog cleanup (Stepan Kasal), memory fixes (Mark Vakoc),
4132 handling of failed realloc(), out of bound array addressing in Schemas
4133 date handling, Python space/tabs cleanups (Malcolm Tredinnick), NMTOKENS
4134 E20 validation fix (Malcolm),
4135 - improvements: added W3C XML Schemas testsuite (Kasimier Buchcik), add
4136 xmlSchemaValidateOneElement (Kasimier), Python exception hierearchy
4137 (Malcolm Tredinnick), Python libxml2 driver improvement (Malcolm
4138 Tredinnick), Schemas support for xsi:schemaLocation,
4139 xsi:noNamespaceSchemaLocation, xsi:type (Kasimier Buchcik)
4140
4141
4142 2.6.13: Aug 31 2004:
4143 - build fixes: Windows and zlib (Igor Zlatkovic), -O flag with gcc,
4144 Solaris compiler warning, fixing RPM BuildRequires,
4145 - fixes: DTD loading on Windows (Igor), Schemas error reports APIs
4146 (Kasimier Buchcik), Schemas validation crash, xmlCheckUTF8 (William Brack
4147 and Julius Mittenzwei), Schemas facet check (Kasimier), default namespace
4148 problem (William), Schemas hexbinary empty values, encoding error could
4149 generate a serialization loop.
4150 - Improvements: Schemas validity improvements (Kasimier), added --path
4151 and --load-trace options to xmllint
4152 - documentation: tutorial update (John Fleck)
4153
4154
4155 2.6.12: Aug 22 2004:
4156 - build fixes: fix --with-minimum, elfgcchack.h fixes (Peter
4157 Breitenlohner), perl path lookup (William), diff on Solaris (Albert
4158 Chin), some 64bits cleanups.
4159 - Python: avoid a warning with 2.3 (William Brack), tab and space mixes
4160 (William), wrapper generator fixes (William), Cygwin support (Gerrit P.
4161 Haase), node wrapper fix (Marc-Antoine Parent), XML Schemas support
4162 (Torkel Lyng)
4163 - Schemas: a lot of bug fixes and improvements from Kasimier Buchcik
4164 - fixes: RVT fixes (William), XPath context resets bug (William), memory
4165 debug (Steve Hay), catalog white space handling (Peter Breitenlohner),
4166 xmlReader state after attribute reading (William), structured error
4167 handler (William), XInclude generated xml:base fixup (William), Windows
4168 memory reallocation problem (Steve Hay), Out of Memory conditions
4169 handling (William and Olivier Andrieu), htmlNewDoc() charset bug,
4170 htmlReadMemory init (William), a posteriori validation DTD base
4171 (William), notations serialization missing, xmlGetNodePath (Dodji),
4172 xmlCheckUTF8 (Diego Tartara), missing line numbers on entity
4173 (William)
4174 - improvements: DocBook catalog build scrip (William), xmlcatalog tool
4175 (Albert Chin), xmllint --c14n option, no_proxy environment (Mike Hommey),
4176 xmlParseInNodeContext() addition, extend xmllint --shell, allow XInclude
4177 to not generate start/end nodes, extend xmllint --version to include CVS
4178 tag (William)
4179 - documentation: web pages fixes, validity API docs fixes (William)
4180 schemas API fix (Eric Haszlakiewicz), xmllint man page (John Fleck)
4181
4182
4183 2.6.11: July 5 2004:
4184 - Schemas: a lot of changes and improvements by Kasimier Buchcik for
4185 attributes, namespaces and simple types.
4186 - build fixes: --with-minimum (William Brack), some gcc cleanup
4187 (William), --with-thread-alloc (William)
4188 - portability: Windows binary package change (Igor Zlatkovic), Catalog
4189 path on Windows
4190 - documentation: update to the tutorial (John Fleck), xmllint return code
4191 (John Fleck), man pages (Ville Skytta),
4192 - bug fixes: C14N bug serializing namespaces (Aleksey Sanin), testSAX
4193 properly initialize the library (William), empty node set in XPath
4194 (William), xmlSchemas errors (William), invalid charref problem pointed
4195 by Morus Walter, XInclude xml:base generation (William), Relax-NG bug
4196 with div processing (William), XPointer and xml:base problem(William),
4197 Reader and entities, xmllint return code for schemas (William), reader
4198 streaming problem (Steve Ball), DTD serialization problem (William),
4199 libxml.m4 fixes (Mike Hommey), do not provide destructors as methods on
4200 Python classes, xmlReader buffer bug, Python bindings memory interfaces
4201 improvement (with Stéphane Bidoul), Fixed the push parser to be back to
4202 synchronous behaviour.
4203 - improvement: custom per-thread I/O enhancement (Rob Richards), register
4204 namespace in debug shell (Stefano Debenedetti), Python based regression
4205 test for non-Unix users (William), dynamically increase the number of
4206 XPath extension functions in Python and fix a memory leak (Marc-Antoine
4207 Parent and William)
4208 - performance: hack done with Arjan van de Ven to reduce ELF footprint
4209 and generated code on Linux, plus use gcc runtime profiling to optimize
4210 the code generated in the RPM packages.
4211
4212
4213 2.6.10: May 17 2004:
4214 - Web page generated for ChangeLog
4215 - build fixes: --without-html problems, make check without make all
4216 - portability: problem with xpath.c on Windows (MSC and Borland), memcmp
4217 vs. strncmp on Solaris, XPath tests on Windows (Mark Vakoc), C++ do not
4218 use "list" as parameter name, make tests work with Python 1.5 (Ed
4219 Davis),
4220 - improvements: made xmlTextReaderMode public, small buffers resizing
4221 (Morten Welinder), add --maxmem option to xmllint, add
4222 xmlPopInputCallback() for Matt Sergeant, refactoring of serialization
4223 escaping, added escaping customization
4224 - bugfixes: xsd:extension (Taihei Goi), assorted regexp bugs (William
4225 Brack), xmlReader end of stream problem, node deregistration with reader,
4226 URI escaping and filemanes, XHTML1 formatting (Nick Wellnhofer), regexp
4227 transition reduction (William), various XSD Schemas fixes (Kasimier
4228 Buchcik), XInclude fallback problem (William), weird problems with DTD
4229 (William), structured error handler callback context (William), reverse
4230 xmlEncodeSpecialChars() behaviour back to escaping '"'
4231
4232
4233 2.6.9: Apr 18 2004:
4234 - implement xml:id Working Draft, relaxed XPath id() checking
4235 - bugfixes: xmlCtxtReset (Brent Hendricks), line number and CDATA (Dave
4236 Beckett), Relax-NG compilation (William Brack), Regexp patches (with
4237 William), xmlUriEscape (Mark Vakoc), a Relax-NG notAllowed problem (with
4238 William), Relax-NG name classes compares (William), XInclude duplicate
4239 fallback (William), external DTD encoding detection (William), a DTD
4240 validation bug (William), xmlReader Close() fix, recursive extension
4241 schemas
4242 - improvements: use xmlRead* APIs in test tools (Mark Vakoc), indenting
4243 save optimization, better handle IIS broken HTTP redirect behaviour (Ian
4244 Hummel), HTML parser frameset (James Bursa), libxml2-python RPM
4245 dependency, XML Schemas union support (Kasimier Buchcik), warning removal
4246 clanup (William), keep ChangeLog compressed when installing from RPMs
4247 - documentation: examples and xmlDocDumpMemory docs (John Fleck), new
4248 example (load, xpath, modify, save), xmlCatalogDump() comments,
4249 - Windows: Borland C++ builder (Eric Zurcher), work around Microsoft
4250 compiler NaN handling bug (Mark Vakoc)
4251
4252
4253 2.6.8: Mar 23 2004:
4254 - First step of the cleanup of the serialization code and APIs
4255 - XML Schemas: mixed content (Adam Dickmeiss), QName handling fixes (Adam
4256 Dickmeiss), anyURI for "" (John Belmonte)
4257 - Python: Canonicalization C14N support added (Anthony Carrico)
4258 - xmlDocCopyNode() extension (William)
4259 - Relax-NG: fix when processing XInclude results (William), external
4260 reference in interleave (William), missing error on <choice>
4261 failure (William), memory leak in schemas datatype facets.
4262 - xmlWriter: patch for better DTD support (Alfred Mickautsch)
4263 - bug fixes: xmlXPathLangFunction memory leak (Mike Hommey and William
4264 Brack), no ID errors if using HTML_PARSE_NOERROR, xmlcatalog fallbacks to
4265 URI on SYSTEM lookup failure, XInclude parse flags inheritance (William),
4266 XInclude and XPointer fixes for entities (William), XML parser bug
4267 reported by Holger Rauch, nanohttp fd leak (William), regexps char
4268 groups '-' handling (William), dictionary reference counting problems,
4269 do not close stderr.
4270 - performance patches from Petr Pajas
4271 - Documentation fixes: XML_CATALOG_FILES in man pages (Mike Hommey)
4272 - compilation and portability fixes: --without-valid, catalog cleanups
4273 (Peter Breitenlohner), MingW patch (Roland Schwingel), cross-compilation
4274 to Windows (Christophe de Vienne), --with-html-dir fixup (Julio Merino
4275 Vidal), Windows build (Eric Zurcher)
4276
4277
4278 2.6.7: Feb 23 2004:
4279 - documentation: tutorial updates (John Fleck), benchmark results
4280 - xmlWriter: updates and fixes (Alfred Mickautsch, Lucas Brasilino)
4281 - XPath optimization (Petr Pajas)
4282 - DTD ID handling optimization
4283 - bugfixes: xpath number with > 19 fractional (William Brack), push
4284 mode with unescaped '>' characters, fix xmllint --stream --timing, fix
4285 xmllint --memory --stream memory usage, xmlAttrSerializeTxtContent
4286 handling NULL, trying to fix Relax-NG/Perl interface.
4287 - python: 2.3 compatibility, whitespace fixes (Malcolm Tredinnick)
4288 - Added relaxng option to xmllint --shell
4289
4290
4291 2.6.6: Feb 12 2004:
4292 - nanohttp and nanoftp: buffer overflow error on URI parsing (Igor and
4293 William) reported by Yuuichi Teranishi
4294 - bugfixes: make test and path issues, xmlWriter attribute serialization
4295 (William Brack), xmlWriter indentation (William), schemas validation
4296 (Eric Haszlakiewicz), XInclude dictionaries issues (William and Oleg
4297 Paraschenko), XInclude empty fallback (William), HTML warnings (William),
4298 XPointer in XInclude (William), Python namespace serialization,
4299 isolat1ToUTF8 bound error (Alfred Mickautsch), output of parameter
4300 entities in internal subset (William), internal subset bug in push mode,
4301 <xs:all> fix (Alexey Sarytchev)
4302 - Build: fix for automake-1.8 (Alexander Winston), warnings removal
4303 (Philip Ludlam), SOCKLEN_T detection fixes (Daniel Richard), fix
4304 --with-minimum configuration.
4305 - XInclude: allow the 2001 namespace without warning.
4306 - Documentation: missing example/index.html (John Fleck), version
4307 dependencies (John Fleck)
4308 - reader API: structured error reporting (Steve Ball)
4309 - Windows compilation: mingw, msys (Mikhail Grushinskiy), function
4310 prototype (Cameron Johnson), MSVC6 compiler warnings, _WINSOCKAPI_
4311 patch
4312 - Parsers: added xmlByteConsumed(ctxt) API to get the byte offset in
4313 input.
4314
4315
4316 2.6.5: Jan 25 2004:
4317 - Bugfixes: dictionaries for schemas (William Brack), regexp segfault
4318 (William), xs:all problem (William), a number of XPointer bugfixes
4319 (William), xmllint error go to stderr, DTD validation problem with
4320 namespace, memory leak (William), SAX1 cleanup and minimal options fixes
4321 (Mark Vadoc), parser context reset on error (Shaun McCance), XPath union
4322 evaluation problem (William) , xmlReallocLoc with NULL (Aleksey Sanin),
4323 XML Schemas double free (Steve Ball), XInclude with no href, argument
4324 callbacks order for XPath callbacks (Frederic Peters)
4325 - Documentation: python scripts (William Brack), xslt stylesheets (John
4326 Fleck), doc (Sven Zimmerman), I/O example.
4327 - Python bindings: fixes (William), enum support (Stéphane Bidoul),
4328 structured error reporting (Stéphane Bidoul)
4329 - XInclude: various fixes for conformance, problem related to dictionary
4330 references (William & me), recursion (William)
4331 - xmlWriter: indentation (Lucas Brasilino), memory leaks (Alfred
4332 Mickautsch),
4333 - xmlSchemas: normalizedString datatype (John Belmonte)
4334 - code cleanup for strings functions (William)
4335 - Windows: compiler patches (Mark Vakoc)
4336 - Parser optimizations, a few new XPath and dictionary APIs for future
4337 XSLT optimizations.
4338
4339
4340 2.6.4: Dec 24 2003:
4341 - Windows build fixes (Igor Zlatkovic)
4342 - Some serious XInclude problems reported by Oleg Paraschenko and
4343 - Unix and Makefile packaging fixes (me, William Brack,
4344 - Documentation improvements (John Fleck, William Brack), example fix
4345 (Lucas Brasilino)
4346 - bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of
4347 NULL strings (William Brack) , API building reader or parser from
4348 filedescriptor should not close it, changed XPath sorting to be stable
4349 again (William Brack), xmlGetNodePath() generating '(null)' (William
4350 Brack), DTD validation and namespace bug (William Brack), XML Schemas
4351 double inclusion behaviour
4352
4353
4354 2.6.3: Dec 10 2003:
4355 - documentation updates and cleanup (DV, William Brack, John Fleck)
4356 - added a repository of examples, examples from Aleksey Sanin, Dodji
4357 Seketeli, Alfred Mickautsch
4358 - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw
4359 (Kenneth Haley)
4360 - Unicode range checking (William Brack)
4361 - code cleanup (William Brack)
4362 - Python bindings: doc (John Fleck), bug fixes
4363 - UTF-16 cleanup and BOM issues (William Brack)
4364 - bug fixes: ID and xmlReader validation, XPath (William Brack),
4365 xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser
4366 (James Bursa), attribute defaulting and validation, some serialization
4367 cleanups, XML_GET_LINE macro, memory debug when using threads (William
4368 Brack), serialization of attributes and entities content, xmlWriter
4369 (Daniel Schulman)
4370 - XInclude bugfix, new APIs and update to the last version including the
4371 namespace change.
4372 - XML Schemas improvements: include (Robert Stepanek), import and
4373 namespace handling, fixed the regression tests troubles, added examples
4374 based on Eric van der Vlist book, regexp fixes
4375 - preliminary pattern support for streaming (needed for schemas
4376 constraints), added xmlTextReaderPreservePattern() to collect subdocument
4377 when streaming.
4378 - various fixes in the structured error handling
4379
4380
4381 2.6.2: Nov 4 2003:
4382 - XPath context unregistration fixes
4383 - text node coalescing fixes (Mark Lilback)
4384 - API to screate a W3C Schemas from an existing document (Steve Ball)
4385 - BeOS patches (Marcin 'Shard' Konicki)
4386 - xmlStrVPrintf function added (Aleksey Sanin)
4387 - compilation fixes (Mark Vakoc)
4388 - stdin parsing fix (William Brack)
4389 - a posteriori DTD validation fixes
4390 - xmlReader bug fixes: Walker fixes, python bindings
4391 - fixed xmlStopParser() to really stop the parser and errors
4392 - always generate line numbers when using the new xmlReadxxx
4393 functions
4394 - added XInclude support to the xmlReader interface
4395 - implemented XML_PARSE_NONET parser option
4396 - DocBook XSLT processing bug fixed
4397 - HTML serialization for <p> elements (William Brack and me)
4398 - XPointer failure in XInclude are now handled as resource errors
4399 - fixed xmllint --html to use the HTML serializer on output (added
4400 --xmlout to implement the previous behaviour of saving it using the XML
4401 serializer)
4402
4403
4404 2.6.1: Oct 28 2003:
4405 - Mostly bugfixes after the big 2.6.0 changes
4406 - Unix compilation patches: libxml.m4 (Patrick Welche), warnings cleanup
4407 (William Brack)
4408 - Windows compilation patches (Joachim Bauch, Stephane Bidoul, Igor
4409 Zlatkovic)
4410 - xmlWriter bugfix (Alfred Mickautsch)
4411 - chvalid.[ch]: couple of fixes from Stephane Bidoul
4412 - context reset: error state reset, push parser reset (Graham
4413 Bennett)
4414 - context reuse: generate errors if file is not readable
4415 - defaulted attributes for element coming from internal entities
4416 (Stephane Bidoul)
4417 - Python: tab and spaces mix (William Brack)
4418 - Error handler could crash in DTD validation in 2.6.0
4419 - xmlReader: do not use the document or element _private field
4420 - testSAX.c: avoid a problem with some PIs (Massimo Morara)
4421 - general bug fixes: mandatory encoding in text decl, serializing
4422 Document Fragment nodes, xmlSearchNs 2.6.0 problem (Kasimier Buchcik),
4423 XPath errors not reported, slow HTML parsing of large documents.
4424
4425
4426 2.6.0: Oct 20 2003:
4427 - Major revision release: should be API and ABI compatible but got a lot
4428 of change
4429 - Increased the library modularity, far more options can be stripped out,
4430 a --with-minimum configuration will weight around 160KBytes
4431 - Use per parser and per document dictionary, allocate names and small
4432 text nodes from the dictionary
4433 - Switch to a SAX2 like parser rewrote most of the XML parser core,
4434 provides namespace resolution and defaulted attributes, minimize memory
4435 allocations and copies, namespace checking and specific error handling,
4436 immutable buffers, make predefined entities static structures, etc...
4437 - rewrote all the error handling in the library, all errors can be
4438 intercepted at a structured level, with precise information
4439 available.
4440 - New simpler and more generic XML and HTML parser APIs, allowing to
4441 easily modify the parsing options and reuse parser context for multiple
4442 consecutive documents.
4443 - Similar new APIs for the xmlReader, for options and reuse, provided new
4444 functions to access content as const strings, use them for Python
4445 bindings
4446 - a lot of other smaller API improvements: xmlStrPrintf (Aleksey Sanin),
4447 Walker i.e. reader on a document tree based on Alfred Mickautsch code,
4448 make room in nodes for line numbers, reference counting and future PSVI
4449 extensions, generation of character ranges to be checked with faster
4450 algorithm (William), xmlParserMaxDepth (Crutcher Dunnavant), buffer
4451 access
4452 - New xmlWriter API provided by Alfred Mickautsch
4453 - Schemas: base64 support by Anthony Carrico
4454 - Parser<->HTTP integration fix, proper processing of the Mime-Type
4455 and charset information if available.
4456 - Relax-NG: bug fixes including the one reported by Martijn Faassen and
4457 zeroOrMore, better error reporting.
4458 - Python bindings (Stéphane Bidoul), never use stdout for errors
4459 output
4460 - Portability: all the headers have macros for export and calling
4461 convention definitions (Igor Zlatkovic), VMS update (Craig A. Berry),
4462 Windows: threads (Jesse Pelton), Borland compiler (Eric Zurcher, Igor),
4463 Mingw (Igor), typos (Mark Vakoc), beta version (Stephane Bidoul),
4464 warning cleanups on AIX and MIPS compilers (William Brack), BeOS (Marcin
4465 'Shard' Konicki)
4466 - Documentation fixes and README (William Brack), search fix (William),
4467 tutorial updates (John Fleck), namespace docs (Stefan Kost)
4468 - Bug fixes: xmlCleanupParser (Dave Beckett), threading uninitialized
4469 mutexes, HTML doctype lowercase, SAX/IO (William), compression detection
4470 and restore (William), attribute declaration in DTDs (William), namespace
4471 on attribute in HTML output (William), input filename (Rob Richards),
4472 namespace DTD validation, xmlReplaceNode (Chris Ryland), I/O callbacks
4473 (Markus Keim), CDATA serialization (Shaun McCance), xmlReader (Peter
4474 Derr), high codepoint charref like &#x10FFFF;, buffer access in push
4475 mode (Justin Fletcher), TLS threads on Windows (Jesse Pelton), XPath bug
4476 (William), xmlCleanupParser (Marc Liyanage), CDATA output (William), HTTP
4477 error handling.
4478 - xmllint options: --dtdvalidfpi for Tobias Reif, --sax1 for compat
4479 testing, --nodict for building without tree dictionary, --nocdata to
4480 replace CDATA by text, --nsclean to remove surperfluous namespace
4481 declarations
4482 - added xml2-config --libtool-libs option from Kevin P. Fleming
4483 - a lot of profiling and tuning of the code, speedup patch for
4484 xmlSearchNs() by Luca Padovani. The xmlReader should do far less
4485 allocation and it speed should get closer to SAX. Chris Anderson worked
4486 on speeding and cleaning up repetitive checking code.
4487 - cleanup of "make tests"
4488 - libxml-2.0-uninstalled.pc from Malcolm Tredinnick
4489 - deactivated the broken docBook SGML parser code and plugged the XML
4490 parser instead.
4491
4492
4493 2.5.11: Sep 9 2003:
4494 A bugfix only release: - risk of crash in Relax-NG
4495 - risk of crash when using multithreaded programs
4496
4497
4498 2.5.10: Aug 15 2003:
4499 A bugfixes only release - Windows Makefiles (William Brack)
4500 - UTF-16 support fixes (Mark Itzcovitz)
4501 - Makefile and portability (William Brack) automake, Linux alpha, Mingw
4502 on Windows (Mikhail Grushinskiy)
4503 - HTML parser (Oliver Stoeneberg)
4504 - XInclude performance problem reported by Kevin Ruscoe
4505 - XML parser performance problem reported by Grant Goodale
4506 - xmlSAXParseDTD() bug fix from Malcolm Tredinnick
4507 - and a couple other cleanup
4508
4509
4510 2.5.9: Aug 9 2003:
4511 - bugfixes: IPv6 portability, xmlHasNsProp (Markus Keim), Windows build
4512 (Wiliam Brake, Jesse Pelton, Igor), Schemas (Peter Sobisch), threading
4513 (Rob Richards), hexBinary type (), UTF-16 BOM (Dodji Seketeli),
4514 xmlReader, Relax-NG schemas compilation, namespace handling, EXSLT (Sean
4515 Griffin), HTML parsing problem (William Brack), DTD validation for mixed
4516 content + namespaces, HTML serialization, library initialization,
4517 progressive HTML parser
4518 - better interfaces for Relax-NG error handling (Joachim Bauch, )
4519 - adding xmlXIncludeProcessTree() for XInclud'ing in a subtree
4520 - doc fixes and improvements (John Fleck)
4521 - configure flag for -with-fexceptions when embedding in C++
4522 - couple of new UTF-8 helper functions (William Brack)
4523 - general encoding cleanup + ISO-8859-x without iconv (Peter Jacobi)
4524 - xmlTextReader cleanup + enum for node types (Bjorn Reese)
4525 - general compilation/warning cleanup Solaris/HP-UX/... (William
4526 Brack)
4527
4528
4529 2.5.8: Jul 6 2003:
4530 - bugfixes: XPath, XInclude, file/URI mapping, UTF-16 save (Mark
4531 Itzcovitz), UTF-8 checking, URI saving, error printing (William Brack),
4532 PI related memleak, compilation without schemas or without xpath (Joerg
4533 Schmitz-Linneweber/Garry Pennington), xmlUnlinkNode problem with DTDs,
4534 rpm problem on , i86_64, removed a few compilation problems from 2.5.7,
4535 xmlIOParseDTD, and xmlSAXParseDTD (Malcolm Tredinnick)
4536 - portability: DJGPP (MsDos) , OpenVMS (Craig A. Berry)
4537 - William Brack fixed multithreading lock problems
4538 - IPv6 patch for FTP and HTTP accesses (Archana Shah/Wipro)
4539 - Windows fixes (Igor Zlatkovic, Eric Zurcher), threading (Stéphane
4540 Bidoul)
4541 - A few W3C Schemas Structure improvements
4542 - W3C Schemas Datatype improvements (Charlie Bozeman)
4543 - Python bindings for thread globals (Stéphane Bidoul), and method/class
4544 generator
4545 - added --nonet option to xmllint
4546 - documentation improvements (John Fleck)
4547
4548
4549 2.5.7: Apr 25 2003:
4550 - Relax-NG: Compiling to regexp and streaming validation on top of the
4551 xmlReader interface, added to xmllint --stream
4552 - xmlReader: Expand(), Next() and DOM access glue, bug fixes
4553 - Support for large files: RGN validated a 4.5GB instance
4554 - Thread support is now configured in by default
4555 - Fixes: update of the Trio code (Bjorn), WXS Date and Duration fixes
4556 (Charles Bozeman), DTD and namespaces (Brent Hendricks), HTML push parser
4557 and zero bytes handling, some missing Windows file path conversions,
4558 behaviour of the parser and validator in the presence of "out of memory"
4559 error conditions
4560 - extended the API to be able to plug a garbage collecting memory
4561 allocator, added xmlMallocAtomic() and modified the allocations
4562 accordingly.
4563 - Performances: removed excessive malloc() calls, speedup of the push and
4564 xmlReader interfaces, removed excessive thread locking
4565 - Documentation: man page (John Fleck), xmlReader documentation
4566 - Python: adding binding for xmlCatalogAddLocal (Brent M Hendricks)
4567
4568
4569 2.5.6: Apr 1 2003:
4570 - Fixed W3C XML Schemas datatype, should be compliant now except for
4571 binHex and base64 which are not supported yet.
4572 - bug fixes: non-ASCII IDs, HTML output, XInclude on large docs and
4573 XInclude entities handling, encoding detection on external subsets, XML
4574 Schemas bugs and memory leaks, HTML parser (James Bursa)
4575 - portability: python/trio (Albert Chin), Sun compiler warnings
4576 - documentation: added --relaxng option to xmllint man page (John)
4577 - improved error reporting: xml:space, start/end tag mismatches, Relax NG
4578 errors
4579
4580
4581 2.5.5: Mar 24 2003:
4582 - Lot of fixes on the Relax NG implementation. More testing including
4583 DocBook and TEI examples.
4584 - Increased the support for W3C XML Schemas datatype
4585 - Several bug fixes in the URI handling layer
4586 - Bug fixes: HTML parser, xmlReader, DTD validation, XPath, encoding
4587 conversion, line counting in the parser.
4588 - Added support for $XMLLINT_INDENT environment variable, FTP delete
4589 - Fixed the RPM spec file name
4590
4591
4592 2.5.4: Feb 20 2003:
4593 - Conformance testing and lot of fixes on Relax NG and XInclude
4594 implementation
4595 - Implementation of XPointer element() scheme
4596 - Bug fixes: XML parser, XInclude entities merge, validity checking on
4597 namespaces,
4598 2 serialization bugs, node info generation problems, a DTD regexp
4599 generation problem.
4600
4601 - Portability: windows updates and path canonicalization (Igor)
4602 - A few typo fixes (Kjartan Maraas)
4603 - Python bindings generator fixes (Stephane Bidoul)
4604
4605
4606 2.5.3: Feb 10 2003:
4607 - RelaxNG and XML Schemas datatypes improvements, and added a first
4608 version of RelaxNG Python bindings
4609 - Fixes: XLink (Sean Chittenden), XInclude (Sean Chittenden), API fix for
4610 serializing namespace nodes, encoding conversion bug, XHTML1
4611 serialization
4612 - Portability fixes: Windows (Igor), AMD 64bits RPM spec file
4613
4614
4615 2.5.2: Feb 5 2003:
4616 - First implementation of RelaxNG, added --relaxng flag to xmllint
4617 - Schemas support now compiled in by default.
4618 - Bug fixes: DTD validation, namespace checking, XInclude and entities,
4619 delegateURI in XML Catalogs, HTML parser, XML reader (Stéphane Bidoul),
4620 XPath parser and evaluation, UTF8ToUTF8 serialization, XML reader memory
4621 consumption, HTML parser, HTML serialization in the presence of
4622 namespaces
4623 - added an HTML API to check elements and attributes.
4624 - Documentation improvement, PDF for the tutorial (John Fleck), doc
4625 patches (Stefan Kost)
4626 - Portability fixes: NetBSD (Julio Merino), Windows (Igor Zlatkovic)
4627 - Added python bindings for XPointer, contextual error reporting
4628 (Stéphane Bidoul)
4629 - URI/file escaping problems (Stefano Zacchiroli)
4630
4631
4632 2.5.1: Jan 8 2003:
4633 - Fixes a memory leak and configuration/compilation problems in 2.5.0
4634 - documentation updates (John)
4635 - a couple of XmlTextReader fixes
4636
4637
4638 2.5.0: Jan 6 2003:
4639 - New XmltextReader interface based on C#
4640 API (with help of Stéphane Bidoul)
4641 - Windows: more exports, including the new API (Igor)
4642 - XInclude fallback fix
4643 - Python: bindings for the new API, packaging (Stéphane Bidoul),
4644 drv_libxml2.py Python xml.sax driver (Stéphane Bidoul), fixes, speedup
4645 and iterators for Python-2.2 (Hannu Krosing)
4646 - Tutorial fixes (john Fleck and Niraj Tolia) xmllint man update
4647 (John)
4648 - Fix an XML parser bug raised by Vyacheslav Pindyura
4649 - Fix for VMS serialization (Nigel Hall) and config (Craig A. Berry)
4650 - Entities handling fixes
4651 - new API to optionally track node creation and deletion (Lukas
4652 Schroeder)
4653 - Added documentation for the XmltextReader interface and some XML guidelines
4654
4655
4656 2.4.30: Dec 12 2002:
4657 - 2.4.29 broke the python bindings, rereleasing
4658 - Improvement/fixes of the XML API generator, and couple of minor code
4659 fixes.
4660
4661
4662 2.4.29: Dec 11 2002:
4663 - Windows fixes (Igor): Windows CE port, pthread linking, python bindings
4664 (Stéphane Bidoul), Mingw (Magnus Henoch), and export list updates
4665 - Fix for prev in python bindings (ERDI Gergo)
4666 - Fix for entities handling (Marcus Clarke)
4667 - Refactored the XML and HTML dumps to a single code path, fixed XHTML1
4668 dump
4669 - Fix for URI parsing when handling URNs with fragment identifiers
4670 - Fix for HTTP URL escaping problem
4671 - added an TextXmlReader (C#) like API (work in progress)
4672 - Rewrote the API in XML generation script, includes a C parser and saves
4673 more information needed for C# bindings
4674
4675
4676 2.4.28: Nov 22 2002:
4677 - a couple of python binding fixes
4678 - 2 bug fixes in the XML push parser
4679 - potential memory leak removed (Martin Stoilov)
4680 - fix to the configure script for Unix (Dimitri Papadopoulos)
4681 - added encoding support for XInclude parse="text"
4682 - autodetection of XHTML1 and specific serialization rules added
4683 - nasty threading bug fixed (William Brack)
4684
4685
4686 2.4.27: Nov 17 2002:
4687 - fixes for the Python bindings
4688 - a number of bug fixes: SGML catalogs, xmlParseBalancedChunkMemory(),
4689 HTML parser, Schemas (Charles Bozeman), document fragment support
4690 (Christian Glahn), xmlReconciliateNs (Brian Stafford), XPointer,
4691 xmlFreeNode(), xmlSAXParseMemory (Peter Jones), xmlGetNodePath (Petr
4692 Pajas), entities processing
4693 - added grep to xmllint --shell
4694 - VMS update patch from Craig A. Berry
4695 - cleanup of the Windows build with support for more compilers (Igor),
4696 better thread support on Windows
4697 - cleanup of Unix Makefiles and spec file
4698 - Improvements to the documentation (John Fleck)
4699
4700
4701 2.4.26: Oct 18 2002:
4702 - Patches for Windows CE port, improvements on Windows paths handling
4703 - Fixes to the validation code (DTD and Schemas), xmlNodeGetPath() ,
4704 HTML serialization, Namespace compliance, and a number of small
4705 problems
4706
4707
4708 2.4.25: Sep 26 2002:
4709 - A number of bug fixes: XPath, validation, Python bindings, DOM and
4710 tree, xmlI/O, Html
4711 - Serious rewrite of XInclude
4712 - Made XML Schemas regexp part of the default build and APIs, small fix
4713 and improvement of the regexp core
4714 - Changed the validation code to reuse XML Schemas regexp APIs
4715 - Better handling of Windows file paths, improvement of Makefiles (Igor,
4716 Daniel Gehriger, Mark Vakoc)
4717 - Improved the python I/O bindings, the tests, added resolver and regexp
4718 APIs
4719 - New logos from Marc Liyanage
4720 - Tutorial improvements: John Fleck, Christopher Harris
4721 - Makefile: Fixes for AMD x86_64 (Mandrake), DESTDIR (Christophe
4722 Merlet)
4723 - removal of all stderr/perror use for error reporting
4724 - Better error reporting: XPath and DTD validation
4725 - update of the trio portability layer (Bjorn Reese)
4726
4727 2.4.24: Aug 22 2002 - XPath fixes (William), xf:escape-uri() (Wesley Terpstra)
4728 - Python binding fixes: makefiles (William), generator, rpm build, x86-64
4729 (fcrozat)
4730 - HTML <style> and boolean attributes serializer fixes
4731 - C14N improvements by Aleksey
4732 - doc cleanups: Rick Jones
4733 - Windows compiler makefile updates: Igor and Elizabeth Barham
4734 - XInclude: implementation of fallback and xml:base fixup added
4735
4736
4737 2.4.23: July 6 2002:
4738 - performances patches: Peter Jacobi
4739 - c14n fixes, testsuite and performances: Aleksey Sanin
4740 - added xmlDocFormatDump: Chema Celorio
4741 - new tutorial: John Fleck
4742 - new hash functions and performances: Sander Vesik, portability fix from
4743 Peter Jacobi
4744 - a number of bug fixes: XPath (William Brack, Richard Jinks), XML and
4745 HTML parsers, ID lookup function
4746 - removal of all remaining sprintf: Aleksey Sanin
4747
4748
4749 2.4.22: May 27 2002:
4750 - a number of bug fixes: configure scripts, base handling, parser, memory
4751 usage, HTML parser, XPath, documentation (Christian Cornelssen),
4752 indentation, URI parsing
4753 - Optimizations for XMLSec, fixing and making public some of the network
4754 protocol handlers (Aleksey)
4755 - performance patch from Gary Pennington
4756 - Charles Bozeman provided date and time support for XML Schemas
4757 datatypes
4758
4759
4760 2.4.21: Apr 29 2002:
4761 This release is both a bug fix release and also contains the early XML
4762 Schemas structures at
4763 http://www.w3.org/TR/xmlschema-1/
4764 and datatypes at
4765 http://www.w3.org/TR/xmlschema-2/
4766 code, beware, all
4767 interfaces are likely to change, there is huge holes, it is clearly a work in
4768 progress and don't even think of putting this code in a production system,
4769 it's actually not compiled in by default. The real fixes are:
4770 - a couple of bugs or limitations introduced in 2.4.20
4771 - patches for Borland C++ and MSC by Igor
4772 - some fixes on XPath strings and conformance patches by Richard
4773 Jinks
4774 - patch from Aleksey for the ExcC14N specification
4775 - OSF/1 bug fix by Bjorn
4776
4777
4778 2.4.20: Apr 15 2002:
4779 - bug fixes: file descriptor leak, XPath, HTML output, DTD validation
4780 - XPath conformance testing by Richard Jinks
4781 - Portability fixes: Solaris, MPE/iX, Windows, OSF/1, python bindings,
4782 libxml.m4
4783
4784
4785 2.4.19: Mar 25 2002:
4786 - bug fixes: half a dozen XPath bugs, Validation, ISO-Latin to UTF8
4787 encoder
4788 - portability fixes in the HTTP code
4789 - memory allocation checks using valgrind, and profiling tests
4790 - revamp of the Windows build and Makefiles
4791
4792
4793 2.4.18: Mar 18 2002:
4794 - bug fixes: tree, SAX, canonicalization, validation, portability,
4795 XPath
4796 - removed the --with-buffer option it was becoming unmaintainable
4797 - serious cleanup of the Python makefiles
4798 - speedup patch to XPath very effective for DocBook stylesheets
4799 - Fixes for Windows build, cleanup of the documentation
4800
4801
4802 2.4.17: Mar 8 2002:
4803 - a lot of bug fixes, including "namespace nodes have no parents in
4804 XPath"
4805 - fixed/improved the Python wrappers, added more examples and more
4806 regression tests, XPath extension functions can now return node-sets
4807 - added the XML Canonicalization support from Aleksey Sanin
4808
4809
4810 2.4.16: Feb 20 2002:
4811 - a lot of bug fixes, most of them were triggered by the XML Testsuite
4812 from OASIS and W3C. Compliance has been significantly improved.
4813 - a couple of portability fixes too.
4814
4815
4816 2.4.15: Feb 11 2002:
4817 - Fixed the Makefiles, especially the python module ones
4818 - A few bug fixes and cleanup
4819 - Includes cleanup
4820
4821
4822 2.4.14: Feb 8 2002:
4823 - Change of License to the MIT
4824 License basically for integration in XFree86 codebase, and removing
4825 confusion around the previous dual-licensing
4826 - added Python bindings, beta software but should already be quite
4827 complete
4828 - a large number of fixes and cleanups, especially for all tree
4829 manipulations
4830 - cleanup of the headers, generation of a reference API definition in
4831 XML
4832
4833
4834 2.4.13: Jan 14 2002:
4835 - update of the documentation: John Fleck and Charlie Bozeman
4836 - cleanup of timing code from Justin Fletcher
4837 - fixes for Windows and initial thread support on Win32: Igor and Serguei
4838 Narojnyi
4839 - Cygwin patch from Robert Collins
4840 - added xmlSetEntityReferenceFunc() for Keith Isdale work on xsldbg
4841
4842
4843 2.4.12: Dec 7 2001:
4844 - a few bug fixes: thread (Gary Pennington), xmllint (Geert Kloosterman),
4845 XML parser (Robin Berjon), XPointer (Danny Jamshy), I/O cleanups
4846 (robert)
4847 - Eric Lavigne contributed project files for MacOS
4848 - some makefiles cleanups
4849
4850
4851 2.4.11: Nov 26 2001:
4852 - fixed a couple of errors in the includes, fixed a few bugs, some code
4853 cleanups
4854 - xmllint man pages improvement by Heiko Rupp
4855 - updated VMS build instructions from John A Fotheringham
4856 - Windows Makefiles updates from Igor
4857
4858
4859 2.4.10: Nov 10 2001:
4860 - URI escaping fix (Joel Young)
4861 - added xmlGetNodePath() (for paths or XPointers generation)
4862 - Fixes namespace handling problems when using DTD and validation
4863 - improvements on xmllint: Morus Walter patches for --format and
4864 --encode, Stefan Kost and Heiko Rupp improvements on the --shell
4865 - fixes for xmlcatalog linking pointed by Weiqi Gao
4866 - fixes to the HTML parser
4867
4868
4869 2.4.9: Nov 6 2001:
4870 - fixes more catalog bugs
4871 - avoid a compilation problem, improve xmlGetLineNo()
4872
4873
4874 2.4.8: Nov 4 2001:
4875 - fixed SGML catalogs broken in previous release, updated xmlcatalog
4876 tool
4877 - fixed a compile errors and some includes troubles.
4878
4879
4880 2.4.7: Oct 30 2001:
4881 - exported some debugging interfaces
4882 - serious rewrite of the catalog code
4883 - integrated Gary Pennington thread safety patch, added configure option
4884 and regression tests
4885 - removed an HTML parser bug
4886 - fixed a couple of potentially serious validation bugs
4887 - integrated the SGML DocBook support in xmllint
4888 - changed the nanoftp anonymous login passwd
4889 - some I/O cleanup and a couple of interfaces for Perl wrapper
4890 - general bug fixes
4891 - updated xmllint man page by John Fleck
4892 - some VMS and Windows updates
4893
4894
4895 2.4.6: Oct 10 2001:
4896 - added an updated man pages by John Fleck
4897 - portability and configure fixes
4898 - an infinite loop on the HTML parser was removed (William)
4899 - Windows makefile patches from Igor
4900 - fixed half a dozen bugs reported for libxml or libxslt
4901 - updated xmlcatalog to be able to modify SGML super catalogs
4902
4903
4904 2.4.5: Sep 14 2001:
4905 - Remove a few annoying bugs in 2.4.4
4906 - forces the HTML serializer to output decimal charrefs since some
4907 version of Netscape can't handle hexadecimal ones
4908
4909
4910 1.8.16: Sep 14 2001:
4911 - maintenance release of the old libxml1 branch, couple of bug and
4912 portability fixes
4913
4914
4915 2.4.4: Sep 12 2001:
4916 - added --convert to xmlcatalog, bug fixes and cleanups of XML
4917 Catalog
4918 - a few bug fixes and some portability changes
4919 - some documentation cleanups
4920
4921
4922 2.4.3: Aug 23 2001:
4923 - XML Catalog support see the doc
4924 - New NaN/Infinity floating point code
4925 - A few bug fixes
4926
4927
4928 2.4.2: Aug 15 2001:
4929 - adds xmlLineNumbersDefault() to control line number generation
4930 - lot of bug fixes
4931 - the Microsoft MSC projects files should now be up to date
4932 - inheritance of namespaces from DTD defaulted attributes
4933 - fixes a serious potential security bug
4934 - added a --format option to xmllint
4935
4936
4937 2.4.1: July 24 2001:
4938 - possibility to keep line numbers in the tree
4939 - some computation NaN fixes
4940 - extension of the XPath API
4941 - cleanup for alpha and ia64 targets
4942 - patch to allow saving through HTTP PUT or POST
4943
4944
4945 2.4.0: July 10 2001:
4946 - Fixed a few bugs in XPath, validation, and tree handling.
4947 - Fixed XML Base implementation, added a couple of examples to the
4948 regression tests
4949 - A bit of cleanup
4950
4951
4952 2.3.14: July 5 2001:
4953 - fixed some entities problems and reduce memory requirement when
4954 substituting them
4955 - lots of improvements in the XPath queries interpreter can be
4956 substantially faster
4957 - Makefiles and configure cleanups
4958 - Fixes to XPath variable eval, and compare on empty node set
4959 - HTML tag closing bug fixed
4960 - Fixed an URI reference computation problem when validating
4961
4962
4963 2.3.13: June 28 2001:
4964 - 2.3.12 configure.in was broken as well as the push mode XML parser
4965 - a few more fixes for compilation on Windows MSC by Yon Derek
4966
4967
4968 1.8.14: June 28 2001:
4969 - Zbigniew Chyla gave a patch to use the old XML parser in push mode
4970 - Small Makefile fix
4971
4972
4973 2.3.12: June 26 2001:
4974 - lots of cleanup
4975 - a couple of validation fix
4976 - fixed line number counting
4977 - fixed serious problems in the XInclude processing
4978 - added support for UTF8 BOM at beginning of entities
4979 - fixed a strange gcc optimizer bugs in xpath handling of float, gcc-3.0
4980 miscompile uri.c (William), Thomas Leitner provided a fix for the
4981 optimizer on Tru64
4982 - incorporated Yon Derek and Igor Zlatkovic fixes and improvements for
4983 compilation on Windows MSC
4984 - update of libxml-doc.el (Felix Natter)
4985 - fixed 2 bugs in URI normalization code
4986
4987
4988 2.3.11: June 17 2001:
4989 - updates to trio, Makefiles and configure should fix some portability
4990 problems (alpha)
4991 - fixed some HTML serialization problems (pre, script, and block/inline
4992 handling), added encoding aware APIs, cleanup of this code
4993 - added xmlHasNsProp()
4994 - implemented a specific PI for encoding support in the DocBook SGML
4995 parser
4996 - some XPath fixes (-Infinity, / as a function parameter and namespaces
4997 node selection)
4998 - fixed a performance problem and an error in the validation code
4999 - fixed XInclude routine to implement the recursive behaviour
5000 - fixed xmlFreeNode problem when libxml is included statically twice
5001 - added --version to xmllint for bug reports
5002
5003
5004 2.3.10: June 1 2001:
5005 - fixed the SGML catalog support
5006 - a number of reported bugs got fixed, in XPath, iconv detection,
5007 XInclude processing
5008 - XPath string function should now handle unicode correctly
5009
5010
5011 2.3.9: May 19 2001:
5012 Lots of bugfixes, and added a basic SGML catalog support:
5013 - HTML push bugfix #54891 and another patch from Jonas Borgstrom
5014 - some serious speed optimization again
5015 - some documentation cleanups
5016 - trying to get better linking on Solaris (-R)
5017 - XPath API cleanup from Thomas Broyer
5018 - Validation bug fixed #54631, added a patch from Gary Pennington, fixed
5019 xmlValidGetValidElements()
5020 - Added an INSTALL file
5021 - Attribute removal added to API: #54433
5022 - added a basic support for SGML catalogs
5023 - fixed xmlKeepBlanksDefault(0) API
5024 - bugfix in xmlNodeGetLang()
5025 - fixed a small configure portability problem
5026 - fixed an inversion of SYSTEM and PUBLIC identifier in HTML document
5027
5028
5029 1.8.13: May 14 2001:
5030 - bugfixes release of the old libxml1 branch used by Gnome
5031
5032
5033 2.3.8: May 3 2001:
5034 - Integrated an SGML DocBook parser for the Gnome project
5035 - Fixed a few things in the HTML parser
5036 - Fixed some XPath bugs raised by XSLT use, tried to fix the floating
5037 point portability issue
5038 - Speed improvement (8M/s for SAX, 3M/s for DOM, 1.5M/s for
5039 DOM+validation using the XML REC as input and a 700MHz celeron).
5040 - incorporated more Windows cleanup
5041 - added xmlSaveFormatFile()
5042 - fixed problems in copying nodes with entities references (gdome)
5043 - removed some troubles surrounding the new validation module
5044
5045
5046 2.3.7: April 22 2001:
5047 - lots of small bug fixes, corrected XPointer
5048 - Non deterministic content model validation support
5049 - added xmlDocCopyNode for gdome2
5050 - revamped the way the HTML parser handles end of tags
5051 - XPath: corrections of namespaces support and number formatting
5052 - Windows: Igor Zlatkovic patches for MSC compilation
5053 - HTML output fixes from P C Chow and William M. Brack
5054 - Improved validation speed sensible for DocBook
5055 - fixed a big bug with ID declared in external parsed entities
5056 - portability fixes, update of Trio from Bjorn Reese
5057
5058
5059 2.3.6: April 8 2001:
5060 - Code cleanup using extreme gcc compiler warning options, found and
5061 cleared half a dozen potential problem
5062 - the Eazel team found an XML parser bug
5063 - cleaned up the user of some of the string formatting function. used the
5064 trio library code to provide the one needed when the platform is missing
5065 them
5066 - xpath: removed a memory leak and fixed the predicate evaluation
5067 problem, extended the testsuite and cleaned up the result. XPointer seems
5068 broken ...
5069
5070
5071 2.3.5: Mar 23 2001:
5072 - Biggest change is separate parsing and evaluation of XPath expressions,
5073 there is some new APIs for this too
5074 - included a number of bug fixes(XML push parser, 51876, notations,
5075 52299)
5076 - Fixed some portability issues
5077
5078
5079 2.3.4: Mar 10 2001:
5080 - Fixed bugs #51860 and #51861
5081 - Added a global variable xmlDefaultBufferSize to allow default buffer
5082 size to be application tunable.
5083 - Some cleanup in the validation code, still a bug left and this part
5084 should probably be rewritten to support ambiguous content model :-\
5085 - Fix a couple of serious bugs introduced or raised by changes in 2.3.3
5086 parser
5087 - Fixed another bug in xmlNodeGetContent()
5088 - Bjorn fixed XPath node collection and Number formatting
5089 - Fixed a loop reported in the HTML parsing
5090 - blank space are reported even if the Dtd content model proves that they
5091 are formatting spaces, this is for XML conformance
5092
5093
5094 2.3.3: Mar 1 2001:
5095 - small change in XPath for XSLT
5096 - documentation cleanups
5097 - fix in validation by Gary Pennington
5098 - serious parsing performances improvements
5099
5100
5101 2.3.2: Feb 24 2001:
5102 - chasing XPath bugs, found a bunch, completed some TODO
5103 - fixed a Dtd parsing bug
5104 - fixed a bug in xmlNodeGetContent
5105 - ID/IDREF support partly rewritten by Gary Pennington
5106
5107
5108 2.3.1: Feb 15 2001:
5109 - some XPath and HTML bug fixes for XSLT
5110 - small extension of the hash table interfaces for DOM gdome2
5111 implementation
5112 - A few bug fixes
5113
5114
5115 2.3.0: Feb 8 2001 (2.2.12 was on 25 Jan but I didn't kept track):
5116 - Lots of XPath bug fixes
5117 - Add a mode with Dtd lookup but without validation error reporting for
5118 XSLT
5119 - Add support for text node without escaping (XSLT)
5120 - bug fixes for xmlCheckFilename
5121 - validation code bug fixes from Gary Pennington
5122 - Patch from Paul D. Smith correcting URI path normalization
5123 - Patch to allow simultaneous install of libxml-devel and
5124 libxml2-devel
5125 - the example Makefile is now fixed
5126 - added HTML to the RPM packages
5127 - tree copying bugfixes
5128 - updates to Windows makefiles
5129 - optimization patch from Bjorn Reese
5130
5131
5132 2.2.11: Jan 4 2001:
5133 - bunch of bug fixes (memory I/O, xpath, ftp/http, ...)
5134 - added htmlHandleOmittedElem()
5135 - Applied Bjorn Reese's IPV6 first patch
5136 - Applied Paul D. Smith patches for validation of XInclude results
5137 - added XPointer xmlns() new scheme support
5138
5139
5140 2.2.10: Nov 25 2000:
5141 - Fix the Windows problems of 2.2.8
5142 - integrate OpenVMS patches
5143 - better handling of some nasty HTML input
5144 - Improved the XPointer implementation
5145 - integrate a number of provided patches
5146
5147
5148 2.2.9: Nov 25 2000:
5149 - erroneous release :-(
5150
5151
5152 2.2.8: Nov 13 2000:
5153 - First version of XInclude
5154 support
5155 - Patch in conditional section handling
5156 - updated MS compiler project
5157 - fixed some XPath problems
5158 - added an URI escaping function
5159 - some other bug fixes
5160
5161
5162 2.2.7: Oct 31 2000:
5163 - added message redirection
5164 - XPath improvements (thanks TOM !)
5165 - xmlIOParseDTD() added
5166 - various small fixes in the HTML, URI, HTTP and XPointer support
5167 - some cleanup of the Makefile, autoconf and the distribution content
5168
5169
5170 2.2.6: Oct 25 2000::
5171 - Added an hash table module, migrated a number of internal structure to
5172 those
5173 - Fixed a posteriori validation problems
5174 - HTTP module cleanups
5175 - HTML parser improvements (tag errors, script/style handling, attribute
5176 normalization)
5177 - coalescing of adjacent text nodes
5178 - couple of XPath bug fixes, exported the internal API
5179
5180
5181 2.2.5: Oct 15 2000::
5182 - XPointer implementation and testsuite
5183 - Lot of XPath fixes, added variable and functions registration, more
5184 tests
5185 - Portability fixes, lots of enhancements toward an easy Windows build
5186 and release
5187 - Late validation fixes
5188 - Integrated a lot of contributed patches
5189 - added memory management docs
5190 - a performance problem when using large buffer seems fixed
5191
5192
5193 2.2.4: Oct 1 2000::
5194 - main XPath problem fixed
5195 - Integrated portability patches for Windows
5196 - Serious bug fixes on the URI and HTML code
5197
5198
5199 2.2.3: Sep 17 2000:
5200 - bug fixes
5201 - cleanup of entity handling code
5202 - overall review of all loops in the parsers, all sprintf usage has been
5203 checked too
5204 - Far better handling of larges Dtd. Validating against DocBook XML Dtd
5205 works smoothly now.
5206
5207
5208 1.8.10: Sep 6 2000:
5209 - bug fix release for some Gnome projects
5210
5211
5212 2.2.2: August 12 2000:
5213 - mostly bug fixes
5214 - started adding routines to access xml parser context options
5215
5216
5217 2.2.1: July 21 2000:
5218 - a purely bug fixes release
5219 - fixed an encoding support problem when parsing from a memory block
5220 - fixed a DOCTYPE parsing problem
5221 - removed a bug in the function allowing to override the memory
5222 allocation routines
5223
5224
5225 2.2.0: July 14 2000:
5226 - applied a lot of portability fixes
5227 - better encoding support/cleanup and saving (content is now always
5228 encoded in UTF-8)
5229 - the HTML parser now correctly handles encodings
5230 - added xmlHasProp()
5231 - fixed a serious problem with &#38;
5232 - propagated the fix to FTP client
5233 - cleanup, bugfixes, etc ...
5234 - Added a page about libxml Internationalization
5235 support
5236
5237
5238 1.8.9: July 9 2000:
5239 - fixed the spec the RPMs should be better
5240 - fixed a serious bug in the FTP implementation, released 1.8.9 to solve
5241 rpmfind users problem
5242
5243
5244 2.1.1: July 1 2000:
5245 - fixes a couple of bugs in the 2.1.0 packaging
5246 - improvements on the HTML parser
5247
5248
5249 2.1.0 and 1.8.8: June 29 2000:
5250 - 1.8.8 is mostly a commodity package for upgrading to libxml2 according
5251 to new instructions. It fixes a nasty problem
5252 about &#38; charref parsing
5253 - 2.1.0 also ease the upgrade from libxml v1 to the recent version. it
5254 also contains numerous fixes and enhancements:
5255
5256 added xmlStopParser() to stop parsing
5257 improved a lot parsing speed when there is large CDATA blocks
5258 includes XPath patches provided by Picdar Technology
5259 tried to fix as much as possible DTD validation and namespace
5260 related problems
5261 output to a given encoding has been added/tested
5262 lot of various fixes
5263
5264
5265 - added xmlStopParser() to stop parsing
5266 - improved a lot parsing speed when there is large CDATA blocks
5267 - includes XPath patches provided by Picdar Technology
5268 - tried to fix as much as possible DTD validation and namespace
5269 related problems
5270 - output to a given encoding has been added/tested
5271 - lot of various fixes
5272
5273
5274 2.0.0: Apr 12 2000:
5275 - First public release of libxml2. If you are using libxml, it's a good
5276 idea to check the 1.x to 2.x upgrade instructions. NOTE: while initially
5277 scheduled for Apr 3 the release occurred only on Apr 12 due to massive
5278 workload.
5279 - The include are now located under $prefix/include/libxml (instead of
5280 $prefix/include/gnome-xml), they also are referenced by
5281 #include <libxml/xxx.h>
5282 instead of
5283 #include "xxx.h"
5284
5285 - a new URI module for parsing URIs and following strictly RFC 2396
5286 - the memory allocation routines used by libxml can now be overloaded
5287 dynamically by using xmlMemSetup()
5288 - The previously CVS only tool tester has been renamed
5289 xmllint and is now installed as part of the libxml2
5290 package
5291 - The I/O interface has been revamped. There is now ways to plug in
5292 specific I/O modules, either at the URI scheme detection level using
5293 xmlRegisterInputCallbacks() or by passing I/O functions when creating a
5294 parser context using xmlCreateIOParserCtxt()
5295 - there is a C preprocessor macro LIBXML_VERSION providing the version
5296 number of the libxml module in use
5297 - a number of optional features of libxml can now be excluded at
5298 configure time (FTP/HTTP/HTML/XPath/Debug)
5299
5300
5301 2.0.0beta: Mar 14 2000:
5302 - This is a first Beta release of libxml version 2
5303 - It's available only fromxmlsoft.org
5304 FTP, it's packaged as libxml2-2.0.0beta and available as tar and
5305 RPMs
5306 - This version is now the head in the Gnome CVS base, the old one is
5307 available under the tag LIB_XML_1_X
5308 - This includes a very large set of changes. From a programmatic point
5309 of view applications should not have to be modified too much, check the
5310 upgrade page
5311 - Some interfaces may changes (especially a bit about encoding).
5312 - the updates includes:
5313
5314 fix I18N support. ISO-Latin-x/UTF-8/UTF-16 (nearly) seems correctly
5315 handled now
5316 Better handling of entities, especially well-formedness checking
5317 and proper PEref extensions in external subsets
5318 DTD conditional sections
5319 Validation now correctly handle entities content
5320 change
5321 structures to accommodate DOM
5322
5323
5324 - fix I18N support. ISO-Latin-x/UTF-8/UTF-16 (nearly) seems correctly
5325 handled now
5326 - Better handling of entities, especially well-formedness checking
5327 and proper PEref extensions in external subsets
5328 - DTD conditional sections
5329 - Validation now correctly handle entities content
5330 - change
5331 structures to accommodate DOM
5332 - Serious progress were made toward compliance, here are the result of the test against the
5333 OASIS testsuite (except the Japanese tests since I don't support that
5334 encoding yet). This URL is rebuilt every couple of hours using the CVS
5335 head version.
5336
5337
5338 1.8.7: Mar 6 2000:
5339 - This is a bug fix release:
5340 - It is possible to disable the ignorable blanks heuristic used by
5341 libxml-1.x, a new function xmlKeepBlanksDefault(0) will allow this. Note
5342 that for adherence to XML spec, this behaviour will be disabled by
5343 default in 2.x . The same function will allow to keep compatibility for
5344 old code.
5345 - Blanks in <a> </a> constructs are not ignored anymore,
5346 avoiding heuristic is really the Right Way :-\
5347 - The unchecked use of snprintf which was breaking libxml-1.8.6
5348 compilation on some platforms has been fixed
5349 - nanoftp.c nanohttp.c: Fixed '#' and '?' stripping when processing
5350 URIs
5351
5352
5353 1.8.6: Jan 31 2000:
5354 - added a nanoFTP transport module, debugged until the new version of rpmfind can use
5355 it without troubles
5356
5357
5358 1.8.5: Jan 21 2000:
5359 - adding APIs to parse a well balanced chunk of XML (production [43] content of the
5360 XML spec)
5361 - fixed a hideous bug in xmlGetProp pointed by [email protected]
5362 - Jody Goldberg <[email protected]> provided another patch trying
5363 to solve the zlib checks problems
5364 - The current state in gnome CVS base is expected to ship as 1.8.5 with
5365 gnumeric soon
5366
5367
5368 1.8.4: Jan 13 2000:
5369 - bug fixes, reintroduced xmlNewGlobalNs(), fixed xmlNewNs()
5370 - all exit() call should have been removed from libxml
5371 - fixed a problem with INCLUDE_WINSOCK on WIN32 platform
5372 - added newDocFragment()
5373
5374
5375 1.8.3: Jan 5 2000:
5376 - a Push interface for the XML and HTML parsers
5377 - a shell-like interface to the document tree (try tester --shell :-)
5378 - lots of bug fixes and improvement added over XMas holidays
5379 - fixed the DTD parsing code to work with the xhtml DTD
5380 - added xmlRemoveProp(), xmlRemoveID() and xmlRemoveRef()
5381 - Fixed bugs in xmlNewNs()
5382 - External entity loading code has been revamped, now it uses
5383 xmlLoadExternalEntity(), some fix on entities processing were added
5384 - cleaned up WIN32 includes of socket stuff
5385
5386
5387 1.8.2: Dec 21 1999:
5388 - I got another problem with includes and C++, I hope this issue is fixed
5389 for good this time
5390 - Added a few tree modification functions: xmlReplaceNode,
5391 xmlAddPrevSibling, xmlAddNextSibling, xmlNodeSetName and
5392 xmlDocSetRootElement
5393 - Tried to improve the HTML output with help from Chris Lahey
5394
5395
5396 1.8.1: Dec 18 1999:
5397 - various patches to avoid troubles when using libxml with C++ compilers
5398 the "namespace" keyword and C escaping in include files
5399 - a problem in one of the core macros IS_CHAR was corrected
5400 - fixed a bug introduced in 1.8.0 breaking default namespace processing,
5401 and more specifically the Dia application
5402 - fixed a posteriori validation (validation after parsing, or by using a
5403 Dtd not specified in the original document)
5404 - fixed a bug in
5405
5406
5407 1.8.0: Dec 12 1999:
5408 - cleanup, especially memory wise
5409 - the parser should be more reliable, especially the HTML one, it should
5410 not crash, whatever the input !
5411 - Integrated various patches, especially a speedup improvement for large
5412 dataset from Carl Nygard,
5413 configure with --with-buffers to enable them.
5414 - attribute normalization, oops should have been added long ago !
5415 - attributes defaulted from DTDs should be available, xmlSetProp() now
5416 does entities escaping by default.
5417
5418
5419 1.7.4: Oct 25 1999:
5420 - Lots of HTML improvement
5421 - Fixed some errors when saving both XML and HTML
5422 - More examples, the regression tests should now look clean
5423 - Fixed a bug with contiguous charref
5424
5425
5426 1.7.3: Sep 29 1999:
5427 - portability problems fixed
5428 - snprintf was used unconditionally, leading to link problems on system
5429 were it's not available, fixed
5430
5431
5432 1.7.1: Sep 24 1999:
5433 - The basic type for strings manipulated by libxml has been renamed in
5434 1.7.1 from CHAR to xmlChar. The reason
5435 is that CHAR was conflicting with a predefined type on Windows. However
5436 on non WIN32 environment, compatibility is provided by the way of a
5437 #define .
5438 - Changed another error : the use of a structure field called errno, and
5439 leading to troubles on platforms where it's a macro
5440
5441
5442 1.7.0: Sep 23 1999:
5443 - Added the ability to fetch remote DTD or parsed entities, see the nanohttp module.
5444 - Added an errno to report errors by another mean than a simple printf
5445 like callback
5446 - Finished ID/IDREF support and checking when validation
5447 - Serious memory leaks fixed (there is now a memory wrapper module)
5448 - Improvement of XPath
5449 implementation
5450 - Added an HTML parser front-end
5451
5452 Daniel Veillard at
5453 bugs.html