docbook-apps

  • 1.  Bug: Missing profile-chunk-code.xsl for XHTML?

    Posted 05-20-2014 10:56
    Hi,

    it seems I found a bug. 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"/>

    Ok, this makes sense. 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! However, in
    SVN the corresponding line is there.

    Interestingly, the other XHTML stylesheets (xhtml-1_1 and xhtml5)
    contain this line!

    I guess this has something to do how xhtml is generated from html.

    Could someone confirm or reject my analysis? Any ideas?


    --
    Gruß/Regards,
    Thomas Schraitle



  • 2.  Re: [docbook-apps] Bug: Missing profile-chunk-code.xsl for XHTML?

    Posted 05-22-2014 18:05
    Hi Thomas,
    This looks like a bug to me. It isn't just the snapshots, it is the
    same in 1.78.1/xhtml. It must happen when the xhtml is generated during
    the build. Can you please file a bug report so this can get cleared up?
    Thanks.

    BTW, you said:
    "The profile-chunk-code.xsl is missing in profile-chunk.xsl! However, in
    SVN the corresponding line is there."

    But the SVN directory for xhtml does not have profile-chunk.xsl because
    it is generated during the build. That directly has only three files in
    it in SVN. Can you clarify?

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net

    On 5/20/2014 3:56 AM, Thomas Schraitle wrote:
    > Hi,
    >
    > it seems I found a bug. 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"/>
    >
    > Ok, this makes sense. 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! However, in
    > SVN the corresponding line is there.
    >
    > Interestingly, the other XHTML stylesheets (xhtml-1_1 and xhtml5)
    > contain this line!
    >
    > I guess this has something to do how xhtml is generated from html.
    >
    > Could someone confirm or reject my analysis? Any ideas?
    >
    >



  • 3.  Re: [docbook-apps] Bug: Missing profile-chunk-code.xsl for XHTML?

    Posted 05-22-2014 20:17
    Hi Bob,

    Am Donnerstag, 22. Mai 2014, 11:05:17 schrieb Bob Stayton:
    >
    > This looks like a bug to me. It isn't just the snapshots, it is the
    > same in 1.78.1/xhtml. It must happen when the xhtml is generated during
    > the build. Can you please file a bug report so this can get cleared up?

    Sure, find it here:
    https://sourceforge.net/p/docbook/bugs/1335/


    > BTW, you said:
    > "The profile-chunk-code.xsl is missing in profile-chunk.xsl! However, in
    > SVN the corresponding line is there."
    >
    > But the SVN directory for xhtml does not have profile-chunk.xsl because
    > it is generated during the build. That directly has only three files in
    > it in SVN. Can you clarify?

    My bad. You are right, I forgot the XHTML is generated. It was a problem in my
    SVN working directory.


    --
    Gruß/Regards
    Thomas Schraitle