Red Hat Bugzilla – Bug 467256
Publican XSL stylesheet for PDF missing namespace declaration
Last modified: 2010-11-23 23:16:18 EST
The namespace declarations at top should include:
Created attachment 320566 [details]
Patch to pdf.xsl to include rx namespace
What error is occurring that requires this to be added?
I'm trying to use the pdf.xsl stylesheet as an antecedent for a custom stylesheet of my own. The error message that appears during processing is:
compilation error: file /usr/share/publican/xsl/pdf.xsl line 1597 element attribute
xsl:attribute: The prefixed QName 'rx:key' has no namespace binding in scope in the stylesheet; this is an error, since the namespace was not specified by the instruction itself.
Oh! I wonder how that xep hook got through? I usually remove all the closed source stuff when I customise as I can't test it; including it may give someone the wrong idea about us being able to support commercial software.
Still, using this file as an antecedent is exactly how the fedora brand package overrides it, so I guess you must be using xep since this code only gets hit if xep.extensions is not 0.
I shall poll the list.
Added name space, no one seemed fussed.
publican-0.39-0.fc9,publican-fedora-0.16-0.fc9 has been submitted as an update for Fedora 9.
publican-0.39-0.fc9, publican-fedora-0.16-0.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.