You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2006/03/29 08:01:18 UTC

[jira] Resolved: (XALANC-601) xalan calls atan() EXSLT function when asked for atan2()

     [ http://issues.apache.org/jira/browse/XALANC-601?page=all ]
     
David Bertoni resolved XALANC-601:
----------------------------------

    Resolution: Fixed

Patch applied.  Please verify, if possible.  Thanks!

> 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
>     Assignee: Berin Lautenbach
>     Priority: Minor
>  Attachments: xalan-atan2.diff
>
> 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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org