Deleted Added
full compact
README (225736) README (247513)
1
1
2 Expat, Release 2.0.1
2 Expat, Release 2.1.0
3
4This is Expat, a C library for parsing XML, written by James Clark.
5Expat is a stream-oriented XML parser. This means that you register
6handlers with the parser before starting the parse. These handlers
7are called when the parser discovers the associated structures in the
8document being parsed. A start tag is an example of the kind of
9structures for which you may register handlers.
10

--- 9 unchanged lines hidden (view full) ---

20Versions of Expat that have an odd minor version (the middle number in
21the release above), are development releases and should be considered
22as beta software. Releases with even minor version numbers are
23intended to be production grade software.
24
25If you are building Expat from a check-out from the CVS repository,
26you need to run a script that generates the configure script using the
27GNU autoconf and libtool tools. To do this, you need to have
3
4This is Expat, a C library for parsing XML, written by James Clark.
5Expat is a stream-oriented XML parser. This means that you register
6handlers with the parser before starting the parse. These handlers
7are called when the parser discovers the associated structures in the
8document being parsed. A start tag is an example of the kind of
9structures for which you may register handlers.
10

--- 9 unchanged lines hidden (view full) ---

20Versions of Expat that have an odd minor version (the middle number in
21the release above), are development releases and should be considered
22as beta software. Releases with even minor version numbers are
23intended to be production grade software.
24
25If you are building Expat from a check-out from the CVS repository,
26you need to run a script that generates the configure script using the
27GNU autoconf and libtool tools. To do this, you need to have
28autoconf 2.52 or newer and libtool 1.4 or newer (1.5 or newer preferred).
29Run the script like this:
28autoconf 2.58 or newer. Run the script like this:
30
31 ./buildconf.sh
32
33Once this has been done, follow the same instructions as for building
34from a source distribution.
35
36To build Expat from a source distribution, you first run the
37configuration shell script in the top level distribution directory:

--- 22 unchanged lines hidden (view full) ---

60
61After running the configure script, the "make" command will build
62things and "make install" will install things into their proper
63location. Have a look at the "Makefile" to learn about additional
64"make" options. Note that you need to have write permission into
65the directories into which things will be installed.
66
67If you are interested in building Expat to provide document
29
30 ./buildconf.sh
31
32Once this has been done, follow the same instructions as for building
33from a source distribution.
34
35To build Expat from a source distribution, you first run the
36configuration shell script in the top level distribution directory:

--- 22 unchanged lines hidden (view full) ---

59
60After running the configure script, the "make" command will build
61things and "make install" will install things into their proper
62location. Have a look at the "Makefile" to learn about additional
63"make" options. Note that you need to have write permission into
64the directories into which things will be installed.
65
66If you are interested in building Expat to provide document
68information in UTF-16 rather than the default UTF-8, follow these
69instructions (after having run "make distclean"):
67information in UTF-16 encoding rather than the default UTF-8, follow
68these instructions (after having run "make distclean"):
70
71 1. For UTF-16 output as unsigned short (and version/error
72 strings as char), run:
73
74 ./configure CPPFLAGS=-DXML_UNICODE
75
76 For UTF-16 output as wchar_t (incl. version/error strings),
77 run:

--- 23 unchanged lines hidden (view full) ---

101 $ make install DESTDIR=/path/to/image
102overrides the in-makefile set DESTDIR, while both
103 $ INSTALL_ROOT=/path/to/image make install
104 $ make install INSTALL_ROOT=/path/to/image
105use DESTDIR=$(INSTALL_ROOT), even if DESTDIR eventually is defined in the
106environment, because variable-setting priority is
1071) commandline
1082) in-makefile
69
70 1. For UTF-16 output as unsigned short (and version/error
71 strings as char), run:
72
73 ./configure CPPFLAGS=-DXML_UNICODE
74
75 For UTF-16 output as wchar_t (incl. version/error strings),
76 run:

--- 23 unchanged lines hidden (view full) ---

100 $ make install DESTDIR=/path/to/image
101overrides the in-makefile set DESTDIR, while both
102 $ INSTALL_ROOT=/path/to/image make install
103 $ make install INSTALL_ROOT=/path/to/image
104use DESTDIR=$(INSTALL_ROOT), even if DESTDIR eventually is defined in the
105environment, because variable-setting priority is
1061) commandline
1072) in-makefile
1093) environment
1083) environment
110
109
110Note: This only applies to the Expat library itself, building UTF-16 versions
111of xmlwf and the tests is currently not supported.
112
111Note for Solaris users: The "ar" command is usually located in
112"/usr/ccs/bin", which is not in the default PATH. You will need to
113add this to your path for the "make" command, and probably also switch
114to GNU make (the "make" found in /usr/ccs/bin does not seem to work
115properly -- appearantly it does not understand .PHONY directives). If
116you're using ksh or bash, use this command to build:
117
118 PATH=/usr/ccs/bin:$PATH make

--- 19 unchanged lines hidden ---
113Note for Solaris users: The "ar" command is usually located in
114"/usr/ccs/bin", which is not in the default PATH. You will need to
115add this to your path for the "make" command, and probably also switch
116to GNU make (the "make" found in /usr/ccs/bin does not seem to work
117properly -- appearantly it does not understand .PHONY directives). If
118you're using ksh or bash, use this command to build:
119
120 PATH=/usr/ccs/bin:$PATH make

--- 19 unchanged lines hidden ---