dmarston 00/12/29 11:57:47
Modified: test/tests/conf/node node17.xsl node02.xsl node03.xsl
node04.xsl node05.xsl node06.xsl node07.xsl
node08.xsl node09.xsl node10.xsl node11.xsl
node12.xsl node13.xsl node14.xsl node15.xsl
node16.xsl node01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +1 -0 xml-xalan/test/tests/conf/node/node17.xsl
Index: node17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node17.xsl 2000/12/15 23:01:13 1.1
+++ node17.xsl 2000/12/29 19:57:39 1.2
@@ -5,6 +5,7 @@
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 Axes-->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that 'namespace::node()' selects all namespaces. -->
<xsl:template match="/">
1.2 +5 -4 xml-xalan/test/tests/conf/node/node02.xsl
Index: node02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node02.xsl 2000/12/15 23:01:13 1.1
+++ node02.xsl 2000/12/29 19:57:39 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: NTST02 -->
+ <!-- FileName: node02 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 Node Tests -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test for comment() node test. -->
<xsl:template match="/doc">
@@ -12,10 +13,10 @@
<xsl:apply-templates select="./comment()"/>
</out>
</xsl:template>
-
+
<xsl:template match="comment()">
<xsl:text>Found-comment</xsl:text>
<xsl:copy/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/node/node03.xsl
Index: node03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node03.xsl 2000/12/15 23:01:13 1.1
+++ node03.xsl 2000/12/29 19:57:39 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: NTST03 -->
+ <!-- FileName: node03 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test for processing-instruction() node test. -->
<!-- should say "Found-pi,,Found-pi" -->
@@ -16,11 +17,11 @@
<xsl:apply-templates select="./processing-instruction()"/>
</out>
</xsl:template>
-
+
<xsl:template match="processing-instruction('a-pi')">
<xsl:text>Found-pi:</xsl:text>
<xsl:value-of select="name()"/>
<xsl:copy/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/node/node04.xsl
Index: node04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node04.xsl 2000/12/15 23:01:13 1.1
+++ node04.xsl 2000/12/29 19:57:39 1.2
@@ -1,12 +1,13 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: ntst04 -->
+ <!-- FileName: node04 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'local-name()' -->
<xsl:template match="baz2:doc">
@@ -14,5 +15,5 @@
<xsl:value-of select="local-name(baz1:a)"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/node/node05.xsl
Index: node05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node05.xsl 2000/12/15 23:01:13 1.1
+++ node05.xsl 2000/12/29 19:57:39 1.2
@@ -1,13 +1,14 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: ntst05 -->
+ <!-- FileName: node05 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'namespace-uri()' -->
<xsl:template match="baz2:doc">
@@ -15,5 +16,5 @@
<xsl:value-of select="namespace-uri(*)"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/node/node06.xsl
Index: node06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node06.xsl 2000/12/15 23:01:13 1.1
+++ node06.xsl 2000/12/29 19:57:39 1.2
@@ -1,13 +1,14 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:baz1="http://xsl.lotus.com/ns1"
xmlns:baz2="http://xsl.lotus.com/ns2">
- <!-- FileName: ntst06 -->
+ <!-- FileName: node06 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of 'name()', without arguments -->
<xsl:template match="baz2:doc">
@@ -15,5 +16,5 @@
<xsl:value-of select="name()"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +2 -1 xml-xalan/test/tests/conf/node/node07.xsl
Index: node07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node07.xsl 2000/12/15 23:01:13 1.1
+++ node07.xsl 2000/12/29 19:57:39 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: NTST07 -->
+ <!-- FileName: node07 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3 Data Model -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Processing Instructions and comments within a stylesheet
are ignored. -->
1.2 +3 -2 xml-xalan/test/tests/conf/node/node08.xsl
Index: node08.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node08.xsl 2000/12/15 23:01:14 1.1
+++ node08.xsl 2000/12/29 19:57: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: ntst08 -->
+ <!-- FileName: node08 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.1 Root Node. -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: String value of the root node is the concatenation of the
string
values of all text node descendants of the root node in document
order. -->
1.2 +6 -5 xml-xalan/test/tests/conf/node/node09.xsl
Index: node09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node09.xsl 2000/12/15 23:01:14 1.1
+++ node09.xsl 2000/12/29 19:57: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: NTST09 -->
+ <!-- FileName: node09 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
- <!-- Section: 2.3 Nodes Tests -->
+ <!-- Section: 2.3 Node Tests -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for value-of with comment() node test. -->
<xsl:template match="/doc">
@@ -12,9 +13,9 @@
<xsl:apply-templates select="./comment()"/>
</out>
</xsl:template>
-
+
<xsl:template match="comment()">
<xsl:value-of select="."/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/node/node10.xsl
Index: node10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node10.xsl 2000/12/15 23:01:14 1.1
+++ node10.xsl 2000/12/29 19:57: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: NTST10 -->
+ <!-- FileName: node10 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for value-of with processing-instruction() node test.
-->
<xsl:template match="/">
@@ -12,10 +13,10 @@
<xsl:apply-templates select="./processing-instruction()"/>
</out>
</xsl:template>
-
+
<xsl:template match="processing-instruction()">
<xsl:text>Found-pi...</xsl:text>
<xsl:value-of select="."/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -5 xml-xalan/test/tests/conf/node/node11.xsl
Index: node11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node11.xsl 2000/12/15 23:01:14 1.1
+++ node11.xsl 2000/12/29 19:57:40 1.2
@@ -1,13 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NTST11 -->
+ <!-- FileName: node11 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
- <!-- Purpose: Test for node tests in match patterns. -->
-
-<!-- Should say "test" -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test for node tests in match patterns (and union in select).
-->
<xsl:template match="/doc">
<out>
1.2 +3 -4 xml-xalan/test/tests/conf/node/node12.xsl
Index: node12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node12.xsl 2000/12/15 23:01:14 1.1
+++ node12.xsl 2000/12/29 19:57:40 1.2
@@ -1,13 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NTST12 -->
+ <!-- FileName: node12 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for node tests in select in for-each. -->
-
-<!-- Should say "test" -->
<xsl:template match="/doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/node/node13.xsl
Index: node13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node13.xsl 2000/12/15 23:01:14 1.1
+++ node13.xsl 2000/12/29 19:57: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: NTST13 -->
+ <!-- FileName: node13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.1 Root node -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for access to comments hanging off the root. -->
<xsl:template match="/">
1.2 +3 -2 xml-xalan/test/tests/conf/node/node14.xsl
Index: node14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node14.xsl 2000/12/15 23:01:14 1.1
+++ node14.xsl 2000/12/29 19:57: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: NTST14 -->
+ <!-- FileName: node14 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.1 Root node -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for access to PIs hanging off the root. -->
<xsl:template match="/">
1.2 +2 -1 xml-xalan/test/tests/conf/node/node15.xsl
Index: node15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node15.xsl 2000/12/15 23:01:14 1.1
+++ node15.xsl 2000/12/29 19:57:40 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: NTST15 -->
+ <!-- FileName: node15 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
<!-- AdditionalSpec: XSLT 5.2 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for node() in match patterns. Default axis is child. -->
<xsl:template match="/doc">
1.2 +5 -4 xml-xalan/test/tests/conf/node/node16.xsl
Index: node16.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node16.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node16.xsl 2000/12/15 23:01:14 1.1
+++ node16.xsl 2000/12/29 19:57: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: axes60 -->
+ <!-- FileName: node16 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for 'attribute::*' in match pattern. -->
<xsl:template match="/">
@@ -14,9 +15,9 @@
</xsl:for-each>
</out>
</xsl:template>
-
+
<xsl:template match="attribute::*">
<xsl:value-of select="name(.)"/><xsl:text> </xsl:text>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/node/node01.xsl
Index: node01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/node/node01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- node01.xsl 2000/12/15 23:01:13 1.1
+++ node01.xsl 2000/12/29 19:57: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: NTST01 -->
+ <!-- FileName: node01 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.3 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test for text() node test. -->
<!-- Should say "test" -->
@@ -14,9 +15,9 @@
<xsl:value-of select="./text()"/>
</out>
</xsl:template>
-
+
<xsl:template match="text()">
<xsl:value-of select="."/>
</xsl:template>
-
+
</xsl:stylesheet>