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 2002/09/11 20:28:21 UTC
cvs commit: xml-xalan/test/tests/conferr/attribseterr attribseterr09.xsl attribseterr09.xml
dmarston 2002/09/11 11:28:21
Added: test/tests/conferr/attribseterr attribseterr09.xsl
attribseterr09.xml
Log:
New error case: purity of content of xsl:attribute-set
Revision Changes Path
1.1 xml-xalan/test/tests/conferr/attribseterr/attribseterr09.xsl
Index: attribseterr09.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: attribseterr09 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 7.1.3 Creating Attributes -->
<!-- Creator: David Marston -->
<!-- Purpose: Attempt to use xsl:if inside xsl:attribute-set -->
<!-- ExpectedException: xsl:if is not allowed in this position in the stylesheet! -->
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:attribute-set name="set1">
<xsl:attribute name="color">black</xsl:attribute>
<xsl:if test="32 > 1">
<xsl:attribute name="font-size">14pt</xsl:attribute>
</xsl:if>
</xsl:attribute-set>
<xsl:template match="/">
<out>
<test1 xsl:use-attribute-sets="set1"></test1>
</out>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conferr/attribseterr/attribseterr09.xml
Index: attribseterr09.xml
===================================================================
<?xml version="1.0"?>
<doc>
<section index="section1" index2="atr2val">
<section index="subSection1.1">
<p>Hello</p>
<p>Hello again.</p>
</section>
</section>
</doc>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org