Issue Details (XML | Word | Printable)

Key: OFFICE-1794
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-2

Created: 28/May/09 04:23 PM   Updated: 17/May/10 11:57 AM
Component/s: None
Affects Version/s: ODF 1.0, ODF 1.0 (second edition)
Fix Version/s: ODF 1.0 Errata CD 5

Proposal:
The text:fixed attribute specifies whether or not the value of a field element is fixed.

The defined values of the text:fixed attribute are:

* true: value of the field element where this attribute appears is preserved in all future edits of the document.
* false: value of the field element where this attribute appears is not preserved in future edits of the document.
Resolution:
6.7.2 Fixed
Delete the sentences:
"If the value of a field is fixed, the value of the field element to which this attribute is attached is preserved in all future edits of the document. If the value of the field is not fixed, the value of the field may be replaced by a new value when the document is edited."
and insert:
The defined values of the text:fixed attribute are:
true: value of the field element where this attribute appears is preserved.
false: value of the field element where this attribute appears may be changed.

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

QUALIFIER clarification required

REFERENCES IN DOCUMENT Clause 6.7.2

NATURE OF DEFECT "If the value of a field is fixed" and "If the value of the field is not fixed" are unclear.

SOLUTION PROPOSED BY THE SUBMITTER Use "If the value of the text:fixed attribute is "true"" and "If the value of the text:fixed attribute is not "true"", instead.


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Durusau added a comment - 06/Jul/09 11:11 AM
My only uncertainty about the proposed solution (which appears in the current draft text) is that we leave implied that the value is protected only so long as the attribute remains with the value "true."

That is to say, if I set the value of a field, set this attribute to "true," edit the file multiple times, the value remains the same. If I then give the file to Rob, if he resets the value of this attribute to "false," his edits of the text, which are "future edits," then can result in changes to that field.

Suggestions welcome on how to re-word the suggested prose.

Patrick Durusau added a comment - 06/Jul/09 11:11 AM
Proposal posted.

Dennis Hamilton added a comment - 17/Mar/10 09:15 PM
I believe the resolution of this issue goes too far. There are two concerns:

1. The attribute is optional, but we do not say what the default behavior is. I suspect it is "false."

2. We say more than the original about what it means for the variable to not be fixed. Something closer to the original language of ODF 1.0 would be the following:

"""
The defined values of the text:fixed attribute are:

* true: value of the field element where this attribute appears is preserved in all future edits of the document where the field element is retained.
* false: (default) the value of the field element may be replaced by a new value when the document is read or updated
"""
This may say too much also, but editing is actually too narrow.

Dennis Hamilton added a comment - 17/Mar/10 09:20 PM
Also, in the errata document, text:fixed, true, and false must appear in a monospace (Courier New) font.

Patrick Durusau added a comment - 24/Apr/10 05:10 PM
Suggestion:

true: value of the field element where this attribute appears is preserved.
false: value of the field element where this attribute appears may be changed.

No default because this is an optional attribute, that is it only has an impact if present and we define that impact here.

Note that "false" only means that it may be changed. I could be editing some other field and despite that edit, another field remains the same.

Note that "true" for a dynamic field, such as date (you have seen the various drafts with the same incorrect dates?), means that on reload the date does not change. If False, it would.

BTW, there are no "future edits." There are only edits that are occurring while the value of this attribute, if present, is true or false.

Thanks to Dennis for spurring this line of thinking!

Dennis Hamilton added a comment - 17/May/10 11:57 AM
I see that "Needs Discussion" is removed but it is not clear that there has been discussion toward resolution.

Clearly there is a default fact with regard to whether a text field is fixed or not? What other state can a text field be in?

[I have no idea whether there is an inter-dependency with whether the field can be protected or not, although that is something certainly worth discussing.]

Oh, and "may be changed" is too vague.