Commit 6f108a1d authored by William M. Brack's avatar William M. Brack
Browse files

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)
parent 030a7a17
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
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment