[Poppler-bugs] [Bug 103823] New: Add option to omit DOCTYPE for XML output
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 20 08:53:26 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103823
Bug ID: 103823
Summary: Add option to omit DOCTYPE for XML output
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: pdftohtml
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: gerrit.imsieke at le-tex.de
Currently (I’m using 0.57.0 on Cygwin), with the -xml option, there is always a
DOCTYPE declaration with no public identifier and the system identifier
'pdf2xml.dtd'.
The issue is that I can’t use an XML catalog to direct pdf2xml.dtd to a
(possibly empty) DTD. This is an issue with relative paths as system
identifiers. It is described on
http://www.sagehill.net/docbookxsl/WriteCatalog.html#RelativeSysId
As a consequence, I need to remove the DOCTYPE line manually or with xmllint in
order to be able to process the output with Java-based tools such as oXygen,
Saxon, or XML Calabash.
Please add either a public identifier (any non-empty string will do) that can
be diverted by means of an XML catalog, or add a command-line option not to
issue a DOCTYPE declaration at all.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171120/3eb16374/attachment.html>
More information about the Poppler-bugs
mailing list