OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Commented: (OFFICE-3039) Needs-Discussion:6.16.18: Issues with Convert Function

    [ http://tools.oasis-open.org/issues/browse/OFFICE-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20058#action_20058 ] 

David Wheeler  commented on OFFICE-3039:

Regarding part 1 (the meaning of "pc"):

There's no ambiguity for "pc", but not for the reason Rob Weir gave above.  Near the end of the CONVERT function there is a disambiguating rule:  "In the case where there is a naming conflict (a unit name with a prefix is the same as an unprefixed name), the unprefixed name shall take precedence."

Since "pc"="parsec" is unprefixed, that interpretation takes precedence over the "pc"="pico-calorie" interpretation.  We know of at least implementation (OpenOffice.org) that is using "pc" for "parsec", and since we usually prefer "what implementations actually do", that's a reason to prefer that implementation.  I think that "picocalorie" is a rather unusual unit anyway; most people will use Joules at that point.

Note that the specification is specifically written so that implementations do *NOT* need to figure out if they're given Area, Volume, etc.; for a given string, there should be one and only one possible interpretation.  Implementers have enough work to do without trying to figure out the unit system from context :-).

> Needs-Discussion: 6.16.18: Issues with Convert Function
> -------------------------------------------------------
>                 Key: OFFICE-3039
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3039
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Eric Patterson
>            Assignee: David Wheeler 
> 6.16.18
> "pc" ambiguity
> "c" is the prefix for energy unit calorie and can accept the pico prefix "p"  hence "pc" is pico-calorie.  The spec also defines "pc" as an abreviation for parsec.  Proposal: Remove "pc" as symbol for parsec.
> HPh Source?
> Is Horsepower-hour (HPh preferred)a standard unit?  What is the source?
> kibit binary Prefix
> All of the Binary Unit Prefixes are inital caps, should "ki" be "Ki"?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]