Bug 452114

Summary: docbook-dtd version 4.5 installs broken catalog file
Product: [Unmaintained] Craft Reporter: Ralf Habacker <ralf.habacker>
Component: BlueprintsAssignee: Hannah von Reth <vonreth>
Status: REPORTED ---    
Severity: normal CC: windows-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 452115    

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