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:
9
parser.c
9
parser.c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user