Ignore:
Timestamp:
2021-08-05T18:09:39+12:00 (3 years ago)
Author:
anupama
Message:

Dr Bainbridge fixed XSL bugs that showed up in tomcat's catalina.out log file and which had been causing many stylesheetXXX.xml files to be spewed out in web/logs/tmp (because any XSL transform error means that it will try to perform the transform on physical files to indicate lines where things go wrong, and further errors kick in at this stage since files that get imported into XSL using xsl import statements are denoted relatively and can't be found in the web/logs/(tmp) area). The errors Dr Bainbridge actually fixed was 1. New custom but unused file wmtb footer.xsl didn't have a closing xsl:stylesheet tag. footer.xsl doesn't need to be imported into main.xsl any more as it doesn't get called and main.xsl adds the necessary footer section itself. 2. home.xsl had Two occurrences of extra ]) braces in lines mentioning preceding-sibling, one use is active and the other commented out but both now corrected.

Location:
main/trunk/model-interfaces-dev/wmtb/transform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/wmtb/transform/layouts/footer.xsl

    r34273 r35256  
    9898        </div><!-- end footer-wrap -->
    9999      </xsl:template>
     100</xsl:stylesheet>
  • main/trunk/model-interfaces-dev/wmtb/transform/pages/home.xsl

    r35235 r35256  
    172172    -->
    173173    <xsl:template match="group" mode="displayGroupInfo">
    174       <xsl:variable name="counter"><xsl:value-of select="1+count(preceding-sibling::group)])"/></xsl:variable>
     174      <xsl:variable name="counter"><xsl:value-of select="1+count(preceding-sibling::group)"/></xsl:variable>
    175175      <xsl:if test="($counter mod 2) = 1">
    176176        <td class="wsite-multicol-col" style="width:33.333333333333%; padding:0 15px;">
     
    184184         So we don't do even odd columns here. -->
    185185    <xsl:template match="collection" mode="displayCollInfo">
    186       <!--<xsl:variable name="counter"><xsl:value-of select="1+count(preceding-sibling::collection)])"/></xsl:variable>
     186      <!--<xsl:variable name="counter"><xsl:value-of select="1+count(preceding-sibling::collection)"/></xsl:variable>
    187187      <xsl:if test="($counter mod 2) = 1">-->
    188188        <td class="wsite-multicol-col" style="width:33.333333333333%; padding:0 15px;">
Note: See TracChangeset for help on using the changeset viewer.