W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2014

[svgwg] ACTION-3670: allow a single trailing comma-wsp in list-of-Ts.

From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
Date: Tue, 7 Oct 2014 09:07:54 -0700 (PDT)
To: public-svg-wg@w3.org
Message-Id: <20141007160754.EEC33890ABD0C@ps58493.dreamhostps.com>
commit 7246b8ef1e3cc27a556ae2e09603c71ea6955218
Author: Erik Dahlström <ed@opera.com>
Date:   Tue Oct 7 13:36:22 2014 +0200

    ACTION-3670: allow a single trailing comma-wsp in list-of-Ts.

diff --git a/master/changes.html b/master/changes.html
index 34cd315..a682d7b 100644
--- a/master/changes.html
+++ b/master/changes.html
@@ -115,6 +115,9 @@ have been made.</p>
   <li>Remove basic data types already defined by CSS Values and Units.</li>
   <li>Remove list of color keywords. The list is part of CSS Colors 3 which is referenced normatively and a REC.</li>
+  <li class='added-since-last-wd'>Allow a single trailing <a>comma-wsp</a> in <a href="types.html#DataTypeList">list-of-<var>T</var>s</a>.</li>
 <h3 id="structure">Document Structure chapter</h3>
diff --git a/master/types.html b/master/types.html
index fdcb746..be6620c 100644
--- a/master/types.html
+++ b/master/types.html
@@ -299,12 +299,13 @@ string          ::= [^#x9#x20#xA#xC#xD]*
     A list consists of a separated sequence of values. Unless explicitly described
     differently, lists within SVG's XML attributes can be either
     comma-separated, with optional white space before or after the comma,
-    or white space-separated.</p>
+    or white space-separated. A single optional trailing <a>comma-wsp</a> is
+    allowed.</p>
     <p>The following is a template for an EBNF grammar describing the
     &lt;list-of-<var>T</var>s&gt; syntax:</p>
-    <pre class='grammar'><span id='ListOfTs'>list-of-<var>T</var>s</span> ::= <var>T</var>
+    <pre class='grammar'><span id='ListOfTs'>list-of-<var>T</var>s</span> ::= <var>T</var> <a href='#CommaWSP'>comma-wsp</a>?
                | <var>T</var> <a href='#CommaWSP'>comma-wsp</a> <a href='#ListOfTs'>list-of-<var>T</var>s</a>
 <span id='CommaWSP'>comma-wsp</span>  ::= (<a href='#WSP'>wsp</a>+ ","? <a href='#WSP'>wsp</a>*) | ("," <a href='#WSP'>wsp</a>*)</pre>

/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --list-pages
/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build types changes
/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build-single-page
Received on Tuesday, 7 October 2014 16:08:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:20 UTC