2
0

README 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Expat, Release 1.95.2
  2. This is expat, a C library for parsing XML, written by James Clark.
  3. Expat is a stream-oriented XML parser. This means that you register
  4. handlers with the parser before starting the parse. These handlers
  5. are called when the parser discovers the associated structures in the
  6. document being parsed. A start tag is an example of the kind of
  7. structures for which you may register handlers.
  8. Windows users should use the expat_win32bin package, which includes
  9. both precompiled libraries and executalbes, and source code for
  10. developers.
  11. Expat is free software. You may copy, distribute, and modify it under
  12. the terms of the License contained in the file COPYING distributed
  13. with this package. This license is the same as the MIT/X Consortium
  14. license.
  15. Versions of expat that have an odd minor version (the middle number in
  16. the release above), are development releases and should be considered
  17. as beta software. Releases with even minor version numbers are
  18. intended to be production grade software.
  19. To build expat, you first run the configuration shell script in the
  20. top level distribution directory:
  21. ./configure
  22. There are many options which you may provide to configure (which you
  23. can discover by running configure with the --help option). But the
  24. one of most interest is the one that sets the installation directory.
  25. By default, the configure script will set things up to install
  26. libexpat into /usr/local/lib, expat.h into /usr/local/include, and
  27. xmlwf into /usr/local/bin. If, for example, you'd prefer to install
  28. into /home/me/mystuff/lib, /home/me/mystuff/include, and
  29. /home/me/mystuff/bin, you can tell configure about that with:
  30. ./configure --prefix=/home/me/mystuff
  31. After running the configure script, the "make" command will build
  32. things and "make install" will install things into their proper
  33. location. Note that you need to have write permission into the
  34. directories into which things will be installed.
  35. When building for use with C++, you may need to add additional
  36. compiler flags to support proper interaction with exceptions. This
  37. can be done by setting the CFLAGS environment variable. For example,
  38. when using GCC, you can use:
  39. CFLAGS=-fexceptions ./configure
  40. Note for Solaris users: The "ar" command is usually located in
  41. "/usr/ccs/bin", which is not in the default PATH. You will need to
  42. add this to your path for the "make" command, and probably also switch
  43. to GNU make (the "make" found in /usr/ccs/bin does not seem to work
  44. properly -- appearantly it does not understand .PHONY directives). If
  45. you're using ksh or bash, use this command to build:
  46. PATH=/usr/ccs/bin:$PATH make
  47. A reference manual is available in the file doc/reference.html in this
  48. distribution.
  49. The homepage for this project is http://expat.sourceforge.net/. There
  50. are links there to connect you to the bug reports page. If you need
  51. to report a bug when you don't have access to a browser, you may also
  52. send a bug report by email to expat-bugs@lists.sourceforge.net.
  53. Discussion related to the direction of future expat development takes
  54. place on expat-discuss@lists.sourceforge.net. Archives of this list
  55. may be found at http://www.geocrawler.com/redir-sf.php3?list=expat-discuss.