Share

Expat XML Parser

File Release Notes and Changelog

Release Name: 1.95.0

Notes:
          Expat, Release 1.95.0 - Friday, September 29, 2000

This is the first release of James Clark's expat library under a new
maintenance team. Expat is a stream oriented XML Parser used in many
open source projects.

The release numbering is now following the Linux convention of having
development/beta releases come out with an odd minor version number.
That means that this is a beta release. Even though expat is mature,
there are many new features in this release and the library configuration
script has not received wide enough testing.

This release is the first one in which expat builds into a shareable
library based on an autoconf generated configure script. With previous
distributions, a package using expat would have to package expat's
source files in with it's own. This caused problems when attempting to
load two or more of these packages into the same executable.

A reference manual based on work originally done for an article commissioned
by XML.com is now included.

New features that come from a merge with perl-expat, this version of expat
distributed with perl's XML::Parser module:

    1) Handlers may be set for Element declarations within a DTD.
    2) Handlers may be set for Attribute list declarations within a DTD.
    3) Handlers may be set for XML declarations
    4) Doctype handlers take 3 additional parameters:
       sysid, pubid, and has_interal_subset
    5) Many of the paired handler setters (like XML_SetElementHandler)
       now have corresponding functions to set these handlers
       independently.
    6) You may obtain the current input context (i.e. in the original
       input encoding) for the current parse position.

Other new features include:

    1) You can set a flag so that when namespace processing is in effect,
       qualified (from a prefix) element and attribute names are returned
       as "URI|name|prefix" where the '|' character is the separator
       specified when namespace processing was turned on.

    2) You can now tell expat to use a different suite of memory
       management functions instead of the standard malloc,realloc,
       and free.

After installing this package, in order to use it in existing packages, you
will need to do the following:

    1) Change #include "xmlparse.h" to #include <expat.h> in source
       files that make expat calls.

    2) If your software used (the relatively recently introduced)
       XML_StartDoctypeDeclHandler then you need to add the extra
       parameters to your handler definition.

    3) Remove the expat objects from your Makefile and add an "-lexpat"
       to your linking rule.

Clark Cooper


Changes: Release 1.95.0 Fri Sep 29 2000 - XML_ParserCreate_MM Allows you to set a memory management suite to replace the standard malloc,realloc, and free. - XML_SetReturnNSTriplet If you turn this feature on when namespace processing is in effect, then qualified, prefixed element and attribute names are returned as "uri|name|prefix" where '|' is whatever separator character is used in namespace processing. - Merged in features from perl-expat o XML_SetElementDeclHandler o XML_SetAttlistDeclHandler o XML_SetXmlDeclHandler o XML_SetEntityDeclHandler o StartDoctypeDeclHandler takes 3 additional parameters: sysid, pubid, has_internal_subset o Many paired handler setters (like XML_SetElementHandler) now have corresponding individual handler setters o XML_GetInputContext for getting the input context of the current parse position. - Added reference material - Packaged into a distribution that builds a sharable library