Bug 452114 - docbook-dtd version 4.5 installs broken catalog file
Summary: docbook-dtd version 4.5 installs broken catalog file
Status: REPORTED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Blueprints (show other bugs)
Version: master
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks: 452115
  Show dependency treegraph
 
Reported: 2022-03-31 14:34 UTC by Ralf Habacker
Modified: 2022-03-31 14:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2022-03-31 14:34:06 UTC
SUMMARY
The craft package docbook-dtd for the current version 4.5 installs an xml catalog file called 'docbook-dtd-4.5.xml' with entries for resolving docbook 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-dtd'
4. inspect related files and directories

OBSERVED RESULT
The docbook dtd is installed at <craft-root>\bin\data\xml\docbook\schema\dtd\4.5, but the entries in the catalog file installed at <craft-root>\etc\xml\docbook-dtd-4.5.xml refer to "4.2" as shown below.

  <delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.4"
                    catalog="../../bin/data/xml/docbook/schema/dtd/4.2/catalog.xml"/>

EXPECTED RESULT
The entries must point to the correct directories.

SOFTWARE/OS VERSIONS
Windows: 10