blob: 5e9cfa6919d1f1b3beba35cf50a76beedf28b5b2 [file] [log] [blame]
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: conditionalerr17 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 9.1 -->
<!-- Creator: David Marston -->
<!-- Purpose: Test xsl:if that has bad content in "test" attribute. -->
<!-- ExpectedException: Invalid token -->
<!-- Note the below line may not work, as it's been escaped. This
test also causes problems with ConsoleLogger, so we may
want to change the test somewhat -->
<!-- ExpectedException: Could not find function: &#58490;&#57332; -->
<!-- ExpectedException: Could not find function: --><!-- Provide minimal detection: should be reviewed -sc -->
<xsl:template match="/">
<out>
<xsl:if test="Œnot(name(.)='')">
<xsl:text>string</xsl:text>
</xsl:if>
</out>
</xsl:template>
</xsl:stylesheet>