file size math in the mets:file template in General-Handler.xsl (XMLUI) is
incorrect
------------------------------------------------------------------------------------
Key: DS-691
URL: http://jira.dspace.org/jira/browse/DS-691
Project: DSpace 1.x
Issue Type: Bug
Components: XMLUI
Affects Versions: 1.6.2
Environment: all environments
Reporter: Hardy Pottinger
Priority: Minor
Attachments: corrected_file_size_math.patch
This is a little nit-picky, but every time I open up the General-Handler.xsl,
to look for code to copy/paste to my theme, the math error has bugged me, so,
here's a patch to fix it. There are 1024 bytes in a KB, 1048576 bytes in a MB,
and 1073741824 bytes in a GB. The current "metric" numbers are incorrect, and
inflate the file sizes displayed by the XMLUI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel