#932 fo: ulink doesn't show when using XSL-NS Stylesheets

closed-fixed
XSL (1066)
5
2007-09-25
2007-08-31
Ken Morse
No

DocBook v5 replaces ulink with link as documented in DocBook V5.0:The Transition Guide[1]. It looks like the XSL-NS Stylesheets are not handling ulink.show and ulink.footnotes though; setting the parameter to 1 doesn't cause the link to show up either inline or as a footnote.

I've attached a small sample v5 document and two sample stylesheets -- the XSL stylesheet works as expected (the footnote shows up) and the XSL-NS does not.

I'm using the 1.73.2 versions of the stylesheets.

[1] http://docbook.org/docs/howto/2006-10-22/#changes-renamed

Discussion

  • Ken Morse

    Ken Morse - 2007-08-31
     
  • Ken Morse

    Ken Morse - 2007-08-31
     
  • Ken Morse

    Ken Morse - 2007-08-31

    Logged In: YES
    user_id=1783914
    Originator: YES

    File Added: fop.xsl

     
  • Ken Morse

    Ken Morse - 2007-08-31

    Logged In: YES
    user_id=1783914
    Originator: YES

    File Added: fop-ns.xsl

     
  • Ken Morse

    Ken Morse - 2007-08-31
     
  • Ken Morse

    Ken Morse - 2007-09-05

    Logged In: YES
    user_id=1783914
    Originator: YES

    Attached patch fixes problem in XSL-NS Stylesheets in a similar way that the non-NS stylesheets handle 5.0 docs; when an external link is detected, the ulink template is now called to handle the link.
    File Added: linkfix.patchu.txt

     
  • Ken Morse

    Ken Morse - 2007-09-05

    Patch for 1.73.2 XSL-NS Stylesheets

     
  • Michael(tm) Smith

    • assigned_to: nobody --> xmldoc
    • summary: ulink doesn't show when using XSL-NS Stylesheets --> fo: ulink doesn't show when using XSL-NS Stylesheets
    • status: open --> open-fixed
     
  • Michael(tm) Smith

    Logged In: YES
    user_id=118135
    Originator: NO

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Michael(tm) Smith

    • status: open-fixed --> pending-fixed
     
  • Michael(tm) Smith

    Logged In: YES
    user_id=118135
    Originator: NO

    Fixed in revision 7435. The fix handles display of URLs for @xlink:href instances on any element for which the simple.xlink template is called (not just the link element); simple.xlink is currently called for most inline elements.

    Please test with the snapshot and let me know if it works for you as expected.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks