W3C home > Mailing lists > Public > www-svg@w3.org > May 2021

Re: Error in SVG EBNF

From: Ben Bullock <benkasminbullock@gmail.com>
Date: Tue, 18 May 2021 19:00:15 +0900
Message-ID: <CAN5Y6m9md7ScyW9oU+KWtrYLTCX_LS9f4p_mn_eaKgjC1bvx0w@mail.gmail.com>
To: Bill Foote <billf@jovial.com>
Cc: www-svg@w3.org
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.
Received on Tuesday, 18 May 2021 10:35:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 18 May 2021 10:35:21 UTC