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] Commented: (OFFICE-3029) Needs-Discussion:19.598: Table:Condition - location of namespace prefix seems scopedincorrectly

    [ http://tools.oasis-open.org/issues/browse/OFFICE-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20057#action_20057 ] 

Dennis Hamilton commented on OFFICE-3029:

I think that is the correct reading based on what Eike says and how we slogged through this. 

That leaves the problem of how OpenFormula (or another expression syntax and semantics determined by the binding of a namespace prefix) expressions are slipped in for value1 and value2.  

This seems to be a matter of understanding whether there is any problem with OpenFormula expressions that could have exposed infix commas that would make the parsing of value1 and value2 ambiguous.  I suppose that could always be handled by putting the OpenFormula expressions in (...) when necessary to prevent ambiguity with regard to the separation of value1 and value2.  This would seem to be applicable for expressions from other namespaces too, although the means of delimiting the expression might have to be different.  Also we would have trouble with any expression syntax that uses unbalanced parentheses.

If there is not a JIRA issue on this already, there probably also needs to be one on what the host-dependent properties are for OpenFormula expressions in this context.  (Compare 19.644 table:formula)

> Needs-Discussion: 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
>    Affects Versions: ODF 1.2 CD 05
>            Reporter: Eric Patterson
> 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]