[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (OFFICE-3029) 19.598:Table:Condition - location of namespace prefix seems scoped incorrectly
[ http://tools.oasis-open.org/issues/browse/OFFICE-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21597#action_21597 ] Dennis Hamilton commented on OFFICE-3029: ----------------------------------------- It turns out that CELL("CONTENT") doesn't do the job. I think we need an OpenFormula "CURRENT_CONTENT()" function that can be used in filter expressions (and also other interesting formulas, since it does not imply recursion if the formula not producing a new value or it doesn't force recursion. (There should be no recursion if the evaluation does not change the current content.) I continue to recommend that is-true-formula be allowed in the syntax for the condition. I also note two things about when evaluation of filters must occur: 1. The existing cell-content() references that are allowed tend to imply that something has already been accepted or exists as the cell content. 2. The condition can be for a warning or an informational message, not a rejection of the supplied value. 3. This suggests that an appropriate interpretation is as if the value already exists in the cell and that a persistent document may contain table cell values that do not satisfy the filter conditions for one reason or another. That seems like the most clear-cut way to handle this. > 19.598: Table:Condition - location of namespace prefix seems scoped incorrectly > ------------------------------------------------------------------------------- > > Key: OFFICE-3029 > URL: http://tools.oasis-open.org/issues/browse/OFFICE-3029 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Bug > Components: OpenFormula, Part 1 (Schema), Public Review, Table > Affects Versions: ODF 1.2 CD 05 > Reporter: Eric Patterson > Assignee: Eric Patterson > Fix For: ODF 1.2 CD 06 > > > In section 19.598, it has the following text: "The value of this attribute should be a namespace prefix, followed by a ":" (COLON, U+003A), followed by Boolean expression. ". This implies placing the namespace prefix at the beginning of the condition string, immediately preceding the condition. For example: > table:condition="of:cell-content-is-decimal-number() and cell-content-is-between(1,[.B1])" > Given that the OF namespace specifies the syntax for an expression used as a value in a condition, is this the best place for it? Should it be as follows instead? > table:condition="cell-content-is-decimal-number() and cell-content-is-between(1,of:[.B1])" -- 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]