Your message dated Tue, 07 Feb 2006 01:17:15 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#351603: fixed in xalan 1.10-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
>From [EMAIL PROTECTED] Sun Feb 05 16:41:17 2006
Received: (at submit) by bugs.debian.org; 6 Feb 2006 00:41:17 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from ranger.kyivstar.net ([193.41.60.22])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F5uRR-0001kC-Bv
        for [EMAIL PROTECTED]; Sun, 05 Feb 2006 16:41:17 -0800
Received: from localhost.localdomain (ap-62-137.gprs.kyivstar.net 
[193.41.62.137])
        by ranger.kyivstar.net (8.12.9p2/8.12.9) with ESMTP id k160edQC078459;
        Mon, 6 Feb 2006 02:40:40 +0200 (EET)
        (envelope-from [EMAIL PROTECTED])
Received: from eugen by localhost.localdomain with local (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1F5uQN-000784-Av; Mon, 06 Feb 2006 02:40:11 +0200
Content-Type: multipart/mixed; boundary="===============1267114605=="
MIME-Version: 1.0
From: Eugeniy Meshcheryakov <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: xalan: calls atan() function when asked for atan2()
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Mon, 06 Feb 2006 02:40:11 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1267114605==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: xalan
Version: 1.10-1
Severity: normal
Tags: patch

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)
$

Attached patch fixes this problem

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc1-me
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)

Versions of packages xalan depends on:
ii  libc6                         2.3.5-12.1 GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-8  GCC support library
ii  libstdc++6                    4.0.2-8    The GNU Standard C++ Library v3
ii  libxalan110                   1.10-1     Provides XSLT support for applicat
ii  libxerces27                   2.7.0-1    validating XML parser library for 

xalan recommends no packages.

-- no debconf information

--===============1267114605==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xalan-atan2.diff"

diff -urpN xalan-1.10.orig/c/src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp 
xalan-1.10/c/src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp
--- xalan-1.10.orig/c/src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp  2005-06-14 
22:49:49.000000000 +0300
+++ xalan-1.10/c/src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp       2006-02-05 
19:54:26.000000000 +0200
@@ -1460,7 +1460,7 @@ static const XalanEXSLTFunctionAbs      
 static const XalanEXSLTFunctionAcos         s_acosFunction;
 static const XalanEXSLTFunctionAsin         s_asinFunction;
 static const XalanEXSLTFunctionAtan         s_atanFunction;
-static const XalanEXSLTFunctionAtan         s_atan2Function;
+static const XalanEXSLTFunctionAtan2        s_atan2Function;
 static const XalanEXSLTFunctionConstant     s_constantFunction;
 static const XalanEXSLTFunctionCos          s_cosFunction;
 static const XalanEXSLTFunctionExp          s_expFunction;

--===============1267114605==--


--- End Message ---
--- Begin Message ---
>From [EMAIL PROTECTED] Tue Feb 07 01:20:11 2006
Received: (at 351603-close) by bugs.debian.org; 7 Feb 2006 09:20:11 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1F6OyJ-0002IS-NK; Tue, 07 Feb 2006 01:17:15 -0800
From: Berin Lautenbach <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#351603: fixed in xalan 1.10-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 07 Feb 2006 01:17:15 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: xalan
Source-Version: 1.10-2

We believe that the bug you reported is fixed in the latest version of
xalan, which is due to be installed in the Debian FTP archive:

libapache-mod-xslt_1.10-2_i386.deb
  to pool/main/x/xalan/libapache-mod-xslt_1.10-2_i386.deb
libxalan110-dev_1.10-2_i386.deb
  to pool/main/x/xalan/libxalan110-dev_1.10-2_i386.deb
libxalan110-doc_1.10-2_all.deb
  to pool/main/x/xalan/libxalan110-doc_1.10-2_all.deb
libxalan110_1.10-2_i386.deb
  to pool/main/x/xalan/libxalan110_1.10-2_i386.deb
xalan_1.10-2.diff.gz
  to pool/main/x/xalan/xalan_1.10-2.diff.gz
xalan_1.10-2.dsc
  to pool/main/x/xalan/xalan_1.10-2.dsc
xalan_1.10-2_i386.deb
  to pool/main/x/xalan/xalan_1.10-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Berin Lautenbach <[EMAIL PROTECTED]> (supplier of updated xalan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  6 Feb 2006 21:08:00 +1100
Source: xalan
Binary: libapache-mod-xslt libxalan110-dev libxalan110 libxalan110-doc xalan
Architecture: source i386 all
Version: 1.10-2
Distribution: unstable
Urgency: low
Maintainer: Berin Lautenbach <[EMAIL PROTECTED]>
Changed-By: Berin Lautenbach <[EMAIL PROTECTED]>
Description: 
 libapache-mod-xslt - XSLT processing module for Apache
 libxalan110 - Provides XSLT support for applications
 libxalan110-dev - Provides XSLT support for applications [development]
 libxalan110-doc - Provides XSLT support for applications [development docs]
 xalan      - XSLT processor
Closes: 347196 351603
Changes: 
 xalan (1.10-2) unstable; urgency=low
 .
   * Add patch for building under GNU/kFreeBSD from
     Petr Salinger (closes: #347196)
   * Update man pages to reflect changes in xalan executable parameters
   * Add patch provided by Eugeniy Meshcheryakov to correctly handle
     atan2 EXSLT function (closes: bug#351603)
Files: 
 6d1a1b6266e4a5b7918be1ccee08a441 687 text extra xalan_1.10-2.dsc
 fa826b10aa491329eca4d5eb1b1d30fc 45145 text extra xalan_1.10-2.diff.gz
 dbd4540f32ae86324f5071076c61cc00 4679742 doc extra 
libxalan110-doc_1.10-2_all.deb
 08de836ab57b8fad487bbf82e03c90c6 1325356 libs extra libxalan110_1.10-2_i386.deb
 754c4340249c8676fe28afa729a4dc98 422268 libdevel extra 
libxalan110-dev_1.10-2_i386.deb
 0d2140c42cddd6e689a49f9b055bac5c 27680 text extra xalan_1.10-2_i386.deb
 9ca37db17815f728697a7c3bb9c09808 11972 web extra 
libapache-mod-xslt_1.10-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD6FpAF/2r6GCc0sARAlxUAKCa8qrOuyOyA08RpUl99XNzCkJaQACfbZMT
n8AHW8s8HKeS2QS2Z0O2hRk=
=zp+3
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to