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-1895) RIGHTB and friendsis incompletely specified

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

Robert Weir  commented on OFFICE-1895:

We need to clarify that OpenFormula functions are defined to operate on an abstract machine where function parameters are passed  Unicode strings.  Functions are not defined in terms of coded characters, which would be in a specific encoding.  If we do this, then character-oriented functions should be clear.

Any byte-oriented functions, however, would need to be defined in terms of a specific encoding.

The OOXML definition of this function is not particularly helpful:

"RIGHTB ( string , [ number-bytes ] )
Description: Extracts the right-most number-bytes-worth of characters from string. (RIGHTB is intended for use
with languages that use the double-byte character set (DBCS), whereas RIGHT (ยง18.17.7.275) is intended for use
with languages that use the single-byte character set (SBCS).)"

> RIGHTB and friends is incompletely specified
> --------------------------------------------
>                 Key: OFFICE-1895
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-1895
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: OpenFormula
>    Affects Versions: ODF 1.2
>            Reporter: Andreas Guelzow 
> 6.6.6 RIGHTB
> Summary: Return a selected number of text characters from the right, using byte position.
> This description fails to indicate what happens in the likely situation that the selected bytes do not form a complete character sequence. Should that be an error or move to a correct position?
> Similarly for  the otehr ...B functions

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]