forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FOR-704) span-template in html2document.xsl doubles span-content
Date Thu, 21 Dec 2006 21:55:21 GMT
     [ http://issues.apache.org/jira/browse/FOR-704?page=all ]

Ross Gardler updated FOR-704:
-----------------------------

    Fix Version/s: 0.8-dev
          Urgency: Normal
         Priority: Major  (was: Minor)

Scheduling this for 0.8-dev if the report is accurate then it should be really easy to fix
- not sure why it is not on the roadmap already, perhaps we missed it in the reviews.


I'm also increasing the severity, I'm amazed that this has not come up more frequently.

As far as I can see all that needs to be done is to remove the second apply-templates. Can
someone who is seeing this problem please confirm that everything works fine in this case.
If we get that confirmation I'll make the change in SVN.

Thanks

> span-template in html2document.xsl doubles span-content
> -------------------------------------------------------
>
>                 Key: FOR-704
>                 URL: http://issues.apache.org/jira/browse/FOR-704
>             Project: Forrest
>          Issue Type: Bug
>          Components: Skins (general issues)
>    Affects Versions: 0.7
>            Reporter: Vronk Daut
>             Fix For: 0.8-dev
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message