You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Lennart Johansson <le...@student.liu.se> on 2000/07/26 14:40:47 UTC
Bug report: National characters (ISO-8859-1) in --> Segmentation fault
Hi
I'm using the linux version of Xalan-C++ version 0.40.0
The following causes Segmentation fault when using testXSLT:
<?xml version='1.0' encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="FIELD">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name"><xsl:value-of select="@NAME"/>
</xsl:attribute>
<xsl:attribute name="value">This causes Seg. fault: ÅÄÖ</xsl:attribute>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
The bug aperes when using International characters in ISO-8859-1 like ÅÄÖåäö (swedish) between <xsl:attribute> and </xsl:attribute>
Note that this xml-tag will also cause segmentation fault (erlier):
<FIELD NAME="åäö"/>
Please reply when there's a fix for this problem...
/Lennart Johansson, student