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] Updated: (OFFICE-3502) ODF 1.2 CD05-1 19.598:table:condition semantics over-specific



     [ http://tools.oasis-open.org/issues/browse/OFFICE-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Hamilton updated OFFICE-3502:
------------------------------------

    Proposal: 
In the first paragraph of section 19.598 table:condition, remove the first two sentences:

"""
The table:condition attribute specifies the condition that determines whether a cell content is valid in regard to a validation rule or not. A cell content is valid if the condition evaluates to "true".
"""

Add the following paragraph before the adjusted first paragraph:

"""
The table:condition attribute specifies a condition that applies to the value of a table cell that references the <table:content-validation> element having the table:condition attribute.   When evaluation of the condition results in "false", any action taken is determine by the other attributes and child elements of the <table:content-validation> element.  [Note: possible actions include presentation of a message, triggering an event, and performance of a script, with or without invalidating the value.  Also, the table:allow-empty-cell attribute value influences whether the table:condition is applicable.]
"""

At the end of the paragraph that is now the second paragraph, add the following sentence:

"""
[Note: The value of the <table:content-validation> table:base-cell-address can influence how references are resolved in an *expression* anywhere within the defined conditions.].
"""

Note: The "*expression*" means that "expression" should be in italics.

  was:
In the first paragraph of section 19.598 table:condition, remove the first two sentences:

"""
The table:condition attribute specifies the condition that determines whether a cell content is valid in regard to a validation rule or not. A cell content is valid if the condition evaluates to "true".
"""

Add the following paragraph before the adjusted first paragraph:

"""
The table:condition attribute specifies a condition that applies to the value of a table cell that references the <table:content-validation> element having the table:condition attribute.   When evaluation of the condition results in "true", any action taken is determine by the other attributes and child elements of the <table:content-validation> element.  [Note: possible actions include presentation of a message, triggering an event, and performance of a script, with or without invalidating the value.  Also, the table:allow-empty-cell attribute value influences whether the table:condition is applicable.]
"""

At the end of the paragraph that is now the second paragraph, add the following sentence:

"""
[Note: The value of the <table:content-validation> table:base-cell-address can influence how references are resolved in an *expression* anywhere within the defined conditions.].
"""


Corrected when the table:condition causes any special action.  It is when the table:condition evaluates to false, not true.

> ODF 1.2 CD05-1 19.598: table:condition semantics over-specific
> --------------------------------------------------------------
>
>                 Key: OFFICE-3502
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3502
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Part 1 (Schema), Table
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Dennis Hamilton
>            Assignee: Dennis Hamilton
>             Fix For: ODF 1.2 CD 06
>
>
> In ODF 1.2 CD05-1 19.598, the first paragraph begins with these sentences:
> """
> The table:condition attribute specifies the condition that determines whether a cell content is valid in regard to a validation rule or not. A cell content is valid if the condition evaluates to "true".
> """
> This statement is inaccurate and too strict.  The condtion can be used for other than the determination of the validity of a table cell's content.  According to the definition of the <table:content-validation> there are a variety of ways that the table:condition can be used.  In particular, the associated <table:error-message> element can specify that the table:condition produces a warning message or simply an information-only message.  Although it is the default to take the table:condition satisfaction as causing an operation to stop, that is not the only case.  (And stopping an operation is an odd way to say this, since the operation is the validation.)   I suspect the more-correct interpretation of "stop" is to require a different value to be entered for the cell, although that won't always be possible.  (E.g., consider a cell whose value is determined by a formula for which the table:condition applies and is satisfied.)
> The initial two sentences need to be softened to admit of other possibilities, including use for purposes other than determining that a value is invalid.

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