[svgwg] Omission/Error in SVG ENBF for floating point numbers (#851)

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

== Omission/Error in SVG ENBF for floating point numbers ==
As suggested by Ben Bullock, I'm reporting this bug here:

On Tue, 18 May 2021 at 10:39, Bill Foote <billf@jovial.com> wrote:

    The ENBF at https://www.w3.org/TR/2018/CR-SVG2-20181004/paths.html#PathDataBNF says:

        coordinate::= sign? number

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

    This, of course, makes floating-point numbers illegal.  Surely that's
    unintentional?  One assumes that scientific notation was meant to be
    permitted, as well.

Floating point number syntax is extensively documented in the SVG 1.1 document:

https://www.w3.org/TR/SVG11/paths.html#PathDataBNF

A change disallowing floating point numbers from SVG 1.1 to SVG 2 is not noted in the list of changes:

https://svgwg.org/svg-next/changes.html#paths

So it rather looks like an omission. 

I couldn't find this on the bug list:

https://github.com/w3c/svgwg/issues?q=is%3Aissue+is%3Aopen+floating

It might be worth reporting there too.



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


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

Received on Tuesday, 18 May 2021 14:39:24 UTC