OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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

Thanks for the report. I was just about to release 1.79.1, but I'll fix this before doing so.

Bob Stayton
Sagehill Enterprises

On 12/22/2015 8:31 AM, Andy Hatton wrote:

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><h1 xmlns="http://www.w3.org/1999/xhtml"; class="title">
          <a id="preface"></a>Preface</h1>

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.


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]