Changes 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  1. NOTE: We are looking for help with a few things:
  2. https://github.com/libexpat/libexpat/labels/help%20wanted
  3. If you can help, please get in touch. Thanks!
  4. Release 2.4.1 Sun May 23 2021
  5. Bug fixes:
  6. #488 #490 Autotools: Fix installed header expat_config.h for multilib
  7. systems; regression introduced in 2.4.0 by pull request #486
  8. Other changes:
  9. #491 #492 Version info bumped from 9:0:8 to 9:1:8;
  10. see https://verbump.de/ for what these numbers do
  11. Special thanks to:
  12. Gentoo's QA check "multilib_check_headers"
  13. Release 2.4.0 Sun May 23 2021
  14. Security fixes:
  15. #34 #466 #484 CVE-2013-0340/CWE-776 -- Protect against billion laughs attacks
  16. (denial-of-service; flavors targeting CPU time or RAM or both,
  17. leveraging general entities or parameter entities or both)
  18. by tracking and limiting the input amplification factor
  19. (<amplification> := (<direct> + <indirect>) / <direct>).
  20. By conservative default, amplification up to a factor of 100.0
  21. is tolerated and rejection only starts after 8 MiB of output bytes
  22. (=<direct> + <indirect>) have been processed.
  23. The fix adds the following to the API:
  24. - A new error code XML_ERROR_AMPLIFICATION_LIMIT_BREACH to
  25. signals this specific condition.
  26. - Two new API functions ..
  27. - XML_SetBillionLaughsAttackProtectionMaximumAmplification and
  28. - XML_SetBillionLaughsAttackProtectionActivationThreshold
  29. .. to further tighten billion laughs protection parameters
  30. when desired. Please see file "doc/reference.html" for details.
  31. If you ever need to increase the defaults for non-attack XML
  32. payload, please file a bug report with libexpat.
  33. - Two new XML_FEATURE_* constants ..
  34. - that can be queried using the XML_GetFeatureList function, and
  35. - that are shown in "xmlwf -v" output.
  36. - Two new environment variable switches ..
  37. - EXPAT_ACCOUNTING_DEBUG=(0|1|2|3) and
  38. - EXPAT_ENTITY_DEBUG=(0|1)
  39. .. for runtime debugging of accounting and entity processing.
  40. Specific behavior of these values may change in the future.
  41. - Two new command line arguments "-a FACTOR" and "-b BYTES"
  42. for xmlwf to further tighten billion laughs protection
  43. parameters when desired.
  44. If you ever need to increase the defaults for non-attack XML
  45. payload, please file a bug report with libexpat.
  46. Bug fixes:
  47. #332 #470 For (non-default) compilation with -DEXPAT_MIN_SIZE=ON (CMake)
  48. or CPPFLAGS=-DXML_MIN_SIZE (GNU Autotools): Fix segfault
  49. for UTF-16 payloads containing CDATA sections.
  50. #485 #486 Autotools: Fix generated CMake files for non-64bit and
  51. non-Linux platforms (e.g. macOS and MinGW in particular)
  52. that were introduced with release 2.3.0
  53. Other changes:
  54. #468 #469 xmlwf: Improve help output and the xmlwf man page
  55. #463 xmlwf: Improve maintainability through some refactoring
  56. #477 xmlwf: Fix man page DocBook validity
  57. #458 #459 CMake: Support absolute paths for both CMAKE_INSTALL_LIBDIR
  58. and CMAKE_INSTALL_INCLUDEDIR
  59. #471 #481 CMake: Add support for standard variable BUILD_SHARED_LIBS
  60. #457 Unexpose symbol _INTERNAL_trim_to_complete_utf8_characters
  61. #467 Resolve macro HAVE_EXPAT_CONFIG_H
  62. #472 Delete unused legacy helper file "conftools/PrintPath"
  63. #473 #483 Improve attribution
  64. #464 #465 #477 doc/reference.html: Fix XHTML validity
  65. #475 #478 doc/reference.html: Replace the 90s look by OK.css
  66. #479 Version info bumped from 8:0:7 to 9:0:8
  67. due to addition of new symbols and error codes;
  68. see https://verbump.de/ for what these numbers do
  69. Infrastructure:
  70. #456 CI: Enable periodic runs
  71. #457 CI: Start covering the list of exported symbols
  72. #474 CI: Isolate coverage task
  73. #476 #482 CI: Adapt to breaking changes in image "ubuntu-18.04"
  74. #477 CI: Cover well-formedness and DocBook/XHTML validity
  75. of doc/reference.html and doc/xmlwf.xml
  76. Special thanks to:
  77. Dimitry Andric
  78. Eero Helenius
  79. Nick Wellnhofer
  80. Rhodri James
  81. Tomas Korbar
  82. Yury Gribov
  83. and
  84. Clang LeakSan
  85. JetBrains
  86. OSS-Fuzz
  87. Release 2.3.0 Thu March 25 2021
  88. Bug fixes:
  89. #438 When calling XML_ParseBuffer without a prior successful call to
  90. XML_GetBuffer as a user, no longer trigger undefined behavior
  91. (by adding an integer to a NULL pointer) but rather return
  92. XML_STATUS_ERROR and set the error code to (new) code
  93. XML_ERROR_NO_BUFFER. Found by UBSan (UndefinedBehaviorSanitizer)
  94. of Clang 11 (but not Clang 9).
  95. #444 xmlwf: Exit status 2 was used for both:
  96. - malformed input files (documented) and
  97. - invalid command-line arguments (undocumented).
  98. The case of invalid command-line arguments now
  99. has its own exit status 4, resolving the ambiguity.
  100. Other changes:
  101. #439 xmlwf: Add argument -k to allow continuing after
  102. non-fatal errors
  103. #439 xmlwf: Add section about exit status to the -h help output
  104. #422 #426 #447 Windows: Drop support for Visual Studio <=14.0/2015
  105. #434 Windows: CMake: Detect unsupported Visual Studio at
  106. configure time (rather than at compile time)
  107. #382 #428 testrunner: Make verbose mode (argument "-v") report
  108. about passed tests, and make default mode report about
  109. failures, as well.
  110. #442 CMake: Call "enable_language(CXX)" prior to tinkering
  111. with CMAKE_CXX_* variables
  112. #448 Document use of libexpat from a CMake-based project
  113. #451 Autotools: Install CMake files as generated by CMake 3.19.6
  114. so that users with "find_package(expat [..] CONFIG [..])"
  115. are served on distributions that are *not* using the CMake
  116. build system inside for libexpat packaging
  117. #436 #437 Autotools: Drop obsolescent macro AC_HEADER_STDC
  118. #450 #452 Autotools: Resolve use of obsolete macro AC_CONFIG_HEADER
  119. #441 Address compiler warnings
  120. #443 Version info bumped from 7:12:6 to 8:0:7
  121. due to addition of error code XML_ERROR_NO_BUFFER
  122. (see https://verbump.de/ for what these numbers do)
  123. Infrastructure:
  124. #435 #446 Replace Travis CI by GitHub Actions
  125. Special thanks to:
  126. Alexander Richardson
  127. Oleksandr Popovych
  128. Thomas Beutlich
  129. Tim Bray
  130. and
  131. Clang LeakSan, Clang 11 UBSan and the Clang team
  132. Release 2.2.10 Sat October 3 2020
  133. Bug fixes:
  134. #390 #395 #398 Fix undefined behavior during parsing caused by
  135. pointer arithmetic with NULL pointers
  136. #404 #405 Fix reading uninitialized variable during parsing
  137. #406 xmlwf: Add missing check for malloc NULL return
  138. Other changes:
  139. #396 Windows: Drop support for Visual Studio <=8.0/2005
  140. #409 Windows: Add missing file "Changes" to the installer
  141. to fix compilation with CMake from installed sources
  142. #403 xmlwf: Document exit codes in xmlwf manpage and
  143. exit with code 3 (rather than code 1) for output errors
  144. when used with "-d DIRECTORY"
  145. #356 #359 MinGW: Provide declaration of rand_s for mingwrt <5.3.0
  146. #383 #392 Autotools: Use -Werror while configure tests the compiler
  147. for supported compile flags to avoid false positives
  148. #383 #393 #394 Autotools: Improve handling of user (C|CPP|CXX|LD)FLAGS,
  149. e.g. ensure that they have the last word over flags added
  150. while running ./configure
  151. #360 CMake: Create libexpatw.{dll,so} and expatw.pc (with emphasis
  152. on suffix "w") with -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
  153. #360 CMake: Detect and deny unsupported build combinations
  154. involving -DEXPAT_CHAR_TYPE=(ushort|wchar_t)
  155. #360 CMake: Install pre-compiled shipped xmlwf.1 manpage in case
  156. of -DEXPAT_BUILD_DOCS=OFF
  157. #375 #380 #419 CMake: Fix use of Expat by means of add_subdirectory
  158. #407 #408 CMake: Keep expat target name constant at "expat"
  159. (i.e. refrain from using the target name to control
  160. build artifact filenames)
  161. #385 CMake: Fix compilation with -DEXPAT_SHARED_LIBS=OFF for
  162. Windows
  163. CMake: Expose man page compilation as target "xmlwf-manpage"
  164. #413 #414 CMake: Introduce option EXPAT_BUILD_PKGCONFIG
  165. to control generation of pkg-config file "expat.pc"
  166. #424 CMake: Add minimalistic support for building binary packages
  167. with CMake target "package"; based on CPack
  168. #366 CMake: Add option -DEXPAT_OSSFUZZ_BUILD=(ON|OFF) with
  169. default OFF to build fuzzer code against OSS-Fuzz and
  170. related environment variable LIB_FUZZING_ENGINE
  171. #354 Fix testsuite for -DEXPAT_DTD=OFF and -DEXPAT_NS=OFF, each
  172. #354 #355 ..
  173. #356 #412 Address compiler warnings
  174. #368 #369 Address pngcheck warnings with doc/*.png images
  175. #425 Version info bumped from 7:11:6 to 7:12:6
  176. Special thanks to:
  177. asavah
  178. Ben Wagner
  179. Bhargava Shastry
  180. Frank Landgraf
  181. Jeffrey Walton
  182. Joe Orton
  183. Kleber Tarcísio
  184. Ma Lin
  185. Maciej Sroczyński
  186. Mohammed Khajapasha
  187. Vadim Zeitlin
  188. and
  189. Cppcheck 2.0 and the Cppcheck team
  190. Release 2.2.9 Wed September 25 2019
  191. Other changes:
  192. examples: Drop executable bits from elements.c
  193. #349 Windows: Change the name of the Windows DLLs from expat*.dll
  194. to libexpat*.dll once more (regression from 2.2.8, first
  195. fixed in 1.95.3, issue #61 on SourceForge today,
  196. was issue #432456 back then); needs a fix due
  197. case-insensitive file systems on Windows and the fact that
  198. Perl's XML::Parser::Expat compiles into Expat.dll.
  199. #347 Windows: Only define _CRT_RAND_S if not defined
  200. Version info bumped from 7:10:6 to 7:11:6
  201. Special thanks to:
  202. Ben Wagner
  203. Release 2.2.8 Fri September 13 2019
  204. Security fixes:
  205. #317 #318 CVE-2019-15903 -- Fix heap overflow triggered by
  206. XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber),
  207. and deny internal entities closing the doctype;
  208. fixed in commit c20b758c332d9a13afbbb276d30db1d183a85d43
  209. Bug fixes:
  210. #240 Fix cases where XML_StopParser did not have any effect
  211. when called from inside of an end element handler
  212. #341 xmlwf: Fix exit code for operation without "-d DIRECTORY";
  213. previously, only "-d DIRECTORY" would give you a proper
  214. exit code:
  215. # xmlwf -d . <<<'<not well-formed>' 2>/dev/null ; echo $?
  216. 2
  217. # xmlwf <<<'<not well-formed>' 2>/dev/null ; echo $?
  218. 0
  219. Now both cases return exit code 2.
  220. Other changes:
  221. #299 #302 Windows: Replace LoadLibrary hack to access
  222. unofficial API function SystemFunction036 (RtlGenRandom)
  223. by using official API function rand_s (needs WinXP+)
  224. #325 Windows: Drop support for Visual Studio <=7.1/2003
  225. and document supported compilers in README.md
  226. #286 Windows: Remove COM code from xmlwf; in case it turns
  227. out needed later, there will be a dedicated repository
  228. below https://github.com/libexpat/ for that code
  229. #322 Windows: Remove explicit MSVC solution and project files.
  230. You can generate Visual Studio solution files through
  231. CMake, e.g.: cmake -G"Visual Studio 15 2017" .
  232. #338 xmlwf: Make "xmlwf -h" help output more friendly
  233. #339 examples: Improve elements.c
  234. #244 #264 Autotools: Add argument --enable-xml-attr-info
  235. #239 #301 Autotools: Add arguments
  236. --with-getrandom
  237. --without-getrandom
  238. --with-sys-getrandom
  239. --without-sys-getrandom
  240. #312 #343 Autotools: Fix linking issues with "./configure LD=clang"
  241. Autotools: Fix "make run-xmltest" for out-of-source builds
  242. #329 #336 CMake: Pull all options from Expat <=2.2.7 into namespace
  243. prefix EXPAT_ with the exception of DOCBOOK_TO_MAN:
  244. - BUILD_doc -> EXPAT_BUILD_DOCS (plural)
  245. - BUILD_examples -> EXPAT_BUILD_EXAMPLES
  246. - BUILD_shared -> EXPAT_SHARED_LIBS
  247. - BUILD_tests -> EXPAT_BUILD_TESTS
  248. - BUILD_tools -> EXPAT_BUILD_TOOLS
  249. - DOCBOOK_TO_MAN -> DOCBOOK_TO_MAN (unchanged)
  250. - INSTALL -> EXPAT_ENABLE_INSTALL
  251. - MSVC_USE_STATIC_CRT -> EXPAT_MSVC_STATIC_CRT
  252. - USE_libbsd -> EXPAT_WITH_LIBBSD
  253. - WARNINGS_AS_ERRORS -> EXPAT_WARNINGS_AS_ERRORS
  254. - XML_CONTEXT_BYTES -> EXPAT_CONTEXT_BYTES
  255. - XML_DEV_URANDOM -> EXPAT_DEV_URANDOM
  256. - XML_DTD -> EXPAT_DTD
  257. - XML_NS -> EXPAT_NS
  258. - XML_UNICODE -> EXPAT_CHAR_TYPE=ushort (!)
  259. - XML_UNICODE_WCHAR_T -> EXPAT_CHAR_TYPE=wchar_t (!)
  260. #244 #264 CMake: Add argument -DEXPAT_ATTR_INFO=(ON|OFF),
  261. default OFF
  262. #326 CMake: Add argument -DEXPAT_LARGE_SIZE=(ON|OFF),
  263. default OFF
  264. #328 CMake: Add argument -DEXPAT_MIN_SIZE=(ON|OFF),
  265. default OFF
  266. #239 #277 CMake: Add arguments
  267. -DEXPAT_WITH_GETRANDOM=(ON|OFF|AUTO), default AUTO
  268. -DEXPAT_WITH_SYS_GETRANDOM=(ON|OFF|AUTO), default AUTO
  269. #326 CMake: Install expat_config.h to include directory
  270. #326 CMake: Generate and install configuration files for
  271. future find_package(expat [..] CONFIG [..])
  272. CMake: Now produces a summary of applied configuration
  273. CMake: Require C++ compiler only when tests are enabled
  274. #330 CMake: Fix compilation for 16bit character types,
  275. i.e. ex -DXML_UNICODE=ON (and ex -DXML_UNICODE_WCHAR_T=ON)
  276. #265 CMake: Fix linking with MinGW
  277. #330 CMake: Add full support for MinGW; to enable, use
  278. -DCMAKE_TOOLCHAIN_FILE=[expat]/cmake/mingw-toolchain.cmake
  279. #330 CMake: Port "make run-xmltest" from GNU Autotools to CMake
  280. #316 CMake: Windows: Make binary postfix match MSVC
  281. Old: expat[d].lib
  282. New: expat[w][d][MD|MT].lib
  283. CMake: Migrate files from Windows to Unix line endings
  284. #308 CMake: Integrate OSS-Fuzz fuzzers, option
  285. -DEXPAT_BUILD_FUZZERS=(ON|OFF), default OFF
  286. #14 Drop an OpenVMS support leftover
  287. #235 #268 ..
  288. #270 #310 ..
  289. #313 #331 #333 Address compiler warnings
  290. #282 #283 ..
  291. #284 #285 Address cppcheck warnings
  292. #294 #295 Address Clang Static Analyzer warnings
  293. #24 #293 Mass-apply clang-format 9 (and ensure conformance during CI)
  294. Version info bumped from 7:9:6 to 7:10:6
  295. Special thanks to:
  296. David Loffredo
  297. Joonun Jang
  298. Kishore Kunche
  299. Marco Maggi
  300. Mitch Phillips
  301. Mohammed Khajapasha
  302. Rolf Ade
  303. xantares
  304. Zhongyuan Zhou
  305. Release 2.2.7 Wed June 19 2019
  306. Security fixes:
  307. #186 #262 CVE-2018-20843 -- Fix extraction of namespace prefixes from
  308. XML names; XML names with multiple colons could end up in
  309. the wrong namespace, and take a high amount of RAM and CPU
  310. resources while processing, opening the door to
  311. use for denial-of-service attacks
  312. Other changes:
  313. #195 #197 Autotools/CMake: Utilize -fvisibility=hidden to stop
  314. exporting non-API symbols
  315. #227 Autotools: Add --without-examples and --without-tests
  316. #228 Autotools: Modernize configure.ac
  317. #245 #246 Autotools: Fix check for -fvisibility=hidden for Clang
  318. #247 #248 Autotools: Fix compilation for lack of docbook2x-man
  319. #236 #258 Autotools: Produce .tar.{gz,lz,xz} release archives
  320. #212 CMake: Make libdir of pkgconfig expat.pc support multilib
  321. #158 #263 CMake: Build man page in PROJECT_BINARY_DIR not _SOURCE_DIR
  322. #219 Remove fallback to bcopy, assume that memmove(3) exists
  323. #257 Use portable "/usr/bin/env bash" shebang (e.g. for OpenBSD)
  324. #243 Windows: Fix syntax of .def module definition files
  325. Version info bumped from 7:8:6 to 7:9:6
  326. Special thanks to:
  327. Benjamin Peterson
  328. Caolán McNamara
  329. Hanno Böck
  330. KangLin
  331. Kishore Kunche
  332. Marco Maggi
  333. Rhodri James
  334. Sebastian Dröge
  335. userwithuid
  336. Yury Gribov
  337. Release 2.2.6 Sun August 12 2018
  338. Bug fixes:
  339. #170 #206 Avoid doing arithmetic with NULL pointers in XML_GetBuffer
  340. #204 #205 Fix 2.2.5 regression with suspend-resume while parsing
  341. a document like '<root/>'
  342. Other changes:
  343. #165 #168 Autotools: Fix docbook-related configure syntax error
  344. #166 Autotools: Avoid grep option `-q` for Solaris
  345. #167 Autotools: Support
  346. ./configure DOCBOOK_TO_MAN="xmlto man --skip-validation"
  347. #159 #167 Autotools: Support DOCBOOK_TO_MAN command which produces
  348. xmlwf.1 rather than XMLWF.1; also covers case insensitive
  349. file systems
  350. #181 Autotools: Drop -rpath option passed to libtool
  351. #188 Autotools: Detect and deny SGML docbook2man as ours is XML
  352. #188 Autotools/CMake: Support command db2x_docbook2man as well
  353. #174 CMake: Introduce option WARNINGS_AS_ERRORS, defaults to OFF
  354. #184 #185 CMake: Introduce option MSVC_USE_STATIC_CRT, defaults to OFF
  355. #207 #208 CMake: Introduce option XML_UNICODE and XML_UNICODE_WCHAR_T,
  356. both defaulting to OFF
  357. #175 CMake: Prefer check_symbol_exists over check_function_exists
  358. #176 CMake: Create the same pkg-config file as with GNU Autotools
  359. #178 #179 CMake: Use GNUInstallDirs module to set proper defaults for
  360. install directories
  361. #208 CMake: Utilize expat_config.h.cmake for XML_DEV_URANDOM
  362. #180 Windows: Fix compilation of test suite for Visual Studio 2008
  363. #131 #173 #202 Address compiler warnings
  364. #187 #190 #200 Fix miscellaneous typos
  365. Version info bumped from 7:7:6 to 7:8:6
  366. Special thanks to:
  367. Anton Maklakov
  368. Benjamin Peterson
  369. Brad King
  370. Franek Korta
  371. Frank Rast
  372. Joe Orton
  373. luzpaz
  374. Pedro Vicente
  375. Rainer Jung
  376. Rhodri James
  377. Rolf Ade
  378. Rolf Eike Beer
  379. Thomas Beutlich
  380. Tomasz Kłoczko
  381. Release 2.2.5 Tue October 31 2017
  382. Bug fixes:
  383. #8 If the parser runs out of memory, make sure its internal
  384. state reflects the memory it actually has, not the memory
  385. it wanted to have.
  386. #11 The default handler wasn't being called when it should for
  387. a SYSTEM or PUBLIC doctype if an entity declaration handler
  388. was registered.
  389. #137 #138 Fix a case of mistakenly reported parsing success where
  390. XML_StopParser was called from an element handler
  391. #162 Function XML_ErrorString was returning NULL rather than
  392. a message for code XML_ERROR_INVALID_ARGUMENT
  393. introduced with release 2.2.1
  394. Other changes:
  395. #106 xmlwf: Add argument -N adding notation declarations
  396. #75 #106 Test suite: Resolve expected failure cases where xmlwf
  397. output was incomplete
  398. #127 Windows: Fix test suite compilation
  399. #126 #127 Windows: Fix compilation for Visual Studio 2012
  400. Windows: Upgrade shipped project files to Visual Studio 2017
  401. #33 #132 tests: Mass-fix compilation for XML_UNICODE_WCHAR_T
  402. #129 examples: Fix compilation for XML_UNICODE_WCHAR_T
  403. #130 benchmark: Fix compilation for XML_UNICODE_WCHAR_T
  404. #144 xmlwf: Fix compilation for XML_UNICODE_WCHAR_T; still needs
  405. Windows or MinGW for 2-byte wchar_t
  406. #9 Address two Clang Static Analyzer false positives
  407. #59 Resolve troublesome macros hiding parser struct membership
  408. and dereferencing that pointer
  409. #6 Resolve superfluous internal malloc/realloc switch
  410. #153 #155 Improve docbook2x-man detection
  411. #160 Undefine NDEBUG in the test suite (rather than rejecting it)
  412. #161 Address compiler warnings
  413. Version info bumped from 7:6:6 to 7:7:6
  414. Special thanks to:
  415. Benbuck Nason
  416. Hans Wennborg
  417. José Gutiérrez de la Concha
  418. Pedro Monreal Gonzalez
  419. Rhodri James
  420. Rolf Ade
  421. Stephen Groat
  422. and
  423. Core Infrastructure Initiative
  424. Release 2.2.4 Sat August 19 2017
  425. Bug fixes:
  426. #115 Fix copying of partial characters for UTF-8 input
  427. Other changes:
  428. #109 Fix "make check" for non-x86 architectures that default
  429. to unsigned type char (-128..127 rather than 0..255)
  430. #109 coverage.sh: Cover -funsigned-char
  431. Autotools: Introduce --without-xmlwf argument
  432. #65 Autotools: Replace handwritten Makefile with GNU Automake
  433. #43 CMake: Auto-detect high quality entropy extractors, add new
  434. option USE_libbsd=ON to use arc4random_buf of libbsd
  435. #74 CMake: Add -fno-strict-aliasing only where supported
  436. #114 CMake: Always honor manually set BUILD_* options
  437. #114 CMake: Compile man page if docbook2x-man is available, only
  438. #117 Include file tests/xmltest.log.expected in source tarball
  439. (required for "make run-xmltest")
  440. #117 Include (existing) Visual Studio 2013 files in source tarball
  441. Improve test suite error output
  442. #111 Fix some typos in documentation
  443. Version info bumped from 7:5:6 to 7:6:6
  444. Special thanks to:
  445. Jakub Wilk
  446. Joe Orton
  447. Lin Tian
  448. Rolf Eike Beer
  449. Release 2.2.3 Wed August 2 2017
  450. Security fixes:
  451. #82 CVE-2017-11742 -- Windows: Fix DLL hijacking vulnerability
  452. using Steve Holme's LoadLibrary wrapper for/of cURL
  453. Bug fixes:
  454. #85 Fix a dangling pointer issue related to realloc
  455. Other changes:
  456. Increase code coverage
  457. #91 Linux: Allow getrandom to fail if nonblocking pool has not
  458. yet been initialized and read /dev/urandom then, instead.
  459. This is in line with what recent Python does.
  460. #81 Pre-10.7/Lion macOS: Support entropy from arc4random
  461. #86 Check that a UTF-16 encoding in an XML declaration has the
  462. right endianness
  463. #4 #5 #7 Recover correctly when some reallocations fail
  464. Repair "./configure && make" for systems without any
  465. provider of high quality entropy
  466. and try reading /dev/urandom on those
  467. Ensure that user-defined character encodings have converter
  468. functions when they are needed
  469. Fix mis-leading description of argument -c in xmlwf.1
  470. Rely on macro HAVE_ARC4RANDOM_BUF (rather than __CloudABI__)
  471. for CloudABI
  472. #100 Fix use of SIPHASH_MAIN in siphash.h
  473. #23 Test suite: Fix memory leaks
  474. Version info bumped from 7:4:6 to 7:5:6
  475. Special thanks to:
  476. Chanho Park
  477. Joe Orton
  478. Pascal Cuoq
  479. Rhodri James
  480. Simon McVittie
  481. Vadim Zeitlin
  482. Viktor Szakats
  483. and
  484. Core Infrastructure Initiative
  485. Release 2.2.2 Wed July 12 2017
  486. Security fixes:
  487. #43 Protect against compilation without any source of high
  488. quality entropy enabled, e.g. with CMake build system;
  489. commit ff0207e6076e9828e536b8d9cd45c9c92069b895
  490. #60 Windows with _UNICODE:
  491. Unintended use of LoadLibraryW with a non-wide string
  492. resulted in failure to load advapi32.dll and degradation
  493. in quality of used entropy when compiled with _UNICODE for
  494. Windows; you can launch existing binaries with
  495. EXPAT_ENTROPY_DEBUG=1 in the environment to inspect the
  496. quality of entropy used during runtime; commits
  497. * 95b95032f907ef1cd17ee7a9a1768010a825d61d
  498. * 73a5a2e9c081f49f2d775cf7ced864158b68dc80
  499. [MOX-006] Fix non-NULL parser parameter validation in XML_Parse;
  500. resulted in NULL dereference, previously;
  501. commit ac256dafdffc9622ab0dc2c62fcecb0dfcfa71fe
  502. Bug fixes:
  503. #69 Fix improper use of unsigned long long integer literals
  504. Other changes:
  505. #73 Start requiring a C99 compiler
  506. #49 Fix "==" Bashism in configure script
  507. #50 Fix too eager getrandom detection for Debian GNU/kFreeBSD
  508. #52 and macOS
  509. #51 Address lack of stdint.h in Visual Studio 2003 to 2008
  510. #58 Address compile warnings
  511. #68 Fix "./buildconf.sh && ./configure" for some versions
  512. of Dash for /bin/sh
  513. #72 CMake: Ease use of Expat in context of a parent project
  514. with multiple CMakeLists.txt files
  515. #72 CMake: Resolve mistaken executable permissions
  516. #76 Address compile warning with -DNDEBUG (not recommended!)
  517. #77 Address compile warning about macro redefinition
  518. Special thanks to:
  519. Alexander Bluhm
  520. Ben Boeckel
  521. Cătălin Răceanu
  522. Kerin Millar
  523. László Böszörményi
  524. S. P. Zeidler
  525. Segev Finer
  526. Václav Slavík
  527. Victor Stinner
  528. Viktor Szakats
  529. and
  530. Radically Open Security
  531. Release 2.2.1 Sat June 17 2017
  532. Security fixes:
  533. CVE-2017-9233 -- External entity infinite loop DoS
  534. Details: https://libexpat.github.io/doc/cve-2017-9233/
  535. Commit c4bf96bb51dd2a1b0e185374362ee136fe2c9d7f
  536. [MOX-002] CVE-2016-9063 -- Detect integer overflow; commit
  537. d4f735b88d9932bd5039df2335eefdd0723dbe20
  538. (Fixed version of existing downstream patches!)
  539. (SF.net) #539 Fix regression from fix to CVE-2016-0718 cutting off
  540. longer tag names; commits
  541. * 896b6c1fd3b842f377d1b62135dccf0a579cf65d
  542. * af507cef2c93cb8d40062a0abe43a4f4e9158fb2
  543. #16 * 0dbbf43fdb20f593ddf4fa1ff67288000dd4a7fd
  544. #25 More integer overflow detection (function poolGrow); commits
  545. * 810b74e4703dcfdd8f404e3cb177d44684775143
  546. * 44178553f3539ce69d34abee77a05e879a7982ac
  547. [MOX-002] Detect overflow from len=INT_MAX call to XML_Parse; commits
  548. * 4be2cb5afcc018d996f34bbbce6374b7befad47f
  549. * 7e5b71b748491b6e459e5c9a1d090820f94544d8
  550. [MOX-005] #30 Use high quality entropy for hash initialization:
  551. * arc4random_buf on BSD, systems with libbsd
  552. (when configured with --with-libbsd), CloudABI
  553. * RtlGenRandom on Windows XP / Server 2003 and later
  554. * getrandom on Linux 3.17+
  555. In a way, that's still part of CVE-2016-5300.
  556. https://github.com/libexpat/libexpat/pull/30/commits
  557. [MOX-005] For the low quality entropy extraction fallback code,
  558. the parser instance address can no longer leak, commit
  559. 04ad658bd3079dd15cb60fc67087900f0ff4b083
  560. [MOX-003] Prevent use of uninitialised variable; commit
  561. [MOX-004] a4dc944f37b664a3ca7199c624a98ee37babdb4b
  562. Add missing parameter validation to public API functions
  563. and dedicated error code XML_ERROR_INVALID_ARGUMENT:
  564. [MOX-006] * NULL checks; commits
  565. * d37f74b2b7149a3a95a680c4c4cd2a451a51d60a (merge/many)
  566. * 9ed727064b675b7180c98cb3d4f75efba6966681
  567. * 6a747c837c50114dfa413994e07c0ba477be4534
  568. * Negative length (XML_Parse); commit
  569. [MOX-002] 70db8d2538a10f4c022655d6895e4c3e78692e7f
  570. [MOX-001] #35 Change hash algorithm to William Ahern's version of SipHash
  571. to go further with fixing CVE-2012-0876.
  572. https://github.com/libexpat/libexpat/pull/39/commits
  573. Bug fixes:
  574. #32 Fix sharing of hash salt across parsers;
  575. relevant where XML_ExternalEntityParserCreate is called
  576. prior to XML_Parse, in particular (e.g. FBReader)
  577. #28 xmlwf: Auto-disable use of memory-mapping (and parsing
  578. as a single chunk) for files larger than ~1 GB (2^30 bytes)
  579. rather than failing with error "out of memory"
  580. #3 Fix double free after malloc failure in DTD code; commit
  581. 7ae9c3d3af433cd4defe95234eae7dc8ed15637f
  582. #17 Fix memory leak on parser error for unbound XML attribute
  583. prefix with new namespaces defined in the same tag;
  584. found by Google's OSS-Fuzz; commits
  585. * 16f87daae5a16132e479e4f71862128c7a915c73
  586. * b47dbc9745932c160893d433220e462bd605f8cd
  587. xmlwf on Windows: Add missing calls to CloseHandle
  588. New features:
  589. #30 Introduced environment switch EXPAT_ENTROPY_DEBUG=1
  590. for runtime debugging of entropy extraction
  591. Other changes:
  592. Increase code coverage
  593. #33 Reject use of XML_UNICODE_WCHAR_T with sizeof(wchar_t) != 2;
  594. XML_UNICODE_WCHAR_T was never meant to be used outside
  595. of Windows; 4-byte wchar_t is common on Linux
  596. (SF.net) #538 Start using -fno-strict-aliasing
  597. (SF.net) #540 Support compilation against cloudlibc of CloudABI
  598. Allow MinGW cross-compilation
  599. (SF.net) #534 CMake: Introduce option "BUILD_doc" (enabled by default)
  600. to bypass compilation of the xmlwf.1 man page
  601. (SF.net) pr2 CMake: Introduce option "INSTALL" (enabled by default)
  602. to bypass installation of expat files
  603. CMake: Fix ninja support
  604. Autotools: Add parameters --enable-xml-context [COUNT]
  605. and --disable-xml-context; default of context of 1024
  606. bytes enabled unchanged
  607. #14 Drop AmigaOS 4.x code and includes
  608. #14 Drop ancient build systems:
  609. * Borland C++ Builder
  610. * OpenVMS
  611. * Open Watcom
  612. * Visual Studio 6.0
  613. * Pre-X Mac OS (MPW Makefile)
  614. If you happen to rely on some of these, please get in
  615. touch for joining with maintenance.
  616. #10 Move from WIN32 to _WIN32
  617. #13 Fix "make run-xmltest" order instability
  618. Address compile warnings
  619. Bump version info from 7:2:6 to 7:3:6
  620. Add AUTHORS file
  621. Infrastructure:
  622. #1 Migrate from SourceForge to GitHub (except downloads):
  623. https://github.com/libexpat/
  624. #1 Re-create http://libexpat.org/ project website
  625. Start utilizing Travis CI
  626. Special thanks to:
  627. Andy Wang
  628. Don Lewis
  629. Ed Schouten
  630. Karl Waclawek
  631. Pascal Cuoq
  632. Rhodri James
  633. Sergei Nikulov
  634. Tobias Taschner
  635. Viktor Szakats
  636. and
  637. Core Infrastructure Initiative
  638. Mozilla Foundation (MOSS Track 3: Secure Open Source)
  639. Radically Open Security
  640. Release 2.2.0 Tue June 21 2016
  641. Security fixes:
  642. #537 CVE-2016-0718 -- Fix crash on malformed input
  643. CVE-2016-4472 -- Improve insufficient fix to CVE-2015-1283 /
  644. CVE-2015-2716 introduced with Expat 2.1.1
  645. #499 CVE-2016-5300 -- Use more entropy for hash initialization
  646. than the original fix to CVE-2012-0876
  647. #519 CVE-2012-6702 -- Resolve troublesome internal call to srand
  648. that was introduced with Expat 2.1.0
  649. when addressing CVE-2012-0876 (issue #496)
  650. Bug fixes:
  651. Fix uninitialized reads of size 1
  652. (e.g. in little2_updatePosition)
  653. Fix detection of UTF-8 character boundaries
  654. Other changes:
  655. #532 Fix compilation for Visual Studio 2010 (keyword "C99")
  656. Autotools: Resolve use of "$<" to better support bmake
  657. Autotools: Add QA script "qa.sh" (and make target "qa")
  658. Autotools: Respect CXXFLAGS if given
  659. Autotools: Fix "make run-xmltest"
  660. Autotools: Have "make run-xmltest" check for expected output
  661. p90 CMake: Fix static build (BUILD_shared=OFF) on Windows
  662. #536 CMake: Add soversion, support -DNO_SONAME=yes to bypass
  663. #323 CMake: Add suffix "d" to differentiate debug from release
  664. CMake: Define WIN32 with CMake on Windows
  665. Annotate memory allocators for GCC
  666. Address all currently known compile warnings
  667. Make sure that API symbols remain visible despite
  668. -fvisibility=hidden
  669. Remove executable flag from source files
  670. Resolve COMPILED_FROM_DSP in favor of WIN32
  671. Special thanks to:
  672. Björn Lindahl
  673. Christian Heimes
  674. Cristian Rodríguez
  675. Daniel Krügler
  676. Gustavo Grieco
  677. Karl Waclawek
  678. László Böszörményi
  679. Marco Grassi
  680. Pascal Cuoq
  681. Sergei Nikulov
  682. Thomas Beutlich
  683. Warren Young
  684. Yann Droneaud
  685. Release 2.1.1 Sat March 12 2016
  686. Security fixes:
  687. #582: CVE-2015-1283 - Multiple integer overflows in XML_GetBuffer
  688. Bug fixes:
  689. #502: Fix potential null pointer dereference
  690. #520: Symbol XML_SetHashSalt was not exported
  691. Output of "xmlwf -h" was incomplete
  692. Other changes:
  693. #503: Document behavior of calling XML_SetHashSalt with salt 0
  694. Minor improvements to man page xmlwf(1)
  695. Improvements to the experimental CMake build system
  696. libtool now invoked with --verbose
  697. Release 2.1.0 Sat March 24 2012
  698. - Security fixes:
  699. #2958794: CVE-2012-1148 - Memory leak in poolGrow.
  700. #2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
  701. #3496608: CVE-2012-0876 - Hash DOS attack.
  702. #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
  703. #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
  704. - Bug Fixes:
  705. #1742315: Harmful XML_ParserCreateNS suggestion.
  706. #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
  707. #1983953, 2517952, 2517962, 2649838:
  708. Build modifications using autoreconf instead of buildconf.sh.
  709. #2815947, #2884086: OBJEXT and EXEEXT support while building.
  710. #2517938: xmlwf should return non-zero exit status if not well-formed.
  711. #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
  712. #2855609: Dangling positionPtr after error.
  713. #2990652: CMake support.
  714. #3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
  715. #3206497: Uninitialized memory returned from XML_Parse.
  716. #3287849: make check fails on mingw-w64.
  717. - Patches:
  718. #1749198: pkg-config support.
  719. #3010222: Fix for bug #3010819.
  720. #3312568: CMake support.
  721. #3446384: Report byte offsets for attr names and values.
  722. - New Features / API changes:
  723. Added new API member XML_SetHashSalt() that allows setting an initial
  724. value (salt) for hash calculations. This is part of the fix for
  725. bug #3496608 to randomize hash parameters.
  726. When compiled with XML_ATTR_INFO defined, adds new API member
  727. XML_GetAttributeInfo() that allows retrieving the byte
  728. offsets for attribute names and values (patch #3446384).
  729. Added CMake build system.
  730. See bug #2990652 and patch #3312568.
  731. Added run-benchmark target to Makefile.in - relies on testdata module
  732. present in the same relative location as in the repository.
  733. Release 2.0.1 Tue June 5 2007
  734. - Fixed bugs #1515266, #1515600: The character data handler's calling
  735. of XML_StopParser() was not handled properly; if the parser was
  736. stopped and the handler set to NULL, the parser would segfault.
  737. - Fixed bug #1690883: Expat failed on EBCDIC systems as it assumed
  738. some character constants to be ASCII encoded.
  739. - Minor cleanups of the test harness.
  740. - Fixed xmlwf bug #1513566: "out of memory" error on file size zero.
  741. - Fixed outline.c bug #1543233: missing a final XML_ParserFree() call.
  742. - Fixes and improvements for Windows platform:
  743. bugs #1409451, #1476160, #1548182, #1602769, #1717322.
  744. - Build fixes for various platforms:
  745. HP-UX, Tru64, Solaris 9: patch #1437840, bug #1196180.
  746. All Unix: #1554618 (refreshed config.sub/config.guess).
  747. #1490371, #1613457: support both, DESTDIR and INSTALL_ROOT,
  748. without relying on GNU-Make specific features.
  749. #1647805: Patched configure.in to work better with Intel compiler.
  750. - Fixes to Makefile.in to have make check work correctly:
  751. bugs #1408143, #1535603, #1536684.
  752. - Added Open Watcom support: patch #1523242.
  753. Release 2.0.0 Wed Jan 11 2006
  754. - We no longer use the "check" library for C unit testing; we
  755. always use the (partial) internal implementation of the API.
  756. - Report XML_NS setting via XML_GetFeatureList().
  757. - Fixed headers for use from C++.
  758. - XML_GetCurrentLineNumber() and XML_GetCurrentColumnNumber()
  759. now return unsigned integers.
  760. - Added XML_LARGE_SIZE switch to enable 64-bit integers for
  761. byte indexes and line/column numbers.
  762. - Updated to use libtool 1.5.22 (the most recent).
  763. - Added support for AmigaOS.
  764. - Some mostly minor bug fixes. SF issues include: #1006708,
  765. #1021776, #1023646, #1114960, #1156398, #1221160, #1271642.
  766. Release 1.95.8 Fri Jul 23 2004
  767. - Major new feature: suspend/resume. Handlers can now request
  768. that a parse be suspended for later resumption or aborted
  769. altogether. See "Temporarily Stopping Parsing" in the
  770. documentation for more details.
  771. - Some mostly minor bug fixes, but compilation should no
  772. longer generate warnings on most platforms. SF issues
  773. include: #827319, #840173, #846309, #888329, #896188, #923913,
  774. #928113, #961698, #985192.
  775. Release 1.95.7 Mon Oct 20 2003
  776. - Fixed enum XML_Status issue (reported on SourceForge many
  777. times), so compilers that are properly picky will be happy.
  778. - Introduced an XMLCALL macro to control the calling
  779. convention used by the Expat API; this macro should be used
  780. to annotate prototypes and definitions of callback
  781. implementations in code compiled with a calling convention
  782. other than the default convention for the host platform.
  783. - Improved ability to build without the configure-generated
  784. expat_config.h header. This is useful for applications
  785. which embed Expat rather than linking in the library.
  786. - Fixed a variety of bugs: see SF issues #458907, #609603,
  787. #676844, #679754, #692878, #692964, #695401, #699323, #699487,
  788. #820946.
  789. - Improved hash table lookups.
  790. - Added more regression tests and improved documentation.
  791. Release 1.95.6 Tue Jan 28 2003
  792. - Added XML_FreeContentModel().
  793. - Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
  794. - Fixed a variety of bugs: see SF issues #615606, #616863,
  795. #618199, #653180, #673791.
  796. - Enhanced the regression test suite.
  797. - Man page improvements: includes SF issue #632146.
  798. Release 1.95.5 Fri Sep 6 2002
  799. - Added XML_UseForeignDTD() for improved SAX2 support.
  800. - Added XML_GetFeatureList().
  801. - Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
  802. - Use an incomplete struct instead of a void* for the parser
  803. (may not retain).
  804. - Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
  805. - Finally fixed bug where default handler would report DTD
  806. events that were already handled by another handler.
  807. Initial patch contributed by Darryl Miles.
  808. - Removed unnecessary DllMain() function that caused static
  809. linking into a DLL to be difficult.
  810. - Added VC++ projects for building static libraries.
  811. - Reduced line-length for all source code and headers to be
  812. no longer than 80 characters, to help with AS/400 support.
  813. - Reduced memory copying during parsing (SF patch #600964).
  814. - Fixed a variety of bugs: see SF issues #580793, #434664,
  815. #483514, #580503, #581069, #584041, #584183, #584832, #585537,
  816. #596555, #596678, #598352, #598944, #599715, #600479, #600971.
  817. Release 1.95.4 Fri Jul 12 2002
  818. - Added support for VMS, contributed by Craig Berry. See
  819. vms/README.vms for more information.
  820. - Added Mac OS (classic) support, with a makefile for MPW,
  821. contributed by Thomas Wegner and Daryle Walker.
  822. - Added Borland C++ Builder 5 / BCC 5.5 support, contributed
  823. by Patrick McConnell (SF patch #538032).
  824. - Fixed a variety of bugs: see SF issues #441449, #563184,
  825. #564342, #566334, #566901, #569461, #570263, #575168, #579196.
  826. - Made skippedEntityHandler conform to SAX2 (see source comment)
  827. - Re-implemented WFC: Entity Declared from XML 1.0 spec and
  828. added a new error "entity declared in parameter entity":
  829. see SF bug report #569461 and SF patch #578161
  830. - Re-implemented section 5.1 from XML 1.0 spec:
  831. see SF bug report #570263 and SF patch #578161
  832. Release 1.95.3 Mon Jun 3 2002
  833. - Added a project to the MSVC workspace to create a wchar_t
  834. version of the library; the DLLs are named libexpatw.dll.
  835. - Changed the name of the Windows DLLs from expat.dll to
  836. libexpat.dll; this fixes SF bug #432456.
  837. - Added the XML_ParserReset() API function.
  838. - Fixed XML_SetReturnNSTriplet() to work for element names.
  839. - Made the XML_UNICODE builds usable (thanks, Karl!).
  840. - Allow xmlwf to read from standard input.
  841. - Install a man page for xmlwf on Unix systems.
  842. - Fixed many bugs; see SF bug reports #231864, #461380, #464837,
  843. #466885, #469226, #477667, #484419, #487840, #494749, #496505,
  844. #547350. Other bugs which we can't test as easily may also
  845. have been fixed, especially in the area of build support.
  846. Release 1.95.2 Fri Jul 27 2001
  847. - More changes to make MSVC happy with the build; add a single
  848. workspace to support both the library and xmlwf application.
  849. - Added a Windows installer for Windows users; includes
  850. xmlwf.exe.
  851. - Added compile-time constants that can be used to determine the
  852. Expat version
  853. - Removed a lot of GNU-specific dependencies to aide portability
  854. among the various Unix flavors.
  855. - Fix the UTF-8 BOM bug.
  856. - Cleaned up warning messages for several compilers.
  857. - Added the -Wall, -Wstrict-prototypes options for GCC.
  858. Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000
  859. - Changes to get expat to build under Microsoft compiler
  860. - Removed all aborts and instead return an UNEXPECTED_STATE error.
  861. - Fixed a bug where a stray '%' in an entity value would cause an
  862. abort.
  863. - Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
  864. finding this oversight.
  865. - Changed default patterns in lib/Makefile.in to fit non-GNU makes
  866. Thanks to [email protected] for reporting and providing an
  867. account to test on.
  868. - The reference had the wrong label for XML_SetStartNamespaceDecl.
  869. Reported by an anonymous user.
  870. Release 1.95.0 Fri Sep 29 2000
  871. - XML_ParserCreate_MM
  872. Allows you to set a memory management suite to replace the
  873. standard malloc,realloc, and free.
  874. - XML_SetReturnNSTriplet
  875. If you turn this feature on when namespace processing is in
  876. effect, then qualified, prefixed element and attribute names
  877. are returned as "uri|name|prefix" where '|' is whatever
  878. separator character is used in namespace processing.
  879. - Merged in features from perl-expat
  880. o XML_SetElementDeclHandler
  881. o XML_SetAttlistDeclHandler
  882. o XML_SetXmlDeclHandler
  883. o XML_SetEntityDeclHandler
  884. o StartDoctypeDeclHandler takes 3 additional parameters:
  885. sysid, pubid, has_internal_subset
  886. o Many paired handler setters (like XML_SetElementHandler)
  887. now have corresponding individual handler setters
  888. o XML_GetInputContext for getting the input context of
  889. the current parse position.
  890. - Added reference material
  891. - Packaged into a distribution that builds a sharable library