[jira] [Assigned] (XALANJ-2641) result of expression string(-1 * number(.)) is wrong, when input value (an argument to 'number' function) is 0.0 coming from an XML document lexical syntax <number>0.0</number>

"Mukul Gandhi (Jira)" <[email protected]> Sat, 28 Feb 2026 15:25:00 +0000 (UTC)
Newsgroups gmane.text.xml.xalan.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/XALANJ-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mukul Gandhi reassigned XALANJ-2641:
------------------------------------

    Fix Version/s: xslt3.0_alpha1
         Assignee: Mukul Gandhi  (was: Gary D. Gregory)

> result of expression string(-1 * number(.)) is wrong, when input value (an argument to 'number' function) is 0.0 coming from an XML document lexical syntax <number>0.0</number>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-2641
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2641
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects.  Anybody can view the issue.) 
>          Components: XSLTC
>    Affects Versions: The Latest Development Code, 2.7.1, 2.7.2
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>            Priority: Major
>             Fix For: xslt3.0_alpha1
>
>
> This bug is reflected from, the XalanJ conf.xsltc test case math111.
> The input XML document lexical element is <number>0.0</number>. The XSLT 1.0 stylesheet expression string(-1 * number(.)) returns value -0 with XalanJ xsltc processor. But this result is correct with XalanJ interpretive processor, and the correct value of this result is 0 as per XSLT 1.0 specification. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)