Page 1 of 1

DITA and WebHelp: links generated incorrectly

Posted: Fri Oct 18, 2013 12:17 am
by scotmarvin
I find that a small percent of my links are generated incorrectly. I can't figure why.

This XML:
<li><xref href="http://www.eucalyptus.com/download/euca2ools" scope="external" format="html">Euca2ools</xref></li>

gets generated like this:
<li class="li"><a class="xref" href="Euca2oolshttp://www.eucalyptus.com/download/euca2ools">Euca2ools</a></li>

This XML:
<note>For more information on cloud-init, go to <xref href="https://help.ubuntu.com/community/CloudInit" scope="external" format="html">https://help.ubuntu.com/community/Cloud ... ref></note>

gets generated like this:
<div class="note note"><span class="notetitle">Note:</span> For more information on cloud-init, go to <a class="xref" href="https://help.ubuntu.com/community/Cloud ... /CloudInit">https://help.ubuntu.com/community/CloudInit</a></div>

Most other links are fine. Any ideas about what's going on?

Thanks.

Re: DITA and WebHelp: links generated incorrectly

Posted: Fri Oct 18, 2013 1:13 pm
by sorin_ristache
Hello,

I tested your links in a DITA topic:

Code: Select all

<li><xref href="http://www.eucalyptus.com/download/euca2ools" scope="external" format="html">Euca2ools</xref></li>

<note>For more information on cloud-init, go to <xref href="https://help.ubuntu.com/community/CloudInit" scope="external" format="html">https://help.ubuntu.com/community/CloudInit</xref></note>
but the corresponding links in the Webhelp output are fine:

Code: Select all

<li class="li"><a class="xref" href="http://www.eucalyptus.com/download/euca2ools" target="_blank">Euca2ools</a></li>

<div class="note note"><span class="notetitle">Note:</span> For more information on cloud-init, go to <a class="xref" href="https://help.ubuntu.com/community/CloudInit" target="_blank">https://help.ubuntu.com/community/CloudInit</a></div>
Please send us some sample files (a small DITA map that includes one or more topics that contain these links) for reproducing the problem.

Did you set any custom parameter value on the Parameters tab of the DITA transformation? In what Oxygen version do you run the DITA Webhelp transformation?


Regards,
Sorin

Re: DITA and WebHelp: links generated incorrectly

Posted: Mon Oct 21, 2013 9:34 pm
by scotmarvin
Thanks, Sorin. I can no longer replicate this. I'm going to chalk it up to a hiccup in the memory or system.