mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-19 14:50:07 +03:00
fixed missing output of internal DTD param entities when nothing else
* tree.c: fixed missing output of internal DTD param entities when nothing else present in DTD (bug 134052)
This commit is contained in:
parent
030a7a1729
commit
6f108a1d0b
@ -1,3 +1,7 @@
|
||||
Wed Feb 11 08:13:58 HKT 2004 William Brack <wbrack@mmm.com.hk
|
||||
* tree.c: fixed missing output of internal DTD param entities when
|
||||
nothing else present in DTD (bug 134052)
|
||||
|
||||
Tue Feb 10 19:24:38 HKT 2004 William Brack <wbrack@mmm.com.hk>
|
||||
|
||||
* encoding.c: applied patch supplied by Christophe Dubach
|
||||
|
3
tree.c
3
tree.c
@ -7370,7 +7370,8 @@ xmlDtdDumpOutput(xmlOutputBufferPtr buf, xmlDtdPtr dtd, const char *encoding) {
|
||||
xmlBufferWriteQuotedString(buf->buffer, dtd->SystemID);
|
||||
}
|
||||
if ((dtd->entities == NULL) && (dtd->elements == NULL) &&
|
||||
(dtd->attributes == NULL) && (dtd->notations == NULL)) {
|
||||
(dtd->attributes == NULL) && (dtd->notations == NULL) &&
|
||||
(dtd->pentities == NULL)) {
|
||||
xmlOutputBufferWriteString(buf, ">");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user