OpenFormula Syntax has Conflicting Definitions of Identifier

    • Hide

      1. Change the syntax in section 5.6 to be simply

      """
      FunctionName ::= LetterXML (LetterXML | DigitXML |'_' | '.' | CombiningCharXML)*

      Where LetterXML, DigitXML, and CombiningCharXML are Letter, Digit, and CombiningChar as they are defined in [XML1.0].

      Function names are case-insensitive.
      """

      Show
      1. Change the syntax in section 5.6 to be simply """ FunctionName ::= LetterXML (LetterXML | DigitXML |'_' | '.' | CombiningCharXML)* Where LetterXML, DigitXML, and CombiningCharXML are Letter, Digit, and CombiningChar as they are defined in [XML1.0] . Function names are case-insensitive. """
    • Hide

      1. Change the syntax in section 5.6 to be simply

      """
      FunctionName ::= LetterXML (LetterXML | DigitXML |'_' | '.' | CombiningCharXML)*

      Where LetterXML, DigitXML, and CombiningCharXML are Letter, Digit, and CombiningChar as they are defined in [XML1.0].

      Function names are case-insensitive.
      """

      Show
      1. Change the syntax in section 5.6 to be simply """ FunctionName ::= LetterXML (LetterXML | DigitXML |'_' | '.' | CombiningCharXML)* Where LetterXML, DigitXML, and CombiningCharXML are Letter, Digit, and CombiningChar as they are defined in [XML1.0] . Function names are case-insensitive. """

      In ODF 1.2 CD05 Part 2, there are two different Syntax rules for the "Identifier" pattern in Section 5 Syntax.

      The first one is in section 5.6 where we have

      """
      FunctionName ::= Identifier

      Identifier ::= LetterXML (LetterXML | DigitXML |'_' | '.' | CombiningCharXML)*

      Where LetterXML, DigitXML, and CombiningCharXML are Letter, Digit, and CombiningChar as they are defined in [XML1.0].

      Function names are case-insensitive.
      """

      At the end of section 5.11, we have

      """
      Identifier ::= ( LetterXML
      (LetterXML | DigitXML | '_' | CombiningCharXML)* )

      • ( [A-Za-z][0-9] )
      • ([Tt][Rr][Uu][Ee]) - ([Ff][Aa][Ll][Ss][Ee])
        """

      which is quite different. Also, all references to Identifiers in the Section 5 syntax rules are from Named Expression rules, apart from the single use of Identifier as an intermediate for FunctionName.

            Assignee:
            Dennis Hamilton (Inactive)
            Reporter:
            Dennis Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: