ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant/src/etc jdepend-frames.xsl jdepend.xsl
Date Sun, 14 Apr 2002 21:03:22 GMT
sbailliez    02/04/14 14:03:22

  Modified:    src/etc  jdepend-frames.xsl jdepend.xsl
  Log:
  Use the normalized value rather than the %. Incidentally it fix a bug that shows
  up because the number format in the xml is formatted using a locale dependent
  format rather than a neutral dependent format like a float datatype in XML Schema
  therefore it is not possible to use interoperate between different locales with the XML.
  ie generate the XML using one locale and the xsl using another.
  
  PR: 7877
  Reported by: nicolaken@apache.org (Nicola Ken Barozzi)
  
  Revision  Changes    Path
  1.4       +6 -7      jakarta-ant/src/etc/jdepend-frames.xsl
  
  Index: jdepend-frames.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/jdepend-frames.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jdepend-frames.xsl	15 Mar 2002 05:56:14 -0000	1.3
  +++ jdepend-frames.xsl	14 Apr 2002 21:03:22 -0000	1.4
  @@ -3,7 +3,6 @@
     xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
     extension-element-prefixes="redirect">
   <xsl:output method="html" indent="yes" encoding="US-ASCII"/>
  -<xsl:decimal-format decimal-separator="." grouping-separator=","/>
   <!--
    The Apache Software License, Version 1.1
   
  @@ -230,9 +229,9 @@
                        <td align="right"><xsl:value-of select="Stats/ConcreteClasses"/></td>
                        <td align="right"><xsl:value-of select="Stats/Ca"/></td>
                        <td align="right"><xsl:value-of select="Stats/Ce"/></td>
  -                     <td align="right"><xsl:value-of select="format-number(Stats/A,
'0%')"/></td>
  -                     <td align="right"><xsl:value-of select="format-number(Stats/I,
'0%')"/></td>
  -                     <td align="right"><xsl:value-of select="format-number(Stats/D,
'0%')"/></td>
  +                     <td align="right"><xsl:value-of select="Stats/A"/></td>
  +                     <td align="right"><xsl:value-of select="Stats/I"/></td>
  +                     <td align="right"><xsl:value-of select="Stats/D"/></td>
                     </tr>
                  </xsl:if>
               </xsl:for-each>
  @@ -274,9 +273,9 @@
         <table width="100%"><tr>
           <td><a href="overview-explanations.html#EXafferent">Afferent Couplings</a>:
<xsl:value-of select="Stats/Ca"/></td>
           <td><a href="overview-explanations.html#EXefferent">Efferent Couplings</a>:
<xsl:value-of select="Stats/Ce"/></td>
  -        <td><a href="overview-explanations.html#EXabstractness">Abstractness</a>:
<xsl:value-of select="format-number(Stats/A, '0%')"/></td>
  -        <td><a href="overview-explanations.html#EXinstability">Instability</a>:
<xsl:value-of select="format-number(Stats/I, '0%')"/></td>
  -        <td><a href="overview-explanations.html#EXdistance">Distance</a>:
<xsl:value-of select="format-number(Stats/D, '0%')"/></td>
  +        <td><a href="overview-explanations.html#EXabstractness">Abstractness</a>:
<xsl:value-of select="Stats/A"/></td>
  +        <td><a href="overview-explanations.html#EXinstability">Instability</a>:
<xsl:value-of select="Stats/I"/></td>
  +        <td><a href="overview-explanations.html#EXdistance">Distance</a>:
<xsl:value-of select="Stats/D"/></td>
         </tr></table>
         
         <table width="100%" class="details">
  
  
  
  1.4       +6 -7      jakarta-ant/src/etc/jdepend.xsl
  
  Index: jdepend.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/jdepend.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jdepend.xsl	15 Mar 2002 07:17:32 -0000	1.3
  +++ jdepend.xsl	14 Apr 2002 21:03:22 -0000	1.4
  @@ -55,7 +55,6 @@
    -->
   
   <xsl:output method="html" indent="yes"  encoding="US-ASCII"/>
  -<xsl:decimal-format decimal-separator="." grouping-separator="," />
   
   <xsl:template match="JDepend">
   	<html>
  @@ -166,9 +165,9 @@
   				<td align="right"><xsl:value-of select="Stats/ConcreteClasses"/></td>
   				<td align="right"><xsl:value-of select="Stats/Ca"/></td>
   				<td align="right"><xsl:value-of select="Stats/Ce"/></td>
  -				<td align="right"><xsl:value-of select="format-number(Stats/A, '0%')"/></td>
  -				<td align="right"><xsl:value-of select="format-number(Stats/I, '0%')"/></td>
  -				<td align="right"><xsl:value-of select="format-number(Stats/D, '0%')"/></td>
  +				<td align="right"><xsl:value-of select="Stats/A"/></td>
  +				<td align="right"><xsl:value-of select="Stats/I"/></td>
  +				<td align="right"><xsl:value-of select="Stats/D"/></td>
   				
   
   			</tr>
  @@ -203,9 +202,9 @@
   			<table width="100%"><tr>
   				<td><a href="#EXafferent">Afferent Couplings</a>: <xsl:value-of
select="Stats/Ca"/></td>
   				<td><a href="#EXefferent">Efferent Couplings</a>: <xsl:value-of
select="Stats/Ce"/></td>
  -				<td><a href="#EXabstractness">Abstractness</a>: <xsl:value-of
select="format-number(Stats/A, '0%')"/></td>
  -				<td><a href="#EXinstability">Instability</a>: <xsl:value-of select="format-number(Stats/I,
'0%')"/></td>
  -				<td><a href="#EXdistance">Distance</a>: <xsl:value-of select="format-number(Stats/D,
'0%')"/></td>
  +				<td><a href="#EXabstractness">Abstractness</a>: <xsl:value-of
select="Stats/A"/></td>
  +				<td><a href="#EXinstability">Instability</a>: <xsl:value-of select="Stats/I"/></td>
  +				<td><a href="#EXdistance">Distance</a>: <xsl:value-of select="Stats/D"/></td>
   			</tr></table>
   			
   			<table width="100%" class="details">
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message