Rogue period appearing after desc in oxygen-webhelp output
Post here questions and problems related to editing and publishing DITA content.
Rogue period appearing after desc in oxygen-webhelp output
I'm getting a rogue period character right before the desc element's content in webhelp output. Here's my DITA source:
And the HTML output in webhelp:
The rogue period is appearing right after p.figcap. I'm just using the default oxygen-webhelp settings. Does anyone know the cause of this?
Code: Select all
<fig id="fig_jpn_mx1_pn">
<title>Frontier Science and LDMS</title>
<desc>This chart shows part of Frontier Science's organization structure</desc>
<image placement="break" id="image_kqt_4x1_pn" href="../../images/fs_organization.svg">
<alt>Graphic: Shows the various operating components of Frontier Science.</alt>
</image>
</fig>
Code: Select all
<div class="fig fignone" id="concept_hlv_x1m_4n__fig_jpn_mx1_pn">
<br>
<img class="image" id="concept_hlv_x1m_4n__image_kqt_4x1_pn" src="../../images/fs_organization.svg" alt="Graphic: Shows the various operating components of Frontier Science.">
<br>
<p class="figcap">Frontier Science and LDMS</p>.
<span class="desc figdesc">This chart shows part of Frontier Science's organization structure</span>
</div>
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Rogue period appearing after desc in oxygen-webhelp outp
Post by sorin_ristache »
It is a separator between the figure title and figure description. If you want to omit it just remove the following line from the template with name="place-fig-lbl":
which is line 3765 in file:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\xslhtml\dita2htmlImpl.xsl
Regards,
Sorin
Code: Select all
<xsl:text>. </xsl:text>
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\org.dita.xhtml\xsl\xslhtml\dita2htmlImpl.xsl
Regards,
Sorin
Re: Rogue period appearing after desc in oxygen-webhelp outp
Thank you Sorin for pointing me in the right direction. I'm using Oxygen 15.2 with the included DITA-OT 1.7, and the file that I needed to edit was different than the one you specified (which I assume is applicable to a later version). The file I edited is listed below, in case anyone else needs this information:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl
Line 3792
In my mind, the placement of the </p> is incorrect. It should be after .figdsc, not before, so that the figure title and desc appear in the same <p> block (the separator suggests to me that was the intent).
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl
Line 3792
In my mind, the placement of the </p> is incorrect. It should be after .figdsc, not before, so that the figure title and desc appear in the same <p> block (the separator suggests to me that was the intent).
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Rogue period appearing after desc in oxygen-webhelp outp
Post by sorin_ristache »
The location that I specified is correct for DITA-OT 1.8.4 in Oxygen 16.0.
I agree with the position of the figure description. It should be in the same <p> element as the figure title. I reported the problem to the DITA-OT project. I already corrected the problem in the DITA-OT which will be included in the next maintenance build of Oxygen 16.0 and in the next versions of Oxygen (16.1, 16.2, etc).
Regards,
Sorin
I agree with the position of the figure description. It should be in the same <p> element as the figure title. I reported the problem to the DITA-OT project. I already corrected the problem in the DITA-OT which will be included in the next maintenance build of Oxygen 16.0 and in the next versions of Oxygen (16.1, 16.2, etc).
Regards,
Sorin
Re: Rogue period appearing after desc in oxygen-webhelp outp
Hello,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 16.0, 2014070913 (released on July 10th):
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2014070913
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 16.0, 2014070913 (released on July 10th):
You can download it from our web site:DITA-OT/XHTML output: Include figure title (figtitle) and figure description (figdesc) in the same paragraph (p) element.
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2014070913
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service