DITA and WebHelp: links generated incorrectly

Here should go questions about transforming XML with XSLT and FOP.
scotmarvin
Posts: 18
Joined: Thu Aug 27, 2009 5:09 pm

DITA and WebHelp: links generated incorrectly

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: DITA and WebHelp: links generated incorrectly

Post 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
scotmarvin
Posts: 18
Joined: Thu Aug 27, 2009 5:09 pm

Re: DITA and WebHelp: links generated incorrectly

Post 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.
Post Reply