You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/09/10 02:29:52 UTC

DO NOT REPLY [Bug 23046] New: - [XSLTC] calling sum() on 0.00 inserts a '$' in the result

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23046

[XSLTC] calling sum() on 0.00 inserts a '$' in the result

           Summary: [XSLTC] calling sum() on 0.00 inserts a '$' in the
                    result
           Product: XalanJ2
           Version: 2.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan-Xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: adam@grummen.net


performing a sum() of attributes that have the value '0.00' for some reason
sticks a '$' in front of the total, which makes it pretty annoying for using the
result for other arithmetic functions. It only seems to do this for attributes
equalling zero, eg doing sum of 5.7 and 1.2 won't add the '$' sign.