docbook-apps

Re: [docbook-apps] xlink:show="new" support omits link element

  • 1.  Re: [docbook-apps] xlink:show="new" support omits link element

    Posted 06-04-2012 03:52
    Hi Denis,
    At first I was not able to duplicate this problem. When I processed your example in a
    Docbook 5 document with the namespaced stylesheets, I got the correct result:

    Audio



    Then I noticed that your output included class="ulink". That tells me your DocBook5
    document is being processed with the non-namespaced stylesheet. That stylesheet must
    convert the DocBook5 document to a DocBook4 document before proceeding. In the case
    of a link element with @xlink:href, it converts it to a ulink, and fails to pass along
    the xlink:show attribute because there is no comparable attribute in DocBook 4. This
    behavior is not new to 1.77.0, as I got the same incorrect results with 1.76.1.

    I would suggest switching over to the namespaced version of the stylesheets if you are
    processing DocBook 5 documents to avoid such incompatibilities.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net