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-2252) Inconsistency onHexadecimal numbers - BASE produces Hexadecimal with uppercase only,HEX2DEC "must accept lowercase"



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

David Wheeler  commented on OFFICE-2252:
----------------------------------------

The original HEX2DEC text said "must accept lowercase", but the intent was that HEX2DEC must ALSO accept lowercase letters (as well as uppercase ones).  It's true that DEC2HEX is supposed to produce only uppercase, but that difference was intentional.  This is just the "Robustness principle" or "Postel's Law" of Jon Postel as enshrined in RFC 761 and elsewhere: "Be conservative in what you do; be liberal in what you accept from others."  Besides, HEX2DEC might be processing data from people, not just from DEC2HEX.

I think that the xxx2HEX functions should be *REQUIRED* to generate uppercase, rather than simply a *SHOULD*, but it's hard to argue that that is critical for interoperability.


> Inconsistency on Hexadecimal numbers - BASE produces Hexadecimal with uppercase only, HEX2DEC "must accept lowercase"
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFFICE-2252
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2252
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2 Part 2 CD 1
>            Reporter: Patrick Durusau
>            Assignee: Andreas Guelzow 
>             Fix For: ODF 1.2 Part 2 CD 2
>
>
> Inconsistency on Hexadecimal numbers - BASE produces Hexadecimal with uppercase only, HEX2DEC "must accept lowercase"
> Part of the problem is that other than at BASE, we don't appear to define hexadecimal number. 

-- 
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]