xalan calls atan() EXSLT function when asked for atan2()
--------------------------------------------------------

         Key: XALANC-601
         URL: http://issues.apache.org/jira/browse/XALANC-601
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: CurrentCVS, 1.10    
 Environment: All platforms
    Reporter: Berin Lautenbach
    Priority: Minor


>From Debian bug number 351603, reported by  Eugeniy  Meshcheryakov:

xalan calls atan() EXSLT function when asked for atan2(), as in
following demonstration:

$ cat tst.xsl
<?xml version="1.0"?>

<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:math="http://exslt.org/math";
        extension-element-prefixes="math"
        version="1.0">
        <xsl:template match="/">
                <xsl:value-of select="math:atan2(1,1)"/>
        </xsl:template>
</xsl:transform>
$ cat tst.xml
<a/>
$ xalan -xsl tst.xsl -in tst.xml
XSLT Error: The EXSLT function 'atan' accepts one argument.Source tree node: 
#document. (file:///home/eugen/tst.xsl, line 8, column 43.)

XSLException Type is: XSLTProcessorException
Message is: The EXSLT function 'atan' accepts one argument. 
(file:///home/eugen/tst.xsl, line 8, column 43)
$

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to