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=8041>.
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=8041

Incorrect expression syntax doesnt produce error

           Summary: Incorrect expression syntax doesnt produce error
           Product: XalanJ2
           Version: 2.3Dx
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the following code, the compiler should notice that there are an odd number 
of brackets and generate a parsing error.

----
XSLT

<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <xsl:output method="text" indent="no"/>
        <xsl:template match="/">
<xsl:value-of select="(3 * (2 + 1) * 10"/>
        </xsl:template>
</xsl:stylesheet>

EXPECTED
--------
expression parse error

RESULT
------
90

Reply via email to