Issue Details (XML | Word | Printable)

Key: OFFICE-1803
Type: Bug Bug
Status: Applied Applied
Resolution: Fixed
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-11

Created: 28/May/09 04:23 PM   Updated: 10/Nov/10 07:27 PM
Component/s: None
Affects Version/s: ODF 1.0, ODF 1.0 (second edition)
Fix Version/s: ODF 1.0 Errata CD 5

Resolution:
8.1.1 Protected
Replace:
"If a table is protected, all of the table elements and the cell elements with a style:cell-protect attribute set to true are protected."
with
"If a table is protected, all of the table's cell elements with a style:cell-protect attribute set a different value than none are protected."


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

QUALIFIER clarification required

REFERENCES IN DOCUMENT "Protected", Clause 8.1.1

NATURE OF DEFECT The last sentence is unclear and in conclict with the schema.



    If a table is protected, all of the table elements and the cell elements with a style:cell-protect attribute set to true are protected.



First, style:cell-protect attributes cannot take the value "true". Does this sentence rather talk about table:protect attributes?



Second, does the "with ..." condition apply to both table elements and cell elements?

SOLUTION PROPOSED BY THE SUBMITTER


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Durusau added a comment - 06/Jul/09 12:53 PM
Good question. Values of style:cell-protect are:

formula-hidden
hidden-and-protected
none
protected -
protected or formula-hidden as a space-separated list

At least three of those should prevent changes.

Do note the question of whether table has to be protected *and* cells must be so marked to prevent changes.

Michael Brauer added a comment - 07/Jul/09 09:57 AM
Suggestion: Replace the last sentence of the first paragraph, which currently reads

 If a table is protected, all of the table elements and the cell elements with a style:cell-protect attribute set to true are protected.

with

If a table is protected, all of the table's cell elements with a style:cell-protect attribute set a different value than "none" are protected.


Michael Brauer added a comment - 07/Jul/09 10:04 AM
Does also occur in ODF 1.2. Created a clone for this (OFFICE-1902)

Robert Weir added a comment - 07/Jul/09 11:57 AM
discussed on 7/7, Patrick to go ahead with proposed resolution

Dennis Hamilton added a comment - 10/Nov/10 07:27 PM
Errata 02 - ODF 1.2 Reconciliation. The wording in ODF 1.2 19.698.4, <table:table> table:protected, is consistent with the Errata 02 change.