#476 shade.verbatim not working in programlistingco

XSL (1066)

When shade.verbatim is turned on for HTML output,
then a programlistingco with callouts is mishandled. For
each callout, the table used to create the background
shading is terminated, the callout bug is output, and a
new table is started.

This seems to be a bug in the Saxon XSLT extension
that handles callouts.

The attached xml file illustrates the problem when it is
processed to HTML with shade.verbatim on (using


  • Robert Stayton

    Robert Stayton - 2003-11-25

    programlistingco example

  • Michael(tm) Smith

    • priority: 5 --> 7
  • Jirka Kosek

    Jirka Kosek - 2004-10-24

    Logged In: YES

    I inspected extension code and this wrapping/unwrapping
    stuff is here because callout can appear inside link and in that
    case callout shouldn't be part of such link.

    Extension functions should probably do wrapping and
    unwrapping only if callout is really inside link.

  • Norman Walsh

    Norman Walsh - 2004-10-28
    • assigned_to: nobody --> nwalsh
  • Norman Walsh

    Norman Walsh - 2004-10-28

    Logged In: YES

    It's not just for links, the problem is that you don't want
    any markup around the callout (italics, links, etc.). This
    one's ugly.

    I suppose the answer is to not unwrap the outermost table.
    Or maybe the answer is to fix shade.verbatim so it isn't
    using a table.

  • Michael(tm) Smith

    Logged In: YES

    Seems like some embedded CSS styling could be generated
    for shade.verbatim instead of a table.

  • Norman Walsh

    Norman Walsh - 2004-10-29

    Logged In: YES

    "Fixed" in the sense that shade.verbatim is now deprecated
    in the HTML stylesheets.

  • Norman Walsh

    Norman Walsh - 2004-10-29
    • status: open --> closed-fixed

Log in to post a comment.