Page 1 of 1

../ path not supported?

Posted: Thu Apr 17, 2014 2:06 am
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?

Re: ../ path not supported?

Posted: Thu Apr 17, 2014 9:15 am
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

Re: ../ path not supported?

Posted: Thu Apr 17, 2014 9:43 am
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.