- From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
- Date: Mon, 06 Sep 2010 07:58:00 +0000
- To: public-svg-wg@w3.org
ISSUE-2368 (Cyril): Problems with grammars for numbers [SVG 1.1 F2 Last Call] http://www.w3.org/Graphics/SVG/WG/track/issues/2368 Raised by: Cyril Concolato On product: SVG 1.1 F2 Last Call 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
Received on Monday, 6 September 2010 07:58:02 UTC