[Craft] [Bug 452115] New: docbook-xsl version 1.78.1 installs broken catalog file
Ralf Habacker
bugzilla_noreply at kde.org
Thu Mar 31 15:43:43 BST 2022
https://bugs.kde.org/show_bug.cgi?id=452115
Bug ID: 452115
Summary: docbook-xsl version 1.78.1 installs broken catalog
file
Product: Craft
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Blueprints
Assignee: vonreth at kde.org
Reporter: ralf.habacker at freenet.de
CC: kde-windows at kde.org
Target Milestone: ---
SUMMARY
The craft package docbook-xsl for the current version 1.78.1 installs an xml
catalog file called 'docbook-xsl-stylesheets.xml' with entries for resolving
stylesheet URIs to real paths pointing to invalid directories.
STEPS TO REPRODUCE
1. install craft following the howto at
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows#Installing_Craft
2. open craft shell
3. run 'craft --no-cache docbook-xsl'
4. inspect related files and directories
OBSERVED RESULT
The stylesheets are installed at
<craft-root>\bin\data\xml\docbook\xsl-stylesheets, but the entries in the
catalog file installed at <craft-root>\etc\xml\docbook-xsl-stylesheets.xml
refer to "xsl-stylesheets-1.78.1" as shown below.
<rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current"
rewritePrefix="../../bin/data/xml/docbook/xsl-stylesheets-1.78.1"/>
EXPECTED RESULT
The entries must point to the correct directories.
SOFTWARE/OS VERSIONS
Windows: 10
ADDITIONAL INFORMATION
This error prevents the use of the global catalog files for docbook stylesheet
processing with
$ set XML_CATALOG_FILES=<craft-root>\etc\xml\catalog
$ xsltproc --nonet
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ...
to generate html files from docbook files, which was requested e.g. at
https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/284.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list