dmarston 00/12/29 11:38:43
Modified: test/tests/conf/attribvaltemplate attribvaltemplate09.xsl
attribvaltemplate02.xsl attribvaltemplate03.xsl
attribvaltemplate04.xsl attribvaltemplate05.xsl
attribvaltemplate07.xsl attribvaltemplate08.xsl
attribvaltemplate01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +6 -6
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate09.xsl
Index: attribvaltemplate09.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate09.xsl 2000/12/16 00:54:34 1.1
+++ attribvaltemplate09.xsl 2000/12/29 19:38:39 1.2
@@ -1,13 +1,13 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- FileName: attribvaltemplate09 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 7.6.2 -->
- <!-- Purpose: Testing generation of null attribute. This was a problem with
- the C++ version. If $From was null it was not outputting the
attribute. -->
- <!-- Author: Geoff Crowther -->
+ <!-- Purpose: Testing generation of null attribute.
+ Bug: if $From was null, it was not outputting the attribute. -->
+ <!-- Author: Geoff Crowther -->
<xsl:param name="From"/>
@@ -16,5 +16,5 @@
<setvar name="From" value="{$From}"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +7 -6
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate02.xsl
Index: attribvaltemplate02.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate02.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate02.xsl 2000/12/29 19:38:39 1.2
@@ -1,16 +1,17 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: AVT02 -->
+ <!-- FileName: attribvaltemplate02 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 7.6.2 -->
- <!-- Purpose: Test two AVTs with literal element between
- them (based on example in the spec). -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test two AVTs with literal element between them
+ (based on example in the spec). -->
<xsl:template match="photograph">
<xsl:variable name="image-dir">/images</xsl:variable>
<out src="{$image-dir}/{href}" width="{size/@width}"/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate03.xsl
Index: attribvaltemplate03.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate03.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate03.xsl 2000/12/29 19:38:39 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: AVT03 -->
+ <!-- FileName: attribvaltemplate03 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 7.6.2 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of left curly brace escape. -->
<xsl:template match="doc">
<out test="{{"/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate04.xsl
Index: attribvaltemplate04.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate04.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate04.xsl 2000/12/29 19:38:39 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: AVT04 -->
+ <!-- FileName: attribvaltemplate04 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 7.6.2 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of right curly brace escape. -->
<xsl:template match="doc">
<out test="}}"/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -2
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate05.xsl
Index: attribvaltemplate05.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate05.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate05.xsl 2000/12/29 19:38: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: AVT05 -->
+ <!-- FileName: attribvaltemplate05 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.2 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Use of Curly brace to set value of HTML attribute. -->
<xsl:output method="html" indent="yes"/>
1.2 +5 -6
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate07.xsl
Index: attribvaltemplate07.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate07.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate07.xsl 2000/12/29 19:38: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: AVT07 -->
+ <!-- FileName: attribvaltemplate07 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.2 Creating Elements with xsl:element. -->
- <!-- Purpose: Use of Curly brace to set value of html attributes. This was
a
- test based on SPR PDIK4D2JCF. Apparently we could not parse the
attribute
- that had a space in it i.e. Edit Accounts. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Use of Curly brace to set value of HTML attributes.
Predicate and quotes inside. -->
<xsl:output method="html" indent="yes"/>
@@ -16,5 +15,5 @@
<a href="{./[EMAIL PROTECTED]'Edit Accounts']/@value}"></a>
</HTML>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -3
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate08.xsl
Index: attribvaltemplate08.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate08.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate08.xsl 2000/12/29 19:38:40 1.2
@@ -6,9 +6,9 @@
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.2 Creating Elements with xsl:element. -->
- <!-- Purpose: Compare the results of attribute value generated by AVT vs
- xsl:value-of, with the output specified to be html. We differ from
both
- XT and Saxon on this.
-->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Compare the results of attribute value generated by AVT vs.
+ xsl:value-of, with the output specified to be HTML. -->
<xsl:template match="doc/problem">
<out value="[EMAIL PROTECTED]">
1.2 +5 -4
xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate01.xsl
Index: attribvaltemplate01.xsl
===================================================================
RCS file:
/home/cvs/xml-xalan/test/tests/conf/attribvaltemplate/attribvaltemplate01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- attribvaltemplate01.xsl 2000/12/16 00:54:35 1.1
+++ attribvaltemplate01.xsl 2000/12/29 19:38:40 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: AVT01 -->
+ <!-- FileName: attribvaltemplate01 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 7.6.2 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of single attribute value template (AVT). -->
<xsl:template match="doc">
<out test="{.}"/>
</xsl:template>
-
+
</xsl:stylesheet>