mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 11:33:35 +00:00
[LIBXML2] Update to version 2.9.7. CORE-14291
This commit is contained in:
parent
b97f0a8fed
commit
fc82f8e2e3
52 changed files with 1978 additions and 2458 deletions
5
sdk/lib/3rdparty/libxml2/xmlsave.c
vendored
5
sdk/lib/3rdparty/libxml2/xmlsave.c
vendored
|
@ -2109,8 +2109,6 @@ xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
|
|||
xmlBufAdd(buf, base, cur - base);
|
||||
if (*cur < 0xC0) {
|
||||
xmlSaveErr(XML_SAVE_NOT_UTF8, (xmlNodePtr) attr, NULL);
|
||||
if (doc != NULL)
|
||||
doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
|
||||
xmlSerializeHexCharRef(tmp, *cur);
|
||||
xmlBufAdd(buf, (xmlChar *) tmp, -1);
|
||||
cur++;
|
||||
|
@ -2140,9 +2138,6 @@ xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
|
|||
}
|
||||
if ((l == 1) || (!IS_CHAR(val))) {
|
||||
xmlSaveErr(XML_SAVE_CHAR_INVALID, (xmlNodePtr) attr, NULL);
|
||||
if (doc != NULL)
|
||||
doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
|
||||
|
||||
xmlSerializeHexCharRef(tmp, *cur);
|
||||
xmlBufAdd(buf, (xmlChar *) tmp, -1);
|
||||
cur++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue