mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
a5f802ae00
commit
f7558646b1
@ -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\"";
|
||||||
|
Loading…
Reference in New Issue
Block a user