Red Hat Bugzilla – Bug 473019
HTML: Author_Group "<orgname>" merged between "<surname>" and "<surname>"
Last modified: 2016-04-26 12:19:29 EDT
Created attachment 324690 [details]
HTML output build on Fedora 10
Description of problem:
In HTML output, the "<orgname>" tag is merged between the "<surname>" and "<surname>" tags.
Version-Release number of selected component (if applicable):
Fedora release 10 (Cambridge):
Steps to Reproduce:
1. yum install publican publican-fedora (or build from svn)
2. svn co http://svn.fedorahosted.org/svn/selinuxguide
3. make html-en-US
Same issue occurs when building from svn, and when using publican-redhat brand.
This is probably a bug in the docbook-xsl shipped in F10.
Please post the output of `rpm -q docbook-style-xsl`
This is a bug in the non-customised XSL and is therefore not a bug in Publican.
You should transfer this bug to the appropriate Fedora component or open a bug upstream.
Below is my discussion of the problem that has been introduced in to the common XSL, hopeful this will help the package maintainers resolve this issue for you.
This issue is caused by a change to /usr/share/sgml/docbook/xsl-stylesheets-1.74.0/common/common.xsl
Line 577 reads:
<xsl:if test="$node//honorific or $node//firstname
or ($node//othername and $author.othername.in.middle != 0)">
The solution, IMHO, is to get a variable, which defaults off, added to that if statement.
<xsl:param name="weird.use.of.orgname" select="0"/>
<xsl:if test="$node//orgname and $weird.use.of.orgname != 0">
See comment #3 ...
*** Bug 474076 has been marked as a duplicate of this bug. ***
*** Bug 476101 has been marked as a duplicate of this bug. ***
Thanks for info and suggestions, it is not only for html output, but general problem in docbook-style-xsl 1.74.0. It does the same error even with xsltproc/passivetex for e.g. example from docbook.org site http://www.docbook.org/tdg/en/html/bookinfo.html ... will try to find out why they did the change and possibly use the approach suggested by Jeff in comment #3 - to keep that weird behaviour available for possible use.
From 1.74.0 Changelog:
● Michael(tm) Smith: common.xsl
Added support for orgname in authorgroup. Thanks to Camille
Upstream bug report tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=2000787&group_id=21935&atid=373747
Fixed rawhide - built as docbook-style-xsl-1.74.0-4.fc11
docbook-style-xsl-1.74.0-4.fc10 has been submitted as an update for Fedora 10.
docbook-style-xsl-1.74.0-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
Thank you so much for fixing this so quick!