W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2012

svg2: Link to types.html for the EBNF grammar syntax.

From: SVG Working Group repository <cam@mcc.id.au>
Date: Mon, 20 Aug 2012 21:11:07 -0700
Message-Id: <hg.094a3cce6e1d.1345522267.3034738116371802840@ps58493.dreamhostps.com>
To: public-svg-wg@w3.org
details:   https://svgwg.org/hg/svg2/rev/094a3cce6e1d
branches:  
changeset: 329:094a3cce6e1d
user:      Cameron McCormack <cam@mcc.id.au>
date:      Tue Aug 21 14:11:36 2012 +1000
description:
Link to types.html for the EBNF grammar syntax.

diffstat:

 master/color.html |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (34 lines):

diff --git a/master/color.html b/master/color.html
--- a/master/color.html
+++ b/master/color.html
@@ -779,29 +779,17 @@ child elements.</p>
     </div>
 
 <p>See the description for the <a>'color-profile/rendering-intent'</a> attribute on the
 <a>'color-profile element'</a> element.</p>
   
   
   <div class="ready-for-wider-review">
   <h2 id="syntax">Color syntax</h2>
-  <p>The EBNF grammar is as used in the <a href="http://www.w3.org/TR/REC-xml/#sec-notation">XML specification</a>,
-    with the addition of a <em>case-insensitive literal</em>: characters in the ASCII range (only) are case-insensitive. ~"Hello" will match (H|h)(e|e)(l|L)(l|L)(o|O). This makes the productions much easier to read.</p>
-  <table>
-    <tr><td>?</td><td>optional, zero or one</td></tr>
-    <tr><td>+</td><td>one or more</td></tr>
-    <tr><td>*</td><td>zero or more</td></tr>
-    <tr><td>|</td><td>alternation</td></tr>
-    <tr><td>"string"</td><td>literal</td></tr>
-    <tr><td>~"string"</td><td>case-insensitive literal</td></tr>
-    <tr><td>[]</td><td>a character range</td></tr>
-    <tr><td>[^]</td><td>excluded character range</td></tr>
-    <tr><td>()</td><td>grouping</td></tr>
-  </table>
+  <p>The EBNF grammar syntax is as described in <a href="types.html#syntax">Syntax</a>.</p>
   
   
   <pre>
     <span id="icccolor">icccolor</span> ::= 
     ~"icc-color(" <a href="#name">name</a> (<a href="#comma-wsp">comma-wsp</a> <a href="#number">number</a>)+ ")" 
     
     <span id="iccnamedcolor">iccnamedcolor</span> ::= 
     ~"icc-named-color(" <a href="#name">name</a> <a href="#comma-wsp">comma-wsp</a> <a href="#namedColor">namedColor</a> ")" 
Received on Tuesday, 21 August 2012 04:12:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 August 2012 04:12:10 GMT