You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by zo...@apache.org on 2003/12/08 19:35:15 UTC
cvs commit: xml-xalan/test/tests/conferr/variableerr variableerr05.xsl variableerr06.xsl
zongaro 2003/12/08 10:35:15
Modified: test/tests/conferr/variableerr Tag: xslt20-compiled
variableerr05.xsl variableerr06.xsl
Log:
Applying patch from Richard Cao (richcao@ca.ibm.com) for Bugzilla bug report
797.
Added code that checks whether an xsl:param, xsl:variable or xsl:with-param
has both a select attribute and content. Also, new test case to test for
message in case of xsl:with-param, and updated messages in existing tests for
xsl:param and xsl:variable.
Revision Changes Path
No revision
No revision
1.1.6.1 +2 -2 xml-xalan/test/tests/conferr/variableerr/variableerr05.xsl
Index: variableerr05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conferr/variableerr/variableerr05.xsl,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -u -r1.1 -r1.1.6.1
--- variableerr05.xsl 14 Dec 2001 22:47:29 -0000 1.1
+++ variableerr05.xsl 8 Dec 2003 18:35:15 -0000 1.1.6.1
@@ -6,7 +6,7 @@
<!-- DocVersion: 19991116 -->
<!-- Section: 11.2 Values of Variables and Parameters -->
<!-- Purpose: Test for xsl:variable with both content and select. -->
- <!-- ExpectedException: xsl:variable cannot have both content and select attribute. -->
+ <!-- ExpectedException: xsl:variable element must not have both content and a select attribute. -->
<!-- Author: David Marston -->
<xsl:template match="doc">
@@ -16,4 +16,4 @@
</out>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
1.1.6.1 +2 -2 xml-xalan/test/tests/conferr/variableerr/variableerr06.xsl
Index: variableerr06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conferr/variableerr/variableerr06.xsl,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -u -r1.1 -r1.1.6.1
--- variableerr06.xsl 14 Dec 2001 22:47:29 -0000 1.1
+++ variableerr06.xsl 8 Dec 2003 18:35:15 -0000 1.1.6.1
@@ -6,7 +6,7 @@
<!-- DocVersion: 19991116 -->
<!-- Section: 11.2 Values of Variables and Parameters -->
<!-- Purpose: Test for xsl:param with both content and select. -->
- <!-- ExpectedException: xsl:param cannot have both content and select attribute. -->
+ <!-- ExpectedException: xsl:param element must not have both content and a select attribute. -->
<!-- Author: David Marston -->
<xsl:param name="n" select="3">2</xsl:param>
@@ -17,4 +17,4 @@
</out>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org