<div dir="ltr">Sadly, same result. <div><br></div><div>Stephen</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="verdana, sans-serif" size="1"><br></font><div><font face="verdana, sans-serif" size="1"><br></font></div><div><font face="verdana, sans-serif" size="1">Stephen Taylor | Librarian | <b><font color="#3d85c6">Kx</font></b> | +44 7713 400852 | <a href="mailto:stephen@kx.com" target="_blank">stephen@kx.com</a></font></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 30 April 2018 at 19:40, Ron Catterall <span dir="ltr"><<a href="mailto:ron@catterall.net" target="_blank">ron@catterall.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>try:</p>
<div><font face="monospace, monospace"> xmlns="<a href="http://docbook.org/ns/docbook" target="_blank">http://docbook.org/ns/<wbr>docbook</a>"
version="5.1" (not 5.0)<br>
<br>
is this a name space confusion ?<br>
</font>
<p> docbook-xsl-1.79.2 gets the name space version.</p>
<p>Ron<br>
</p>
<br>
</div><div><div class="h5">
<br>
<div class="m_-2856545845233817072moz-cite-prefix">On 04/30/2018 01:29 PM, Stephen Taylor
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">I'm rendering a PDF from DocBook 5 XML generated by
Pandoc from Markdown source.
<div><br>
</div>
<div>The Pandoc output begins:</div>
<div><br>
</div>
<div>
<div>
<div><font face="monospace, monospace"><?xml
version="1.0" encoding="utf-8" ?></font></div>
<div><font face="monospace, monospace"><!DOCTYPE
article></font></div>
<div><font face="monospace, monospace"><article</font></div>
<div><font face="monospace, monospace"> xmlns="<a href="http://docbook.org/ns/docbook" target="_blank">http://docbook.org/ns/<wbr>docbook</a>"
version="5.0"</font></div>
<div><font face="monospace, monospace"> xmlns:xlink="<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.<wbr>org/1999/xlink</a>"
></font></div>
</div>
<div><br>
</div>
<div>XEP aborts with a validation error on the XML,
complaining </div>
<div><br>
</div>
<div><font face="monospace, monospace">line 1: Incorrect top
element - should be 'root'<br>
</font></div>
<div><br>
</div>
<div>There is an easy workaround: remove the line:</div>
<div><br>
</div>
<div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace"> xmlns="<a href="http://docbook.org/ns/docbook" target="_blank">http://docbook.org/ns/<wbr>docbook</a>"
version="5.0"</font></div>
<br class="m_-2856545845233817072gmail-Apple-interchange-newline">
Looks to me like Pandoc has the right way to declare the
namespace; seems strange XEP should choke on it. Is there a
better way to correct the problem?</div>
<div><br>
</div>
<div>
<div class="m_-2856545845233817072gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><font size="1" face="verdana,
sans-serif"><br>
</font>
<div><font size="1" face="verdana, sans-serif"><br>
</font></div>
<div><font size="1" face="verdana, sans-serif">Stephen
Taylor | Librarian | <b><font color="#3d85c6">Kx</font></b> | +44 7713
400852 | <a href="mailto:stephen@kx.com" target="_blank">stephen@kx.com</a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-2856545845233817072mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
(*) To unsubscribe, please visit <a class="m_-2856545845233817072moz-txt-link-freetext" href="http://lists.renderx.com/mailman/options/xep-support" target="_blank">http://lists.renderx.com/<wbr>mailman/options/xep-support</a>
(*) By using the Service, you expressly agree to these Terms of Service <a class="m_-2856545845233817072moz-txt-link-freetext" href="http://w" target="_blank">http://w</a>
<a href="http://ww.renderx.com/terms-of-service.html" target="_blank">ww.renderx.com/terms-of-<wbr>service.html</a></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_-2856545845233817072moz-signature" cols="72">--
Ron Catterall
<a class="m_-2856545845233817072moz-txt-link-abbreviated" href="mailto:ron@catterall.net" target="_blank">ron@catterall.net</a></pre>
</font></span></div>
</blockquote></div><br></div>