Ignore:
Timestamp:
02/10/2024 11:33:17 AM (3 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, trunk, xry111/llvm18
Children:
469ab955
Parents:
d9142ec4
Message:

Use both http and https in docbook-xsl catalog

Upstream documentation is not clear whether to use
https://cdn.docbook.org (in recent docs) or the http form (in older docs
and in the sample xml catalog distributed with the package). So have
both in our catalog file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/xml/docbook-xsl.xml

    rd9142ec4 ra53c912  
    219219        Create (or append) and populate the XML catalog file using the
    220220        following commands as the <systemitem
    221         class="username">root</systemitem> user:
     221        class="username">root</systemitem> user (both <emphasis>http</emphasis>
     222        and <emphasis>https</emphasis> forms are used because upstream
     223        have had both in their documentation):
    222224      </para>
    223225
     
    228230
    229231xmlcatalog --noout --add "rewriteSystem" \
     232           "http://cdn.docbook.org/release/xsl-nons/&docbook-xsl-version;" \
     233           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     234    /etc/xml/catalog &amp;&amp;
     235
     236xmlcatalog --noout --add "rewriteSystem" \
    230237           "https://cdn.docbook.org/release/xsl-nons/&docbook-xsl-version;" \
    231238           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     
    233240
    234241xmlcatalog --noout --add "rewriteURI" \
     242           "http://cdn.docbook.org/release/xsl-nons/&docbook-xsl-version;" \
     243           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     244    /etc/xml/catalog &amp;&amp;
     245
     246xmlcatalog --noout --add "rewriteURI" \
    235247           "https://cdn.docbook.org/release/xsl-nons/&docbook-xsl-version;" \
    236248           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     
    238250
    239251xmlcatalog --noout --add "rewriteSystem" \
     252           "http://cdn.docbook.org/release/xsl-nons/current" \
     253           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     254    /etc/xml/catalog &amp;&amp;
     255
     256xmlcatalog --noout --add "rewriteSystem" \
    240257           "https://cdn.docbook.org/release/xsl-nons/current" \
     258           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
     259    /etc/xml/catalog &amp;&amp;
     260
     261xmlcatalog --noout --add "rewriteURI" \
     262           "http://cdn.docbook.org/release/xsl-nons/current" \
    241263           "/usr/share/xml/docbook/xsl-stylesheets-nons-&docbook-xsl-version;" \
    242264    /etc/xml/catalog &amp;&amp;
Note: See TracChangeset for help on using the changeset viewer.