[svgwg] Decimal point not allowed according to Path Data ENBF (#926)

waruyama has just created a new issue for https://github.com/w3c/svgwg:

== Decimal point not allowed according to Path Data ENBF ==
Either I am completely missing something, or the ENBF for a coordinate in path data does not allow decimal points.

Here is the relevant part of the SVG 2.0 spec: 
https://www.w3.org/TR/SVG2/paths.html#PathDataBNF

According to this a coordinate can only consist of digits with an optional leading sign. This is the ENBF for a coordinate as written in the spec:
```
coordinate::= sign? number

sign::= "+"|"-"
number ::= ([0-9])+
```

The correct definition for number (to allow numbers like "0.3", ".3", "3.") must probably look like this:

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



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


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

Received on Tuesday, 21 November 2023 22:25:23 UTC