ISSUE-2368: Problems with grammars for numbers
Cyril
Problems with grammars for numbers
- State:
- CLOSED
- Product:
- SVG 1.1 F2 Last Call
- Raised by:
- Cyril Concolato
- Opened on:
- 2010-09-06
- Description:
- The grammar for path data uses the following grammar:
[[
floating-point-constant:
fractional-constant exponent?
| digit-sequence exponent
]]
It seems that if no fractional-constant is used (no '.') an exponent component is required.
The same problem is present in the grammar for points in polygons and polylines, because the grammar is duplicated.
Then, the <number> datatype is not aligned with the number token in path (or polygons, polylines). For example, "10." is aligned in a path but not in <number>.
Finally, there should be tests in the test suite with:
- a number with no digit after and before a "."
- a number no digit after exponent - Related Actions Items:
ACTION-2843 on Cameron McCormack to Propose new wording for the spec for ISSUE-2368 - due 2010-09-13, closed- Related emails:
- Re: ISSUE-2368: Problems with grammars for numbers (from cam@mcc.id.au on 2011-03-08)
- Re: ISSUE-2368: Problems with grammars for numbers (from cyril.concolato@telecom-paristech.fr on 2011-03-07)
- last call comment ISSUE-2368 (from cam@mcc.id.au on 2011-03-07)
- Re: {minutes} 9 December 2010 SVG WG telcon (from chris@w3.org on 2010-12-10)
- ISSUE-2368: Problems with grammars for numbers (from cam@mcc.id.au on 2010-12-07)
- ISSUE-2393: Tests needed for all forms of numbers in path/points data [Test Suite - SVG Core 2.0] (from sysbot+tracker@w3.org on 2010-12-06)
- SVG WG Minutes December 2, 2010 (from patd@microsoft.com on 2010-12-02)
- status update (from cam@mcc.id.au on 2010-11-25)
- Agenda Nov 18 2010 SVG WG telcon (from ed@opera.com on 2010-11-17)
- Minutes, 14 Sept 2010 SVG WG telcon (from chris@w3.org on 2010-09-14)
- Minutes Paris F2F day 2 (September 6, 2010) (from jwatt@jwatt.org on 2010-09-06)
- ISSUE-2368 (Cyril): Problems with grammars for numbers [SVG 1.1 F2 Last Call] (from sysbot+tracker@w3.org on 2010-09-06)
Related notes:
No additional notes.
Display change log