Type mismatch in xmlschemastypes.c

For https://bugzilla.gnome.org/show_bug.cgi?id=715152
Type mismatch in xmlschemas.c

For https://bugzilla.gnome.org/show_bug.cgi?id=715152
Fix XPath node comparison bug

For https://bugzilla.gnome.org/show_bug.cgi?id=715143
Fix a bug loading some compressed files

For https://bugzilla.gnome.org/show_bug.cgi?id=712528
Related to https://bugzilla.redhat.com/show_bug.cgi?id=877567

There is a bug in xzlib.c which causes certain compressed XML files to fail to
load correctly.  The code in xz_decomp which attempts to verify the checksum
and length of the expanded data fails if the checksum or length at the end of
the file crosses a 1024 byte boundary.  It calls gz_next4 to get those two
values.  This function uses the stream state in state->zstrm, but calls
xz_avail which uses the state->strm stream info.  This causes gz_next4 to
signal a premature EOF if the data it is fetching crosses a 1024 byte boundary.
Fix HTML push parser to accept HTML_PARSE_NODEFDTD

For https://bugzilla.gnome.org/show_bug.cgi?id=719515

fixes htmlParseTryOrFinish to interpret HTML_PARSE_NODEFDTD,
and updates xmllint to actually pass --nodefdtd to the push
version of the HTML parser
Avoid a possibility of dangling encoding handler

For https://bugzilla.gnome.org/show_bug.cgi?id=711149

In Function:
int xmlCharEncCloseFunc(xmlCharEncodingHandler *handler)

If the freed handler is any one of handlers[i] list, then it will make that
hanldlers[i] as dangling. This may lead to crash issues at places where
handlers is read.
Fix a couple of missing NULL checks

For https://bugzilla.gnome.org/show_bug.cgi?id=708681
Fix incorrect spelling entites->entities

Partially, a follow-up of 81d7a8245cf9a31a49499a5a195c2b89e6f91180.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Fix typos in xmlschemas{,types}.c

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Get rid of 'REPLACEMENT CHARACTER' Unicode chars in xmlschemas.c

Middle dot pairs (as in [1]) turned to grave accents/backticks,
section signs to dollars (for compatibility with ASCII).

[1] http://www.w3.org/TR/xmlschema-1/

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
adding init calls to xml and html Read parsing entry points

As pointed out by "Tassyns, Bram <BramT@enfocus.com>" on the list
some call had it other didn't, clean it up and add to all missing
ones