Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ODF 1.2 Part 2 CD 1
    • Component/s: OpenFormula
    • Labels:
      None
    • Proposal:
      Hide

      Delete Sections 4.11.2, 4.11.3, 4.11.4. Merge 4.11.1 into 4.11

      However, the terms "Simple Named Expressions", "External Named Expressions" and "Sheet-local Named Expressions" must be preserved, since they are referenced by the small and large evaluator group definitions, for example in 8.3.4.

      However, I don't think 4.11.1 adequately defines those terms. We need something like the following after the BNF:

      "A NamedExpression without a Source , QuotedSheetName , or SubtableCell is a Simple Named Expression. A NamedExpression with a Source is an External Named Expression. A NamedExpression with a QuotedSheetName is a Sheet-local Named Expression."

      We can then go directly into the next paragraph, as "Evaluators supporting named expressions shall support Simple Named Expression..."

      An alternative would be to define 3 different BNF's, one corresponding to each named expression type and then or them altogether to define "named expression"

      Show
      Delete Sections 4.11.2, 4.11.3, 4.11.4. Merge 4.11.1 into 4.11 However, the terms "Simple Named Expressions", "External Named Expressions" and "Sheet-local Named Expressions" must be preserved, since they are referenced by the small and large evaluator group definitions, for example in 8.3.4. However, I don't think 4.11.1 adequately defines those terms. We need something like the following after the BNF: "A NamedExpression without a Source , QuotedSheetName , or SubtableCell is a Simple Named Expression. A NamedExpression with a Source is an External Named Expression. A NamedExpression with a QuotedSheetName is a Sheet-local Named Expression." We can then go directly into the next paragraph, as "Evaluators supporting named expressions shall support Simple Named Expression..." An alternative would be to define 3 different BNF's, one corresponding to each named expression type and then or them altogether to define "named expression"
    • Resolution:
      Hide

      Changed EBNF to

      NamedExpression ::= SimpleNamedExpression |
      SheetLocalNamedExpression | ExternalNamedExpression

      SimpleNamedExpression ::= Identifier |
      '$$' (Identifier | SingleQuoted)

      SheetLocalNamedExpression ::=
      QuotedSheetName '.' SimpleNamedExpression

      ExternalNamedExpression ::=
      Source '#' (SimpleNamedExpression | SheetLocalNamedExpression)

      Removed 4.11.1 General merging text to 4.11 Named Expressions
      Concatenated test cases of section 4.11.2, 4.11.3 and 4.11.4
      Merged test cases into 4.11

      Show
      Changed EBNF to NamedExpression ::= SimpleNamedExpression | SheetLocalNamedExpression | ExternalNamedExpression SimpleNamedExpression ::= Identifier | '$$' (Identifier | SingleQuoted) SheetLocalNamedExpression ::= QuotedSheetName '.' SimpleNamedExpression ExternalNamedExpression ::= Source '#' (SimpleNamedExpression | SheetLocalNamedExpression) Removed 4.11.1 General merging text to 4.11 Named Expressions Concatenated test cases of section 4.11.2, 4.11.3 and 4.11.4 Merged test cases into 4.11

      Description

      Sections 4.11.2, 4.11.3, and 4.11.4 appear to be only example sections that repeat material found in 4.11.1.

      If we can delete these sections, then 4.11.1 can merge into 4.11 Named Expressions.

      Conformance to the various levels of named expressions is a matter for the conformance sections.

        Attachments

          Activity

            People

            • Assignee:
              rcweir Robert Weir (Inactive)
              Reporter:
              patrick Patrick Durusau
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: