- From: Jirka Kosek <jirka@kosek.cz>
- Date: Sat, 29 Apr 2017 18:15:02 +0200
- To: www-svg@w3.org
- Message-ID: <10274522-066b-8c0b-81f7-10d164bba3f3@kosek.cz>
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:15:45 UTC