openSUSE / daps

DocBook Authoring and Publishing Suite (DAPS)
https://openSUSE.github.io/daps
Other
62 stars 19 forks source link

Daps reports "Not available" on Fallback Stylesheet Version #431

Closed tomschr closed 12 months ago

tomschr commented 6 years ago

Problem description

When you build a book with daps, the output shows this:

Log of daps (click to expand!) ``` $ daps -vv -d DC-SLE-RT-quick pdf Using MAIN file /local/doc/GH/doc-slert/xml/MAIN.SLERT.xml --------------- DAPS VERSION: 2.4.0 DOC_DIR: /local/doc/GH/doc-slert BUILD_DIR: /local/doc/GH/doc-slert/build DAPSROOT: /usr/share/daps DOCCONF: /local/doc/GH/doc-slert/DC-SLE-RT-quick BOOK: SLE-RT-quick PROFILING: On PROFARCH: x86;amd64;em64t PROFOS: slerte DOCBOOK_VERSION: 5 DOCBOOK5_RNG: /local/doc/geekodoc/geekodoc/rng/geekodoc5-flat.rnc DBSTYLE_VERS: snapshot STYLEROOT: /usr/share/xml/docbook/stylesheet/suse2013-ns STYLEROOT_VERS: '2.0.8' FALLBACK_STYLEROOT: /usr/share/xml/docbook/stylesheet/nwalsh5/current FB_STYLEROOT_VERS: Not available [... pruned ...] ```

Using xsltproc or daps-xslt shows the correct version though:

Log of daps-xslt and xsltproc (click to expand!) ``` $ /local/doc/daps/libexec/daps-xslt -s /local/doc/daps/daps-xslt/common/get-dbxslt-version.xsl --file /usr/share/xml/docbook/stylesheet/nwalsh5/current/VERSION.xsl saxon 1.79.2 $ /local/doc/daps/libexec/daps-xslt -s /local/doc/daps/daps-xslt/common/get-dbxslt-version.xsl --file /usr/share/xml/docbook/stylesheet/nwalsh5/current/VERSION.xsl xsltproc 1.79.2 $ xsltproc /local/doc/daps/daps-xslt/common/get-dbxslt-version.xsl /usr/share/xml/docbook/stylesheet/nwalsh5/current/VERSION.xsl 1.79.2 ```

Expected behavior

DAPS shows the correct stylesheet version and not "not available". 😉

Steps to reproduce the behavior

Install the latest DocBook stylesheets (version 1.79.2) from the obs://home:thomas-schraitle/docbook-xsl repo.

fsundermeyer commented 12 months ago

This is no longer an issue, works for me.