From d256f069a5aa30bf5ffcfc4b73047ce0f372ea10 Mon Sep 17 00:00:00 2001
From: Vas Crabb
This library is the creation of James Clark, who's also given us -groff (an nroff look-alike), Jade (an implemention of ISO's DSSSL +groff (an nroff look-alike), Jade (an implementation of ISO's DSSSL stylesheet language for SGML), XP (a Java XML parser package), XT (a Java XSL engine). James was also the technical lead on the XML Working Group at W3C that produced the XML specification.
@@ -276,9 +276,11 @@ directions or Unix directions below.If you're using the GNU compiler under cygwin, follow the Unix directions in the next section. Otherwise if you have Microsoft's -Developer Studio installed, then from Windows Explorer double-click on -"expat.dsp" in the lib directory and build and install in the usual -manner.
+Developer Studio installed, +you can use CMake to generate a.sln
file, e.g.
+
+cmake -G"Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo .
+
, and build Expat using msbuild /m expat.sln
after.
Alternatively, you may download the Win32 binary package that contains the "expat.h" include file and a pre-built DLL.
@@ -360,7 +362,7 @@ off by default.XML_GetInputContext
. This is
-normally set to 1024, and must be set to a positive interger. If this
+normally set to 1024, and must be set to a positive integer. If this
is not defined, the input context will not be available and XML_GetInputContext
will
always report NULL. Without this, Expat has a smaller memory
@@ -373,7 +375,7 @@ the right MSVC magic annotations correct. This is ignored on other
platforms.If defined, makes the additional function XML_GetAttributeInfo
available
for reporting attribute byte offsets.
XML_PARAM_ENTITY_PARSING_NEVER
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE
standalone
was set to "yes" in the XML declaration.XML_PARAM_ENTITY_PARSING_ALWAYS
Set a text handler. The string your handler receives
-is NOT nul-terminated. You have to use the length argument
+is NOT null-terminated. You have to use the length argument
to deal with the end of the string. A single block of contiguous text
free of markup may still result in a sequence of calls to this handler.
In other words, if you're searching for a pattern in the text, it may
@@ -1564,7 +1566,7 @@ at most once per parsed (external) entity. The optional application
data pointer encodingHandlerData
will be passed back to
the handler.
The map array contains information for every possible possible leading +
The map array contains information for every possible leading
byte in a byte sequence. If the corresponding value is >= 0, then it's
a single byte sequence and the byte encodes that Unicode value. If the
value is -1, then that byte is invalid as the initial byte in a sequence.
@@ -1574,7 +1576,7 @@ call to the function pointed at by convert. This function may return -1
if the sequence itself is invalid. The convert pointer may be null if
there are only single byte codes. The data parameter passed to the convert
function is the data pointer from XML_Encoding
. The
-string s is NOT nul-terminated and points at the sequence of
+string s is NOT null-terminated and points at the sequence of
bytes to be converted.
The function pointed at by release
is called by the
@@ -1902,7 +1904,7 @@ of errors. The position reported is the byte position (in the original
document or entity encoding) of the first of the sequence of
characters that generated the current event (or the error that caused
the parse functions to return XML_STATUS_ERROR
.) The
-exceptions are callbacks trigged by declarations in the document
+exceptions are callbacks triggered by declarations in the document
prologue, in which case they exact position reported is somewhere in the
relevant markup, but not necessarily as meaningful as for other
events.
The functions in this section either obtain state information from -the parser or can be used to dynamicly set parser options.
+the parser or can be used to dynamically set parser options.void XMLCALL @@ -2152,7 +2154,7 @@ function behavior. In order to have an effect this must be called before parsing has started. Returns 1 if successful, 0 when called afterXML_Parse
orXML_ParseBuffer
.Note:This call is optional, as the parser will auto-generate -a new random salt value if no value has been set at the start of parsing. +a new random salt value if no value has been set at the start of parsing.
Note:One should not call
XML_SetHashSalt
with a hash salt value of 0, as this value is used as sentinel value to indicate thatXML_SetHashSalt
has not been called. Consequently -- cgit v1.2.3-70-g09d2