Hi
I am seeing an issue with the XHTML namespace when outputting Webhelp
using the DocBook XSL 1.79.0 sylesheets.
(The issue also affects version 1.78.1).
With the titlepage templates, I am seeing an empty xmlns attribute
output on the containing div, and all the titles have an additional
XHTML namespace declaration, which isn't needed because that is already
output on the <html> element. For example:
<div xmlns="" class="titlepage">
<div>
<div><h1 xmlns="http://www.w3.org/1999/xhtml" class="title">
<a id="preface"></a>Preface</h1>
</div>
</div>
</div>
This causes the XHTML output to be invalid.
Adding the default XHTML namespace declaration
(xmlns="http://www.w3.org/1999/xhtml") to the
webhelp/xsl/titlepage.templates.xsl file fixes the problem.
I noticed the default namespace declaration was also missing from
webhelp/xsl/webhelp.xsl and webhelp/xsl/webhelp-common.xsl, and these
files might also need it although I've not seen any ill effects.
It would be great if this could be fixed for the 1.79.1 release.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org