Changes between Initial Version and Version 2 of Ticket #55946


Ignore:
Timestamp:
Mar 5, 2018, 3:08:44 PM (7 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55946 – Description

    initial v2  
    22
    33I am trying to use non-namespace DocBook to build the PostgreSQL documentation, but I suspect there may be a packaging bug in docbook-xsl.  I see two ports:
    4 
     4{{{
    55docbook-xsl @1.79.2_1 (textproc)
    66    The docbook xsl stylesheets
     
    88docbook-xsl-ns @1.76.1_1 (textproc)
    99    DocBook XSL NS (namespaced) Stylesheets
    10 
     10}}}
    1111This appears to be like the way DocBook XSL is packaged in other distributions: a version without namespaces and a version with namespaces.  For example, Debian and FreeBSD also have packages called docbook-xsl and docbook-xsl-ns.  However, in the MacPorts docbook-xsl port I see that namespaces *are* used.  For example /opt/local/share/xsl/docbook-xsl/common/labels.xsl I see templates with namespace-prefixed match attributes like these:
    12 
     12{{{
    1313  <xsl:template match="d:chapter" mode="label.markup">
    1414  <xsl:template match="d:appendix" mode="label.markup">
    15 
     15}}}
    1616On a Debian or FreeBSD system, labels.xsl has those particular lines as:
    17 
     17{{{
    1818  <xsl:template match="chapter" mode="label.markup">
    1919  <xsl:template match="appendix" mode="label.markup">
    20 
     20}}}
    2121On those other systems, the docbook-xsl-ns package installs a version with those d: prefixes under a separate docbook-ns directory.
    2222