Re: [svgwg] Number grammar adjusted (#816)

I think that could also be written like this, removing the redundancies and making it a bit more condensed:

```
number ::= [0-9]+ ("." [0-9]*)?
```

Having said that, the [specification currently claims](https://svgwg.org/svg2-draft/paths.html#PathDataBNF) to use [EBNF](https://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf) for the syntax definition. Though, as far as I can see, neither the syntax currently present in the spec., nor the syntaxes defined here are actually EBNF. They are rather a mixture of different BNF syntaxes and [CSS Values](https://drafts.csswg.org/css-values-4/) or regular expressions syntax.
Though the [references link to ABNF](https://svgwg.org/svg2-draft/refs.html#NormativeReferences).

Would be nice if someone clarified what syntax should actually be used.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/svgwg/pull/816#issuecomment-739052282 using your GitHub account


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

Received on Friday, 4 December 2020 22:14:48 UTC