Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-704

span-template in html2document.xsl doubles span-content

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.8
    • Component/s: Skins (general issues)
    • Labels:
      None
    • Urgency:
      Normal

      Description

      template for span-element traverses to children elements via xsl:apply-templates TWICE!
      once in xsl:choose, than outside
      thus producing doubling the content of span.
      ::
          <xsl:template match="span">
      <xsl:choose>
      <!-- ... -->
      <xsl:otherwise>
      <!-- Strip -->
      <xsl:apply-templates/>
      </xsl:otherwise>
      </xsl:choose>
          
                 <xsl:apply-templates select="./*"/>
          </xsl:template>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vronkdaut Vronk Daut
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: