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...@apache.org on 2001/06/21 21:49:57 UTC
cvs commit: xml-xalan/test/tests/conf/match/err matcherr10.xsl matcherr10.xml
dmarston 01/06/21 12:49:57
Added: test/tests/conf/match/err matcherr10.xsl matcherr10.xml
Log:
Important match-pattern error case--a variable reference
Revision Changes Path
1.1 xml-xalan/test/tests/conf/match/err/matcherr10.xsl
Index: matcherr10.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: MATCHerr10 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.2 -->
<!-- Creator: David Marston -->
<!-- Purpose: Test variable in a match pattern -->
<!-- ExpectedException: Extra illegal tokens -->
<xsl:variable name="screen" select="'section1'"/>
<xsl:template match="defaultcontent">
<out>
<xsl:apply-templates/>
</out>
</xsl:template>
<xsl:template match="$screen">
<xsl:value-of select="name(.)"/>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conf/match/err/matcherr10.xml
Index: matcherr10.xml
===================================================================
<?xml version="1.0"?>
<doc>
<defaultcontent>
<section1/>
<section2/>
</defaultcontent>
</doc>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org