Expat, Release 1.95.5This is Expat, a C library for parsing XML, written by James Clark.Expat is a stream-oriented XML parser. This means that you registerhandlers with the parser before starting the parse. These handlersare called when the parser discovers the associated structures in thedocument being parsed. A start tag is an example of the kind ofstructures for which you may register handlers.Windows users should use the expat_win32bin package, which includesboth precompiled libraries and executalbes, and source code fordevelopers.Expat is free software. You may copy, distribute, and modify it underthe terms of the License contained in the file COPYING distributedwith this package. This license is the same as the MIT/X Consortiumlicense.Versions of Expat that have an odd minor version (the middle number inthe release above), are development releases and should be consideredas beta software. Releases with even minor version numbers areintended to be production grade software.If you are building Expat from a check-out from the CVS repository,you need to run a script that generates the configure script using theGNU autoconf and libtool tools. To do this, you need to haveautoconf 2.52 or newer and libtool 1.4 or newer. Run the script likethis: ./buildconf.shOnce this has been done, follow the same instructions as for buildingfrom a source distribution.To build Expat from a source distribution, you first run theconfiguration shell script in the top level distribution directory: ./configureThere are many options which you may provide to configure (which youcan discover by running configure with the --help option). But theone of most interest is the one that sets the installation directory.By default, the configure script will set things up to installlibexpat into /usr/local/lib, expat.h into /usr/local/include, andxmlwf into /usr/local/bin. If, for example, you'd prefer to installinto /home/me/mystuff/lib, /home/me/mystuff/include, and/home/me/mystuff/bin, you can tell configure about that with: ./configure --prefix=/home/me/mystuffAfter running the configure script, the "make" command will buildthings and "make install" will install things into their properlocation. Note that you need to have write permission into thedirectories into which things will be installed.If you are interested in building Expat to provide documentinformation in UTF-16 rather than the default UTF-8, following theseinstructions: 1. For UTF-16 output as unsigned short (and version/error strings as char), run: ./configure CPPFLAGS=-DXML_UNICODE For UTF-16 output as wchar_t (incl. version/error strings), run: ./configure CFLAGS="-g -O2 -fshort-wchar" \ CPPFLAGS=-DXML_UNICODE_WCHAR_T 2. Edit the MakeFile, changing: LIBRARY = libexpat.la to: LIBRARY = libexpatw.la (Note the additional "w" in the library name.) 3. Run "make buildlib" (which builds the library only). 4. Run "make installlib" (which installs the library only).Note for Solaris users: The "ar" command is usually located in"/usr/ccs/bin", which is not in the default PATH. You will need toadd this to your path for the "make" command, and probably also switchto GNU make (the "make" found in /usr/ccs/bin does not seem to workproperly -- appearantly it does not understand .PHONY directives). Ifyou're using ksh or bash, use this command to build: PATH=/usr/ccs/bin:$PATH makeWhen using Expat with a project using autoconf for configuration, youcan use the probing macro in conftools/expat.m4 to determine how toinclude Expat. See the comments at the top of that file for moreinformation.A reference manual is available in the file doc/reference.html in thisdistribution.The homepage for this project is http://www.libexpat.org/. Thereare links there to connect you to the bug reports page. If you needto report a bug when you don't have access to a browser, you may alsosend a bug report by email to expat-bugs@mail.libexpat.org.Discussion related to the direction of future expat development takesplace on expat-discuss@mail.libexpat.org. Archives of this list andother Expat-related lists may be found at: http://mail.libexpat.org/mailman-21/listinfo/