Project

Profile

Help

Bug #3176 ยป npe.xsl

Daniel Schmidt, 2017-03-20 15:45

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:variable name="error" as="xs:string" select="
if(true())
then 'foo'
else replace('bar', '()','baz')"/>
</xsl:stylesheet>
    (1-1/1)