Current news

27 December 2005, Final Expat 2.0 pre-release snapshot made available.

This pre-release distribution is based on the feedback we got from the Dec. 23 snapshot and represents the final opportunity for feedback before the actual release goes out.

We plan to release after the New Year.

23 December 2005, Expat 2.0 pre-release snapshot (another one) made available.

As nothing happened here for a long time, we've posted another pre-release distribution snapshot of the code currently in CVS on Please try this out and report any problems you have. We'd like to get Expat 2.0 out soon.

A late addition was the new (optional) XML_LARGE_SIZE feature to enable 64-bit integers on some API members. Please check how it builds and works for you.

28 January 2005, Expat pre-release snapshot made available.

We've posted a pre-release distribution snapshot of the code currently in CVS on Please try this out and report any problems you have. We'd like to get a release out soon.

The coming release will either be 1.95.9 or 2.0, depending primarily on the response to this snapshot. If we do decide to make this 1.95.9, then we'll try to follow up with 2.0 in about a month.

23 July 2004, Expat 1.95.8 released.

The release schedule described in the previous news item didn't work out. As a compensation, we've fixed a number of the nuissance warnings generated on many platforms, and added a nice new suspend/resume feature to the parser.

  • Major new feature: suspend/resume. Handlers can now request that a parse be suspended for later resumption or aborted altogether. See "Temporarily Stopping Parsing" in the documentation for more details.
  • Some mostly minor bug fixes, but compilation should no longer generate warnings on most platforms. SF issues include: 827319, 840173, 846309, 888329, 896188, 923913, 928113, 961698, 985192.

20 October 2003, Expat 1.95.7 released.

  • Fixed enum XML_Status issue (reported on SourceForge many times), so compilers that are properly picky will be happy.
  • Introduced an XMLCALL macro to control the calling convention used by the Expat API; this macro should be used to annotate prototypes and definitions of callback implementations in code compiled with a calling convention other than the default convention for the host platform.
  • Improved ability to build without the configure-generated expat_config.h header. This is useful for applications which embed Expat rather than linking in the library.
  • Fixed a variety of bugs: see SF issues 458907, 609603, 676844, 679754, 692878, 692964, 695401, 699323, 699487, 820946.
  • Improved hash table lookups.
  • Added more regression tests and improved documentation.

Our plan is to wait for a short while and re-release this version as the long-awaited Expat 2.0 if no major problems are identified. If significant problems are found, additional iterative releases will be made as fixes are made.

15 October 2003, Upcoming release.

We're working on getting the long-delayed Expat 1.95.7 out the door. A snapshot of the current source code is available as expat-2003-10-15.tar.gz (no longer available); please give this a try on your platform and report how it works for you to the expat-discuss mailing list. Our goals for this release are portability and stability.

28 January 2003, Expat 1.95.6 released.
  • Added XML_FreeContentModel().
  • Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
  • Fixed a variety of bugs: see SF issues 615606, 616863, 618199, 653180, 673791.
  • Enhanced the regression test suite.
  • Man page improvements: includes SF issue 632146.

6 September 2002, Expat 1.95.5 released.
  • Added XML_UseForeignDTD() for improved SAX2 support.
  • Added XML_GetFeatureList().
  • Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
  • Use an incomplete struct instead of a void* for the parser.
  • Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
  • Finally fixed bug where default handler would report DTD events that were already handled by another handler. Initial patch contributed by Darryl Miles.
  • Removed unnecessary DllMain() function that caused static linking into a DLL to be difficult.
  • Added VC++ projects for building static libraries.
  • Reduced line-length for all source code and headers to be no longer than 80 characters, to help with AS/400 support.
  • Reduced memory copying during parsing (SF patch #600964).
  • Fixed a variety of bugs: see SF issues 580793, 434664, 483514, 580503, 581069, 584041, 584183, 584832, 585537, 596555, 596678, 598352, 598944, 599715, 600479, 600971.

4 September 2002, Development roadmap published.
  • The initial version of the development roadmap was released for comment.

12 July 2002, Expat 1.95.4 released.
  • Added support for VMS, contributed by Craig Berry. See vms/README.vms in the distrubution for more information.
  • Added Mac OS (classic) support, with a makefile for MPW, contributed by Thomas Wegner and Daryle Walker.
  • Added Borland C++ Builder 5 / BCC 5.5 support, contributed by Patrick McConnell (SF patch #538032).
  • Fixed a variety of bugs: see SF issues 441449, 563184, 564342, 566334, 566901, 569461, 570263, 575168, 579196.
  • Made skippedEntityHandler conform to SAX2 (see source comment).
  • Re-implemented WFC: Entity Declared from XML 1.0 spec and added a new error "entity declared in parameter entity": see SF bug report 569461 and SF patch 578161.
  • Re-implemented section 5.1 from XML 1.0 spec: see SF bug report 570263 and SF patch 578161.
Expat 1.95.3 is being withdrawn due to bug #566334. If you are currently using Expat 1.95.3, please update to 1.95.4.

3 June 2002, Expat 1.95.3 released.
  • Changed the name of the Windows DLLs from expat.dll to libexpat.dll; this fixes SF bug #432456. This is a problem only known to affect the Perl XML::Parser::Expat extension, but is very important for that extension.
  • Added a project to the MSVC workspace to create a wchar_t version of the library; the DLLs are named libexpatw.dll. (Note the addition of the "w" character in the file name.)
  • Added the XML_ParserReset() API function. This allows a parser to be re-used, reducing the number of memory allocations needed to set up a parser. This can be a substantial benefit when parsing a large number of small documents.
  • Fixed XML_SetReturnNSTriplet() to work for element names. This is now a usable feature.
  • Made the XML_UNICODE builds usable (thanks, Karl!).
  • Allow xmlwf to read from standard input.
  • Install a man page for xmlwf on Unix systems.
  • Fixed many bugs; see SF bug reports 231864, 461380, 464837, 466885, 469226, 477667, 484419, 487840, 494749, 496505, 547350. Other bugs which we can't test as easily may also have been fixed, especially in the area of build support. Logo