[eml-dev] [Bug 3492] New: - Unit should be pluralized by default
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Tue Sep 23 10:49:19 PDT 2008
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3492
Summary: Unit should be pluralized by default
Product: EML
Version: 2.0.1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: eml - general bugs
AssignedTo: jones at nceas.ucsb.edu
ReportedBy: walbridge at nceas.ucsb.edu
QAContact: eml-dev at ecoinformatics.org
In eml-physical.xsl, the template 'physicalsize' should see if the unit is
greater than one, and pluralize accordingly. Currently, it just reads:
<xsl:value-of select="./@unit"/>
Perhaps instead, it could read:
<xsl:value-of select="./@unit"/>
<xsl:if test="@unit > '1'">
s
</xsl:if>
Mostly annoying because most EML documents with entities have a byte count, and
it displays as '145902 byte' currently.
More information about the Eml-dev
mailing list