[ http://tools.oasis-open.org/issues/browse/OFFICE-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18849#action_18849 ]
Dennis Hamilton commented on OFFICE-2318:
-----------------------------------------
CORRECTIONS
In draw:formula and anim:formula, it would be valuable to have used the [XML 1.0] S and S? where wsp and wsp* are now defined and used.
In draw:formula, there is something wrong with the produciton for name.
In draw:formula and anim:formula, it is probably better to use unary_expression, not unnary_expression. (It has an optional unary operator is all.)
Also, the grammar could just as easily be
unary_expression ::= ('-' wsp*)? basic_expression
Note that there is an odd case when the basic_expression is a signed number. Some languages handle that by having the prefix sign be in the unary_expression and not in the syntax for number itself. That is,
unary_expression ::= (sign wsp*)? basic_expresson
and sign? is pulled out of the production for number.
What is meant by a function_reference here? It looks like we should use formula_name here, to match up with the description in the text.
Are modifiers indexed starting with 0 or 1? The syntax allows 0.
> 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" <>
> 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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira