OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

# office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [OASIS Issue Tracker] Issue Comment Edited: (OFFICE-2318) PublicComment: EBNF (ODF all versions) (CLONE)

• From: OASIS Issues Tracker <workgroup_mailer@lists.oasis-open.org>
• To: office@lists.oasis-open.org
• Date: Tue, 27 Apr 2010 03:22:24 -0400 (EDT)

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

Michael Brauer edited comment on OFFICE-2318 at 4/27/10 3:21 AM:
-----------------------------------------------------------------

For anim:formula, the BNF should be:

formula::=

identifier::= '\$' | 'pi' | 'e' | 'x' | 'y' | 'width' | 'height'
function::= 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'
binary_function::= 'min'|'max'
basic_expression::=
number
| identifier
| unary_function wsp* '(' wsp* additive_expression wsp* ')'
| binary_function wsp* '(' wsp* additive_expression wsp* ',' wsp*
| '(' wsp* additive_expression wsp* ')'

unary_expression::=
'-' wsp* basic_expression
| basic_expression
multiplicative_expression::=
unary_expression
( ( wsp* '*' wsp* unary_expression )
| ( wsp* '/' wsp* unary_expression ) )*
multiplicative_expression
( ( wsp* '+' wsp* multiplicative_expression )
| ( wsp* '-' wsp* multiplicative_expression ) )*
number::=
sign? integer
| sign? floating-point-constant
floating-point-constant::=
fractional-constant exponent?
| integer exponent
fractional-constant::=
integer? '.' integer
| integer '.'
exponent::=
( 'e' | 'E' ) sign? integer
sign::='+' | '-'
integer::=[0-9]+
wsp::=(#x20 | #x9)

was (Author: michael.brauer):
For anim:formula, the BNF should be:

formula::=

identifier::= '\$' | 'pi' | 'e' | 'x' | 'y' | 'width' | 'height'
function::= 'abs'|'sqrt'|'sin'|'cos'|'tan'|'atan'|'acos'|'asin'|'exp'|'log'
binary_function::= 'min'|'max'
basic_expression::=
number
| identifier
| unary_function wsp* '(' wsp* additive_expression wsp* ')'
| binary_function wsp* '(' wsp* additive_expression wsp* ',' wsp*
| '(' wsp* additive_expression wsp* ')'

unnary_expression::=
'-' wsp* basic_expression
| basic_expression
multiplicative_expression::=
unnary_expression
( ( wsp* '*' wsp* unnary_expression )
| ( wsp* '/' wsp* unnary_expression ) )*
multiplicative_expression
( ( wsp* '+' wsp* multiplicative_expression )
| ( wsp* '-' wsp* multiplicative_expression ) )*
number::=
sign? integer
| sign? floating-point-constant
floating-point-constant::=
fractional-constant exponent?
| integer exponent
fractional-constant::=
integer? '.' integer
| integer '.'
exponent::=
( 'e' | 'E' ) sign? integer
sign::='+' | '-'
integer::=[0-9]+
wsp::=(#x20 | #x9)

> Public Comment: EBNF (ODF all versions) (CLONE)
> -----------------------------------------------
>
>                 Key: OFFICE-2318
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-2318
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>          Components: General
>    Affects Versions: ODF 1.2 Part 1 CD 4
>            Reporter: Robert Weir
>            Assignee: Patrick Durusau
>             Fix For: ODF 1.2 Part 1 CD 5
>
>
> Copied from office-comment list
> Original author: "Alex Brown" <alexb@griffinbrown.co.uk>
> Original date: 22 Dec 2009 17:13:57 -0000
> Original URL: http://lists.oasis-open.org/archives/office-comment/200912/msg00017.html

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