xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zong...@apache.org
Subject cvs commit: xml-xalan/test/tests/conf/math math111.xml math111.xsl
Date Wed, 22 Jan 2003 21:57:34 GMT
zongaro     2003/01/22 13:57:33

  Modified:    test/tests/conf/math Tag: XSLTC_DTM math111.xml math111.xsl
  Log:
  Propagating Sarah McNamara's (mcnamara@ca.ibm.com) patch for EOL problems in math111.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +14 -13    xml-xalan/test/tests/conf/math/math111.xml
  
  Index: math111.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math111.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- math111.xml	9 Jan 2003 22:53:17 -0000	1.1
  +++ math111.xml	22 Jan 2003 21:57:33 -0000	1.1.2.1
  @@ -1,13 +1,14 @@
  -<doc>
  -	<number>0.0</number>
  -	<number>0.4</number>
  -	<number>4.0</number>
  -	<number>0.04</number>
  -	<number>0.004</number>
  -	<number>0.0004</number>
  -	<number>0.0000000000001</number>
  -	<number>0.0000000000000000000000000001</number>
  -	<number>0.0000000000001000000000000001</number>
  -	<number>0.0012</number>
  -	<number>0.012</number>
  -</doc>
  +<?xml version="1.0"?>
  +<doc>
  +	<number>0.0</number>
  +	<number>0.4</number>
  +	<number>4.0</number>
  +	<number>0.04</number>
  +	<number>0.004</number>
  +	<number>0.0004</number>
  +	<number>0.0000000000001</number>
  +	<number>0.0000000000000000000000000001</number>
  +	<number>0.0000000000001000000000000001</number>
  +	<number>0.0012</number>
  +	<number>0.012</number>
  +</doc>
  
  
  
  1.1.2.1   +19 -19    xml-xalan/test/tests/conf/math/math111.xsl
  
  Index: math111.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math111.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- math111.xsl	9 Jan 2003 22:53:17 -0000	1.1
  +++ math111.xsl	22 Jan 2003 21:57:33 -0000	1.1.2.1
  @@ -1,19 +1,19 @@
  -<?xml version="1.0" encoding="ISO-8859-1"?>
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  -
  -  <!-- FileName: MATH111 -->
  -  <!-- Document: http://www.w3.org/TR/xpath -->
  -  <!-- DocVersion: 19991116 -->
  -  <!-- Section: 4.4 -->
  -  <!-- Creator: Gordon Chiu -->
  -  <!-- Purpose: Test of string to number conversion for small (yet still representable)
decimal numbers. -->
  -	<xsl:template match="doc">
  -		<out>
  -			<xsl:apply-templates/>
  -		</out>
  -	</xsl:template>
  -	<xsl:template match="number">
  -		<pos><xsl:value-of select="string(number(.))"/></pos>
  -		<neg><xsl:value-of select="string(-1 * number(.))"/></neg>
  -	</xsl:template>
  -</xsl:stylesheet>
  +<?xml version="1.0" encoding="ISO-8859-1"?>
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  +
  +  <!-- FileName: MATH111 -->
  +  <!-- Document: http://www.w3.org/TR/xpath -->
  +  <!-- DocVersion: 19991116 -->
  +  <!-- Section: 4.4 -->
  +  <!-- Creator: Gordon Chiu -->
  +  <!-- Purpose: Test of string to number conversion for small (yet still representable)
decimal numbers. -->
  +	<xsl:template match="doc">
  +		<out>
  +			<xsl:apply-templates/>
  +		</out>
  +	</xsl:template>
  +	<xsl:template match="number">
  +		<pos><xsl:value-of select="string(number(.))"/></pos>
  +		<neg><xsl:value-of select="string(-1 * number(.))"/></neg>
  +	</xsl:template>
  +</xsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message