← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] Created: (OFFICE-3497) OpenFormula Syntax hasConflicting Definitions of Identifier

From
OASIS Issues Tracker <>
Date
2010-10-26T19:23:24+00:00
ID
157393521.82981288120995112.JavaMail.tomcat55@mw00
Thread
[OASIS Issue Tracker] Created: (OFFICE-3497) OpenFormula Syntax hasConflicting Definitions of Identifier
OpenFormula Syntax has Conflicting Definitions of Identifier
------------------------------------------------------------

                 Key: OFFICE-3497
                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3497
             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
          Issue Type: Bug
          Components: OpenFormula, Part 2 (Formulas)
    Affects Versions: ODF 1.2 CD 05
            Reporter: Dennis Hamilton
            Assignee: Dennis Hamilton
             Fix For: ODF 1.2 CD 06


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.

-- 
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
← Prev in month ← Prev in thread
Next in thread → Next in month →