Issue Details (XML | Word | Printable)

Key: OFFICE-1814
Type: Bug Bug
Status: Applied Applied
Resolution: No Action
Priority: Major Major
Assignee: Svante Schubert
Reporter: Robert Weir
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OASIS Open Document Format for Office Applications (OpenDocument) TC

ISO/IEC JTC 1/SC 34 N 1078 : DEFECT REPORT NUMBER JP2-23

Created: 28/May/09 04:24 PM   Updated: 18/Nov/10 10:40 PM
Component/s: Needs Discussion, Table
Affects Version/s: ODF 1.0, ODF 1.0 (second edition), ODF 1.0 Errata 02
Fix Version/s: ODF 1.0 Errata CD 5

Proposal: See Dennis comment about adding implementation-dependent..
Resolution:
8.6.10 Function
Add after the paragraph before the schema:
"These functions are implementation-dependent."

8.8.4 Function
Add after the paragraph before the schema:
"These functions are implementation-dependent."

8.8.7 Function
Add after the paragraph before the schema:
"These functions are implementation-dependent."


8.9 Function
Add after the paragraph before the schema:
"These functions are implementation-dependent."

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
Transcribed from http://www.itscj.ipsj.or.jp/sc34/open/1078.htm

Original author: "MURATA Makoto (FAMILY Given)" <eb2m-mrt@asahi-net.or.jp>
DEFECT REPORT NUMBER JP2-23

QUALIFIER omission

REFERENCES IN DOCUMENT "Function" in Clauses 8.6.10, 8.8.4, 8.8.7, and 8.9

NATURE OF DEFECT The semantics of the functions auto, average, count, countnums, max, min, product, stdev, stdevp, sum, var and varp are not specified.

SOLUTION PROPOSED BY THE SUBMITTER Define the semantics of these functions.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Durusau added a comment - 06/Jul/09 01:26 PM
True, semantics need to be defined, including in current version.

Robert Weir added a comment - 07/Jul/09 11:23 AM
discussed in ad-hoc on 7/7 -- need also to address treatment of strings and empty cells. Should we harmonize with OpenFormula's definitions.

Eike Rathke added a comment - 08/Jul/09 08:55 AM
"auto" is an error for all usages except in data pilot tables.

A table:function="auto" of <table:data-pilot-subtotal> specifies that subtotals shall use the same function(s) that is/are used to calculate the <table:data-pilot-field>s with table:orientation="data".

A table:function="auto" of a <table:data-pilot-field> with table:orientation="column" or table:orientation="row" specifies that no function is applied to that category field.

The functions are the OpenFormula functions used in spreadsheets.

average := AVERAGE
count := COUNTA
countnums := COUNT
max := MAX
min := MIN
product := PRODUCT
stdev := STDEV
stdevp := STDEVP
sum := SUM
var := VAR
varp := VARP

As this issue is also targeted to ODF 1.0 Errata 02, I'm not sure if and how and to what extend we want to include definitions for the functions there? We certainly do not want to repeat the work of OpenFormula ...

Robert Weir added a comment - 13/Jul/09 11:35 AM
7/13 -- Ad hoc discussed and recommends no Change in ODF 1.0 Errata, but will address in ODF 1.2 with OpenFormula

Dennis Hamilton added a comment - 20/Jul/09 12:24 AM
DISCUSSION REQUESTED

Does this resolution mean that, in the defect report response we will say that the issue is deferred to resolution in ODF 1.2?

Should there be an issue that tracks our actually having done that?

Patrick Durusau added a comment - 25/Sep/09 04:45 PM
Err, does this mean that I don't have to resolve this in Part 1. So I get to proof part 2 for it? ;-) Just checking so I can close out part 1 or at least consider it done while we clean it up for public review.

Dennis Hamilton added a comment - 22/Mar/10 07:47 PM
1. The discussion here focuses on ODF 1.2 and does not describe the resolution with respect to ODF 1.0 Errata.

2. ODF 1.0 Errata CD04 rejects this defect item with the statement that

"""
Rejected, the correction of this defect would exceed the limits of OASIS errata and therefore it
will be addressed in ODF 1.2. The behavior in question is implementation dependent for
purposes of ISO 26300.
"""

3. If that is the case, I believe we should add a statement to the effect that "These functions are implementation-dependent." at the end of the 8.6.10 sub-heading "Function" paragraph, before the sentence "For category columns ..." in the paragraph under 8.8.4 sub-headning "Function", at the end of the 8.8.7 sub-heading "Function" paragraph, and at the end of the 8.9 sub-heading "Function" paragraph.

Svante Schubert added a comment - 19/May/10 10:53 AM
@Dennis:
I adjusted your suggestion only slightly by moving the implementation-dependent statement always at the same place.

Dennis Hamilton added a comment - 18/Nov/10 10:23 PM - edited
For ODF 1.0 8.6.10, the definition in ODF 1.2 Part 1 section 19.645.1 and the usage in 19.645.5 are consistent with Errata 02.

However, auto is listed as a defined value in 19.645.5 when that is not actually the case.

For the other three cases identfied and treated in this defect report, there are inconsistencies between the Errata and the description in ODF 1.2. The three subtasks are created in an attempt to get at least to consistency with Errata 02, although there may be secondary issues to address on some future occasion.