Incorrect path grammar test 'paths-data-20-f.svg'

Hello,

I think that one of the 'paths-data-20-f.svg' sub-tests is incorrect.
In particular this relates to the elliptical arc path grammar. This
test:

    <!-- no commawsp before arc flags -->
    <path d="M200,200 h-25 a25,25 0 1,0 25,-25 z" fill="lime" stroke="lime"/>
    <path d="M200,200 h-25 a25,2501 025,-25 z" fill="red"/>

seems to be testing that there is no 'comma-wsp' required before the
arc flags. However, according to my reading of the grammar in SVG 1.1
(and it is unchanged in 2.0), 'comma-wsp' is required before the arc
flags. In particular:

elliptical-arc:
    ( "A" | "a" ) wsp* elliptical-arc-argument-sequence
elliptical-arc-argument-sequence:
    elliptical-arc-argument
    | elliptical-arc-argument comma-wsp? elliptical-arc-argument-sequence
elliptical-arc-argument:
    nonnegative-number comma-wsp? nonnegative-number comma-wsp?
        number comma-wsp flag comma-wsp? flag comma-wsp? coordinate-pair

Note the 'comma-wsp' before the first 'flag' occurrence.

The test I'm referring to is approved and available here:
https://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlObjectApproved/paths-data-20-f.html

Am I misunderstanding something, or is the test incorrect?

Tyler

Received on Wednesday, 12 October 2016 08:46:17 UTC