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] (OFFICE-4036) office:value-type - confusing language?


    [ https://issues.oasis-open.org/browse/OFFICE-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=73580#comment-73580 ] 

Regina Henschel commented on OFFICE-4036:
-----------------------------------------

Here my understanding of it:

"these elements" are not the elements <table:table-cell>  or <text:expression> and so on, but it is about the items in the table. It becomes clearer by the schema. The "common-value-and-type-attlist" symbol groups office:value-type attribute and office:foo-value attribute and only in case of office:value-type="string" the associated office:sting-value attribute is optional.

These pairs are sometimes optional, sometimes mandatory for the element, which contains such pair.

A <table:table-cell> has a lot of allowed child elements, but no pure character data. Look at symbol "text-content" in the schema. In context of this section it seems that "<table:table-cell> element content" means the characters, which are displayed to the user. 
Example A: office:value-type="date" and office:date-value="2019-04-28". Depending on number format and language, the table cell might show to the user  "28.04.2019" or "Sonntag" or "Apr" or "2019/04/19" or "2019/19/04" or something else. In all such cases the 'content' differs from the 'value'.  
Example B: The table cell shows a 'content' "45" to the user. The origin could be the pair [office:value-type="float" office:value="45"] or the pair [office:value-type="string" office:string-value="45"].
Example C: The 'value' office:value="0.25" is presented to the user as 'content' "0.25" or "25%", depending whether office:value-type="float" or office:value-type="percent" is used.

I have no suggesting for a better wording or structure of the text.
  

> office:value-type - confusing language?
> ---------------------------------------
>
>                 Key: OFFICE-4036
>                 URL: https://issues.oasis-open.org/browse/OFFICE-4036
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>    Affects Versions: ODF 1.4
>         Environment: schema
>            Reporter: Patrick Durusau
>            Priority: Minor
>
> 3rd paragraph of office:value-type reads:
> *****
> The value type of each of these elements shall be specified. If the value type is not {{string}} or if the {{<}}{{table:table-cell}}{{>}} element content differs from the value of the element, the corresponding Value Attribute(s) (Table 14 - Value attributes) shall contain the value(s) of the element.
> *****
> First, the mandatory appearance of type should be specified at each element and not here. So lose the first sentence.
> Second, I don't know what the second element in "if the {{<}}{{table:table-cell}}{{>}} element content differs from the value of the element" is making reference to? How can cell content differ from "the value of the element?"



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


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