mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
[LIBXML2] Update to version 2.10.0. CORE-17766
This commit is contained in:
parent
608bbe1136
commit
911153da10
80 changed files with 2351 additions and 20735 deletions
8
sdk/lib/3rdparty/libxml2/xmlsave.c
vendored
8
sdk/lib/3rdparty/libxml2/xmlsave.c
vendored
|
@ -474,6 +474,7 @@ xmlBufDumpNotationTable(xmlBufPtr buf, xmlNotationTablePtr table) {
|
|||
*/
|
||||
return;
|
||||
}
|
||||
xmlBufferSetAllocationScheme(buffer, XML_BUFFER_ALLOC_DOUBLEIT);
|
||||
xmlDumpNotationTable(buffer, table);
|
||||
xmlBufMergeBuffer(buf, buffer);
|
||||
}
|
||||
|
@ -497,6 +498,7 @@ xmlBufDumpElementDecl(xmlBufPtr buf, xmlElementPtr elem) {
|
|||
*/
|
||||
return;
|
||||
}
|
||||
xmlBufferSetAllocationScheme(buffer, XML_BUFFER_ALLOC_DOUBLEIT);
|
||||
xmlDumpElementDecl(buffer, elem);
|
||||
xmlBufMergeBuffer(buf, buffer);
|
||||
}
|
||||
|
@ -520,6 +522,7 @@ xmlBufDumpAttributeDecl(xmlBufPtr buf, xmlAttributePtr attr) {
|
|||
*/
|
||||
return;
|
||||
}
|
||||
xmlBufferSetAllocationScheme(buffer, XML_BUFFER_ALLOC_DOUBLEIT);
|
||||
xmlDumpAttributeDecl(buffer, attr);
|
||||
xmlBufMergeBuffer(buf, buffer);
|
||||
}
|
||||
|
@ -542,6 +545,7 @@ xmlBufDumpEntityDecl(xmlBufPtr buf, xmlEntityPtr ent) {
|
|||
*/
|
||||
return;
|
||||
}
|
||||
xmlBufferSetAllocationScheme(buffer, XML_BUFFER_ALLOC_DOUBLEIT);
|
||||
xmlDumpEntityDecl(buffer, ent);
|
||||
xmlBufMergeBuffer(buf, buffer);
|
||||
}
|
||||
|
@ -1375,7 +1379,7 @@ xhtmlAttrListDumpOutput(xmlSaveCtxtPtr ctxt, xmlAttrPtr cur) {
|
|||
(htmlIsBooleanAttr(cur->name))) {
|
||||
if (cur->children != NULL)
|
||||
xmlFreeNode(cur->children);
|
||||
cur->children = xmlNewText(cur->name);
|
||||
cur->children = xmlNewDocText(cur->doc, cur->name);
|
||||
if (cur->children != NULL)
|
||||
cur->children->parent = (xmlNodePtr) cur;
|
||||
}
|
||||
|
@ -2731,5 +2735,3 @@ xmlSaveFile(const char *filename, xmlDocPtr cur) {
|
|||
|
||||
#endif /* LIBXML_OUTPUT_ENABLED */
|
||||
|
||||
#define bottom_xmlsave
|
||||
#include "elfgcchack.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue