Fix DocBook DTD identifier for XML output.

Thanks to Martin Brown for the correct one.

(cherry picked from commit b730419470)
This commit is contained in:
Richard Heck 2017-01-08 13:37:00 -05:00
parent a5f802ae00
commit f7558646b1

View File

@ -2026,7 +2026,7 @@ void Buffer::writeDocBookSource(odocstream & os, string const & fname,
if (! tclass.class_header().empty()) if (! tclass.class_header().empty())
os << from_ascii(tclass.class_header()); os << from_ascii(tclass.class_header());
else if (runparams.flavor == OutputParams::XML) else if (runparams.flavor == OutputParams::XML)
os << "PUBLIC \"-//OASIS//DTD DocBook XML//EN\" " os << "PUBLIC \"-//OASIS//DTD DocBook XML V4.2//EN\" "
<< "\"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd\""; << "\"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd\"";
else else
os << " PUBLIC \"-//OASIS//DTD DocBook V4.2//EN\""; os << " PUBLIC \"-//OASIS//DTD DocBook V4.2//EN\"";