[svgwg] Error about drawto_command in SVG 2.0 path EBNF (#929)

ish-kafel has just created a new issue for https://github.com/w3c/svgwg:

== Error about drawto_command in SVG 2.0 path EBNF ==
It seens like SVG 2.0 does not support `wsp` in different `drawto_command` but SVG 1.1 does, is that an error?

in [SVG 2.0](https://svgwg.org/svg2-draft/paths.html#PathDataBNF):
```
svg_path::= wsp* moveto? (moveto drawto_command*)?

drawto_command::=
    moveto
    | closepath
    | lineto
    | horizontal_lineto
    | vertical_lineto
    | curveto
    | smooth_curveto
    | quadratic_bezier_curveto
    | smooth_quadratic_bezier_curveto
    | elliptical_arc
```
in [SVG 1.1](https://www.w3.org/TR/SVG11/paths.html#PathDataBNF):
```
svg-path:
    wsp* moveto-drawto-command-groups? wsp*
moveto-drawto-command-groups:
    moveto-drawto-command-group
    | moveto-drawto-command-group wsp* moveto-drawto-command-groups
moveto-drawto-command-group:
    moveto wsp* drawto-commands?
drawto-commands:
    drawto-command
    | drawto-command wsp* drawto-commands
drawto-command:
    closepath
    | lineto
    | horizontal-lineto
    | vertical-lineto
    | curveto
    | smooth-curveto
    | quadratic-bezier-curveto
    | smooth-quadratic-bezier-curveto
    | elliptical-arc
```

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/929 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 6 January 2024 08:47:51 UTC