[svgwg] Pull Request: Number grammar adjusted

coastalwhite has just submitted a new pull request for https://github.com/w3c/svgwg:

== Number grammar adjusted ==
Number grammar now includes floating-point integers instead of only integers.

Fixes #815 
> This issue concerns a wrong grammar definition in `specs/paths/master/Overview.html` in the section on _The grammar for path data_. The link to which can be found [here](https://www.w3.org/TR/SVG/paths.html#PathDataBNF).
> 
> One will find the grammar definition for a _number_ given as:
> 
> ```
> number ::= ([0-9])+
> ```
> 
> This is a fault because it does not include floating-point integers.
> 
> Probably this should be:
> 
> ```
> number ::= ( ([0-9])+ | ([0-9])+ "." | ([0-9])+ "." ([0-9])+ )
> ```

See https://github.com/w3c/svgwg/pull/816


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

Received on Sunday, 22 November 2020 23:08:27 UTC