#1335 Missing profile-chunk-code.xsl for XHTML

output: HTML
pending-fixed
profiling (1)
5
2014-09-07
2014-05-22
Thomas Schraitle
No

I've downloaded the latest archive of the
DocBook stylesheets from http://snapshots.docbook.org/ (file
docbook-xsl-snapshot.tar.bz2, 15-May-2014 17:02). Compare the output of
html and xhtml:

$ cd html
$ diff -u chunk.xsl profile-chunk.xsl
[...]
-<xsl:include href="chunk-code.xsl"/>
+<xsl:include href="profile-chunk-code.xsl"/>

Now compare it to xhtml:

   $ cd ../xhtml
   $ diff -u chunk.xsl profile-chunk.xsl
   [... unimportant stuff deleted ...]

The profile-chunk-code.xsl is missing in profile-chunk.xsl.

Discussion

  • Robert Stayton
    Robert Stayton
    2014-09-07

    • status: open --> pending-fixed
     
  • Robert Stayton
    Robert Stayton
    2014-09-07

    The use of chunk-code.xsl instead of profile-chunk-code.xsl in profile-chunk.xsl is not correct. I checked in a fix to profiling/xsl2profile.xsl that fixes this problem. The latest snapshot XSL has the fix, and it will be in the next release. This problem was also exhibited in the distributed version 1.78.1, but not 1.77.1.