You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@locus.apache.org on 2000/12/29 20:47:47 UTC
cvs commit: xml-xalan/test/tests/conf/math math99.xsl math101.xsl math102.xsl math103.xsl math104.xsl math84.xsl math85.xsl math86.xsl math87.xsl math88.xsl math89.xsl math90.xsl math91.xsl math92.xsl math93.xsl math94.xsl math95.xsl math96.xsl math97.xsl math98.xsl math100.xsl
dmarston 00/12/29 11:47:46
Modified: test/tests/conf/math math99.xsl math101.xsl math102.xsl
math103.xsl math104.xsl math84.xsl math85.xsl
math86.xsl math87.xsl math88.xsl math89.xsl
math90.xsl math91.xsl math92.xsl math93.xsl
math94.xsl math95.xsl math96.xsl math97.xsl
math98.xsl math100.xsl
Log:
Improve comments
Revision Changes Path
1.2 +1 -0 xml-xalan/test/tests/conf/math/math99.xsl
Index: math99.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math99.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math99.xsl 2000/12/16 01:22:20 1.1
+++ math99.xsl 2000/12/29 19:47:39 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that * has precedence over + and -. -->
<xsl:variable name="anum" select="10"/>
1.2 +1 -0 xml-xalan/test/tests/conf/math/math101.xsl
Index: math101.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math101.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math101.xsl 2000/12/16 01:22:21 1.1
+++ math101.xsl 2000/12/29 19:47:40 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that mod has precedence over + and -. -->
<xsl:variable name="anum" select="10"/>
1.2 +3 -2 xml-xalan/test/tests/conf/math/math102.xsl
Index: math102.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math102.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math102.xsl 2000/12/16 01:22:21 1.1
+++ math102.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH102 -->
+ <!-- FileName: math102 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that number() with no argument applies to context node. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math103.xsl
Index: math103.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math103.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math103.xsl 2000/12/16 01:22:21 1.1
+++ math103.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH103 -->
+ <!-- FileName: math103 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.5 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of unary '-' on a union. -->
<xsl:template match="doc">
1.2 +2 -2 xml-xalan/test/tests/conf/math/math104.xsl
Index: math104.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math104.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math104.xsl 2000/12/16 01:22:21 1.1
+++ math104.xsl 2000/12/29 19:47:40 1.2
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH104 -->
+ <!-- FileName: math104 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
<!-- Purpose: Test of is-a-number technique. -->
- <!-- Author: David Marston -->
+ <!-- Creator: David Marston -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/math/math84.xsl
Index: math84.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math84.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math84.xsl 2000/12/16 01:22:22 1.1
+++ math84.xsl 2000/12/29 19:47:40 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19990922 -->
<!-- Section: 4.4 Number Functions-->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of sum(). -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math85.xsl
Index: math85.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math85.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math85.xsl 2000/12/16 01:22:22 1.1
+++ math85.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH85 -->
+ <!-- FileName: math85 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of nesting of parentheses. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/math/math86.xsl
Index: math86.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math86.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math86.xsl 2000/12/16 01:22:22 1.1
+++ math86.xsl 2000/12/29 19:47:40 1.2
@@ -3,9 +3,10 @@
<!-- FileName: math86 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991666 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
- <!-- Purpose: Test of multiply. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of repeated use of * to multiply. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/math/math87.xsl
Index: math87.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math87.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math87.xsl 2000/12/16 01:22:22 1.1
+++ math87.xsl 2000/12/29 19:47:40 1.2
@@ -3,9 +3,10 @@
<!-- FileName: math87 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991666 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
- <!-- Purpose: Test of division. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of repeated division. -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/math/math88.xsl
Index: math88.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math88.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math88.xsl 2000/12/16 01:22:22 1.1
+++ math88.xsl 2000/12/29 19:47:40 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Mini stress of x-way multiply and divide. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math89.xsl
Index: math89.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math89.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math89.xsl 2000/12/16 01:22:22 1.1
+++ math89.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH89 -->
+ <!-- FileName: math89 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through + and parentheses. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math90.xsl
Index: math90.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math90.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math90.xsl 2000/12/16 01:22:22 1.1
+++ math90.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH90 -->
+ <!-- FileName: math90 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through * and unary -. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math91.xsl
Index: math91.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math91.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math91.xsl 2000/12/16 01:22:22 1.1
+++ math91.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH91 -->
+ <!-- FileName: math91 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through subtraction. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math92.xsl
Index: math92.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math92.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math92.xsl 2000/12/16 01:22:22 1.1
+++ math92.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH92 -->
+ <!-- FileName: math92 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through div. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math93.xsl
Index: math93.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math93.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math93.xsl 2000/12/16 01:22:22 1.1
+++ math93.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH93 -->
+ <!-- FileName: math93 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through mod. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math94.xsl
Index: math94.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math94.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math94.xsl 2000/12/16 01:22:22 1.1
+++ math94.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH94 -->
+ <!-- FileName: math94 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that NaN propagates through the numeric functions. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math95.xsl
Index: math95.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math95.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math95.xsl 2000/12/16 01:22:22 1.1
+++ math95.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH95 -->
+ <!-- FileName: math95 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of sum() with non-number. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/math/math96.xsl
Index: math96.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math96.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math96.xsl 2000/12/16 01:22:22 1.1
+++ math96.xsl 2000/12/29 19:47:40 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: MATH96 -->
+ <!-- FileName: math96 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of sum() with unary - in some nodes. -->
<xsl:template match="doc">
1.2 +1 -0 xml-xalan/test/tests/conf/math/math97.xsl
Index: math97.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math97.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math97.xsl 2000/12/16 01:22:22 1.1
+++ math97.xsl 2000/12/29 19:47:40 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of repeated use of +. -->
<xsl:variable name="anum" select="10"/>
1.2 +1 -0 xml-xalan/test/tests/conf/math/math98.xsl
Index: math98.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math98.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math98.xsl 2000/12/16 01:22:22 1.1
+++ math98.xsl 2000/12/29 19:47:41 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of repeated use of -. Space away from - when required. -->
<xsl:variable name="anum" select="10"/>
1.2 +1 -0 xml-xalan/test/tests/conf/math/math100.xsl
Index: math100.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/math/math100.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- math100.xsl 2000/12/16 01:22:21 1.1
+++ math100.xsl 2000/12/29 19:47:41 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that div has precedence over + and -. -->
<xsl:variable name="anum" select="10"/>