aboutsummaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-02-11 00:14:52 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-02-11 00:14:52 +0000
commit6f108a1d0b388bbe26b2b169bce1434c15efca49 (patch)
tree2de53e948a63d7363db1431a694c7bd002973ee1 /tree.c
parent030a7a1729163b52e7f107394a0289a3e03f6c12 (diff)
downloadandroid_external_libxml2-6f108a1d0b388bbe26b2b169bce1434c15efca49.tar.gz
android_external_libxml2-6f108a1d0b388bbe26b2b169bce1434c15efca49.tar.bz2
android_external_libxml2-6f108a1d0b388bbe26b2b169bce1434c15efca49.zip
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)
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index 620768b1..5a6c9df0 100644
--- a/tree.c
+++ b/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;
}