W3C home > Mailing lists > Public > www-svg@w3.org > January 2003

Request for 1.2 (2.0) ....consistent use of commas in XML attributes

From: Robert Diblasi <RDIBLAS@wpo.it.luc.edu>
Date: Fri, 24 Jan 2003 11:29:49 -0600
Message-Id: <se3123ba.067@wpo.it.luc.edu>
To: <www-svg@w3.org>

Hello,

Been a while :-) .....but I'm back :

Question:  Is there any reason for the inconsistent use of commas in attributes in the SVG Specification? 

basic data type states for list-of xxx: 
http://www.w3.org/TR/2003/REC-SVG11-20030114/types.html#DataTypeList 

<snip>
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. 
</snip>


Here is are  some examples of the issue:

http://www.w3.org/TR/2003/REC-SVG11-20030114/struct.html#RequiredFeaturesAttribute 

<snip>
requiredFeatures = list-of-features
The value is a list of feature strings, with the individual values separated by white space.
</snip>

http://www.w3.org/TR/2003/REC-SVG11-20030114/filters.html#feComponentTransferTableValuesAttribute

<snip>
tableValues = "(list of <number>s)"
When type="table", the list of <number>s v0,v1,...vn, separated by white space and/or a comma, which define the
lookup table.
</snip>

<snip>
For 'animateMotion', the specified values for from, by, to and values consists of x, y coordinate pairs, with a
single comma and/or white space separating the x coordinate from the y coordinate. For example,
from="33,15" specifies an x coordinate value of 33 and a y coordinate value of 15.
</snip>

Question:
Could someone let me know if  requiredFeatures can be separated by commas. If the answer is "yes it can be separated by commas", then the description of requiredFeatures is no correct because it explicitly describes how the list of features is separated. 
http://www.w3.org/TR/2003/REC-SVG11-20030114/types.html#DataTypeList 


We all learn by sharing what we know
Robert A. DiBlasi
rdiblasi@svgnotebook.com 
http://www.svgnotebook.com 
Member of the Chicago SVG Group: Chicago IL.
Received on Friday, 24 January 2003 12:30:11 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT