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

=Bug 118559 (continued)

This commit is contained in:
William M. Brack
2003-08-01 15:55:39 +00:00
parent 78637da0ea
commit 779af00750
9 changed files with 34 additions and 35 deletions

View File

@ -2675,7 +2675,6 @@ docbParseSGMLAttribute(docbParserCtxtPtr ctxt, const xmlChar stop) {
xmlChar *name = NULL;
xmlChar *cur = NULL;
xmlEntityPtr xent;
docbEntityDescPtr ent;
/*
@ -2714,7 +2713,7 @@ docbParseSGMLAttribute(docbParserCtxtPtr ctxt, const xmlChar stop) {
*out++ = ((c >> bits) & 0x3F) | 0x80;
}
} else {
xent = docbParseEntityRef(ctxt, &name);
docbParseEntityRef(ctxt, &name);
if (name == NULL) {
*out++ = '&';
if (out - buffer > buffer_size - 100) {
@ -3993,10 +3992,9 @@ docbParseReference(docbParserCtxtPtr ctxt) {
/*
* we really need to fetch and parse the external entity
*/
int parse;
xmlNodePtr children = NULL;
parse = docbParseCtxtExternalEntity(ctxt,
docbParseCtxtExternalEntity(ctxt,
xent->SystemID, xent->ExternalID, &children);
xmlAddChildList((xmlNodePtr) xent, children);
}