Description
Fixed in 1.7
The file produced by the DocBook export action is not conforming to standards, it does not include the headers needed for an easy post-processing of the file.
Steps to reproduce
Use the Render as DocBook action on any page.
Example
The result will be as follows:
<?xml version="1.0"?><article><articleinfo><title>...
But should read:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> <article lang="de-DE"> ...
Details
This wiki. |
|
MoinMoin Version |
Version 1.5.3 [Revision release] |
Python Version |
2.4.3 (#3, May 1 2006, 15:34:50) [GCC 3.3.5 (Debian 1:3.3.5-13)] |
Workaround
Manually edit the file.
Discussion
- Adding the enconding info in the XML declaration will improve import into any existing u/a.
A DTD is required for any XML file; u/a won't be able to import, nor to render, nor to validate a file without it.
Plan
- Priority:
Assigned to: MikkoVirkkilä
- Status: Fixed in 1.7