Hide Forgot
Description of problem: When transforming DocBook to XHTML, a single role attribute ends as a duplicated css attribute in the resulting HTML, e.g: DOCBOOK: role="foobar" HTML: css="foobar foobar" Version-Release number of selected component (if applicable): publican-3.2.1-0.el6eng.noarch docbook-dtds-1.0-51.el6.noarch docbook-style-xsl-1.77.1-3.el6eng.noarch OS: Red Hat Enterprise Linux Server release 6.4 (Santiago) How reproducible: Always Steps to Reproduce: 1. Add a role attribute to a DocBook tag. 2. Transform it the DocBook content with publican 3. Check the resulting HTML and the css attribute. Actual results: Duplicated attribute content. Expected results: Single role attribute should be transformed as a single css attribute. Additional info: In xsl:template class.attribute (xhtml-common.xsl:550), if I remove the additional condition and <xsl:value-of select="@role" /> it correctly renders the CSS attribute, by using the class.value template.
This seems to have been resolved sometime between 3.2 and 4.0.