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:41:16 UTC
cvs commit: xml-xalan/test/tests/conf/boolean boolean59.xsl boolean57.xsl boolean58.xsl boolean56.xsl
dmarston 00/12/29 11:41:16
Modified: test/tests/conf/boolean boolean59.xsl boolean57.xsl
boolean58.xsl boolean56.xsl
Log:
Improve comments
Revision Changes Path
1.2 +2 -1 xml-xalan/test/tests/conf/boolean/boolean59.xsl
Index: boolean59.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/boolean59.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boolean59.xsl 2000/12/16 02:11:16 1.1
+++ boolean59.xsl 2000/12/29 19:41:15 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: bool59 -->
+ <!-- FileName: boolean59 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test =, !=, and not, comparing node-set to string, where node-set is empty. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/boolean/boolean57.xsl
Index: boolean57.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/boolean57.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boolean57.xsl 2000/12/16 02:11:17 1.1
+++ boolean57.xsl 2000/12/29 19:41:15 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: BOOL57 -->
+ <!-- FileName: boolean57 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991008 -->
<!-- Section: 3.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that "or" doesn't evaluate right operand if left is true -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/boolean/boolean58.xsl
Index: boolean58.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/boolean58.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boolean58.xsl 2000/12/16 02:11:17 1.1
+++ boolean58.xsl 2000/12/29 19:41:15 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: bool58 -->
+ <!-- FileName: boolean58 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: If $x is bound to a node-set, then $x="foo" does not
mean the same as not($x!="foo"): the former is true if and only
if some node in $x has the string-value foo; the latter is true if
1.2 +5 -4 xml-xalan/test/tests/conf/boolean/boolean56.xsl
Index: boolean56.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/boolean56.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boolean56.xsl 2000/12/16 02:11:17 1.1
+++ boolean56.xsl 2000/12/29 19:41:15 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: BOOL56 -->
+ <!-- FileName: boolean56 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19991008 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that "and" doesn't bother with right operand if left is false -->
<xsl:template match="/">
@@ -12,5 +13,5 @@
<xsl:value-of select="false() and 1 div 0"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>