1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

- nanohttp.c: fixed socklen_t replacement to unsigned int

- parser.c: fixed a space handdling missing at the end of
  production 28 DOCTYPE.
- xmlmemory.c: fixed a stupid bug on the routine to override
  allocation functions
- TODO: updated
Daniel
This commit is contained in:
Daniel Veillard
2000-07-21 15:16:39 +00:00
parent 94e906032a
commit 3665069745
6 changed files with 20 additions and 15 deletions

View File

@ -2380,10 +2380,6 @@ xmlSwitchEncoding(xmlParserCtxtPtr ctxt, xmlCharEncoding enc)
/* let's assume it's UTF-8 without the XML decl */
ctxt->charset = XML_CHAR_ENCODING_UTF8;
return(0);
case XML_CHAR_ENCODING_ASCII:
/* default encoding, no conversion should be needed */
ctxt->charset = XML_CHAR_ENCODING_UTF8;
return(0);
case XML_CHAR_ENCODING_UTF8:
/* default encoding, no conversion should be needed */
ctxt->charset = XML_CHAR_ENCODING_UTF8;
@ -7348,7 +7344,10 @@ xmlParseInternalSubset(xmlParserCtxtPtr ctxt) {
break;
}
}
if (RAW == ']') NEXT;
if (RAW == ']') {
NEXT;
SKIP_BLANKS;
}
}
/*