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-2034) Table:formulaattribute and the Formula data type



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

Michael Brauer commented on OFFICE-2034:
----------------------------------------

In ODF 1.2 part 1 CD03 rev03, the descriptions of style:condition, table:condition and table:expression have been amended and now state that there may be a namespace prefix, and that the default is the OpenFormula namespace.

But we should add somewhere that formulas that are contained in any attribute that uses a namespace prefix that is bound the OpenFormula namespace must conform to the syntax defined by OpenFormula.

Suggestion:

Add a new conformance clause (D1.4.3) which reads:

If the namespace prefix of a style:condition, table:condition, table:expression, table:formula or text:formula is associated with the "urn:oasis:names:tc:opendocument:xmlns:openformula:1.0" namespace, or if the prefix is omitted and the default is "urn:oasis:names:tc:opendocument:xmlns:openformula:1.0" namespace, then the syntax of any formula which is contained in the attribute value shall conform to part 2 of this specification.

> Table:formula attribute and the Formula data type
> -------------------------------------------------
>
>                 Key: OFFICE-2034
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2034
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: Styles, Table
>    Affects Versions: ODF 1.2
>            Reporter: Eric Patterson
>            Assignee: Michael Brauer
>             Fix For: ODF 1.2
>
>
> Section 1.4.2.4 has the following to say about conforming spreadsheet documents:
> 1.4.2.4 Conforming OpenDocument Spreadsheet Document  (D4.4)All table:formula attribute values shall be namespace prefixed and the namespace prefix shall correspond to the "urn:oasis:names:tc:opendocument:xmlns:openformula:1.0" namespace.
> (D4.5)All table:formula attribute values shall conform to the syntax defined by OpenFormula
> The above covers table:formula attributes and does not appear to apply to the formula data type.  This make the implementation of other structures that use the formula data type unclear.  For example, table:condition and style:condition reference the formula data type, but it is unclear whether formula strings for these should use OpenFormula syntax.  I propose that we be more clear about the intent here.  We should include something in 16.17.1.24 along the lines of "Formulas MAY conform to the syntax defined by OpenFormula.  Formula strings that conform to the syntax defined by OpenFormula shall be namespace prefixed..."
> For reference, here is what the spec and schema say about this data type:
> 16.17.1.24 formula
> A string containing a formula. Formulas don't have a predefined syntax, but should start with a namespace prefix that specifies the syntax used within the formula.
> - <define name="formula">
> - <!--  A formula should start with a namespace prefix,
>   -->
> - <!--  but has no restrictions
>   -->
>   <data type="string" /

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