- From: Paul LeBeau <paul.lebeau@gmail.com>
- Date: Sun, 30 Apr 2017 04:29:16 +1200
- To: Jirka Kosek <jirka@kosek.cz>
- Cc: www-svg <www-svg@w3.org>
- Message-ID: <CACfsppAjJwrfDeFFVoTDwcHLNU74KVTnSo6OYC4vGK88DnvN5g@mail.gmail.com>
No it is correct. Sometimes it is possible to distinguish two coordinates without the separator. For example 1.0-42.0 In those situations, the comma and whitespace are not required. Obviously, if the second number was positive, you would need a comma and/or whitespace. Paul On 30 April 2017 at 04:15, Jirka Kosek <jirka@kosek.cz> wrote: > Hi, > > I have noticed that grammar for SVG path which is part of both SVG2 and > SVG1.1: > > https://www.w3.org/TR/SVG2/paths.html#PathDataBNF > https://www.w3.org/TR/SVG11/paths.html#PathDataBNF > > contains several identical errors. In many cases comma-wsp rule is > referenced as optional, for example in the following production rule: > > coordinate-pair: > coordinate comma-wsp? coordinate > > However comma-wsp must be mandatory here otherwise it wouldn't be > possible to recognize pair of coordinates from the single number. Rule > should read as: > > coordinate-pair: > coordinate comma-wsp coordinate > > There are other similar errors, for example in all rules named *-sequence. > > Hope this helps, > > Jirka > > -- > ------------------------------------------------------------------ > Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz > ------------------------------------------------------------------ > Professional XML and Web consulting and training services > DocBook/DITA customization, custom XSLT/XSL-FO document processing > ------------------------------------------------------------------ > OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. > ------------------------------------------------------------------ > Bringing you XML Prague conference http://xmlprague.cz > ------------------------------------------------------------------ > >
Received on Saturday, 29 April 2017 16:30:10 UTC