You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/10/02 23:20:36 UTC

DO NOT REPLY [Bug 3931] New: - Silently crashes in erroneous select attribute.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3931>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3931

Silently crashes in erroneous select attribute.

           Summary: Silently crashes in erroneous select attribute.
           Product: XalanC
           Version: 1.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: chato@chato.cl


The following XSL template causes that "testXSLT" crashes very silently
and without any message (only Abort: core dumped) when the following (erroneous)
template is given:

<xsl:template name="mytemplate">
    <xsl:variable name="myvariable">myvalue</xsl:variable>
    <xsl:value-of select="{$myvariable}"/>
</xsl:template>
Note the "{" and "}" in the select attribute. It's a VERY COMMON MISTAKE
and will be very hard to find because the parser gives no error message.