[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Webhelp - namespace issue with DocBook XSL 1.79.0
Bob Stayton Sagehill Enterprises bobs@sagehill.net On 12/22/2015 8:31 AM, Andy Hatton wrote:
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-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]