Mukul Gandhi created XALANJ-2641: ------------------------------------ Summary: 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: 2.7.2, 2.7.1, The Latest Development Code Reporter: Mukul Gandhi Assignee: Gary D. Gregory
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) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org For additional commands, e-mail: dev-h...@xalan.apache.org