../ path not supported?

Oxygen general issues.
tomjohnson1492
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

../ path not supported?

Post by tomjohnson1492 »

In my ditamap, I have a topicref that looks like this:

<topicref href="../bicycles/parts/pedals.dita"/>

Then I output to webhelp. When I do this, the "../" part (which takes the path back a level) messes up the transform. It's odd because when I'm typing href=" in the text editor and the auto-prompt appears, if I type ../ it does take me back a folder level, so I would assume I could do this in the path. But apparently Oxygen doesn't like this ../ path in ditamaps. It gives me infinite loop errors when I transform the output to webhelp.

As a result, I'm guessing I have to put the maps at the root level and place everything else as a subfolder below the root?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: ../ path not supported?

Post by sorin_ristache »

Hello,

The DITA Open Toolkit does not handle correctly paths outside the directory of the DITA map. You have two options:
  • either move the topic in the directory of the DITA map or in a subdirectory
  • or set the parameter fix.external.refs.com.oxygenxml to true in the DITA transform dialog.

Regards,
Sorin
tomjohnson1492
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

Re: ../ path not supported?

Post by tomjohnson1492 »

Thanks for the info. It's good to know ../ isn't supported by the OT and that I'm not simply crazy. Also good to know Oxygen has a workaround. Thanks.
Post Reply