Issue with file paths to specific resources

Post here questions and problems related to editing and publishing DITA content.
Bas10R
Posts: 37
Joined: Thu May 25, 2023 4:08 pm

Issue with file paths to specific resources

Post by Bas10R »

Hello,

I'm using Oxygen XML Editor version 26.0 and I've encountered a minor issue with the WebHelp Responsive transformation scenario.
In the HTML output, references to specific resources result in mixed paths (with both forward and backward slashes), which come up as broken links in my CI's HTML checker.

Examples of the elements that produce broken links in the output:

Code: Select all

<link rel="shortcut icon" href="../../oxygen-webhelp\template\resources/images/favicon.png"/><link rel="icon" href="../../oxygen-webhelp\template\resources/images/favicon.png"/>

Code: Select all

<img src="../../oxygen-webhelp\template\resources/images/logo.svg" alt="Back to home page"/>
Interestingly, the only broken links are to the resources that I referenced in my publishing template:

Code: Select all

<resources>
            <!-- Main CSS file -->
            <css file="styles.css"/>
            <!-- CSS for notes -->
            <css file="notes.css"/>
            <!--Logo-->
            <logo 
                file="resources/images/logo.svg" 
                alt="Back to home page"/>
            <!--  Favicon -->
            <favicon file="resources/images/favicon.png"/>
            <!--Custom JS-->
            <fileset>
                <include name="js/custom-collapsed-sections.js"/>
            </fileset>
            <!-- Images -->
            <fileset>
                <include name="resources/**/*"/>
                <exclude name="resources/**/*.svn"/>
                <exclude name="resources/**/*.git"/>
            </fileset>
  </resources>
Kind regards,
Konrad
Costin
Posts: 842
Joined: Mon Dec 05, 2011 6:04 pm

Re: Issue with file paths to specific resources

Post by Costin »

Hi Konrad,

Thank you for the feedback you provided!

We are aware of this issue and we have it already logged in our internal tracking system.
Therefore, I've just added your feedback to it and tried to prioritize it.
We will notify you by replying back on this thread whenever a fix will be implemented (in a future version of the software).

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Bas10R
Posts: 37
Joined: Thu May 25, 2023 4:08 pm

Re: Issue with file paths to specific resources

Post by Bas10R »

Hi Costin,

Thank you for your reply.
Is there any workaround in place for this?

Kind regards,
Konrad
cosmin_andrei
Posts: 140
Joined: Mon Jun 12, 2017 10:50 am

Re: Issue with file paths to specific resources

Post by cosmin_andrei »

Hello,
Unfortunately, there are no available workarounds.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Post Reply