<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add option to omit DOCTYPE for XML output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103823">103823</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Add option to omit DOCTYPE for XML output
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>pdftohtml
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gerrit.imsieke@le-tex.de
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="http://www.sagehill.net/docbookxsl/WriteCatalog.html#RelativeSysId">http://www.sagehill.net/docbookxsl/WriteCatalog.html#RelativeSysId</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>