- From: Dean Jackson <dean@w3.org>
- Date: Sun, 26 Jan 2003 22:38:34 +1100
- To: Robert Diblasi <RDIBLAS@wpo.it.luc.edu>
- Cc: www-svg@w3.org
On Fri, 24 Jan 2003, Robert Diblasi wrote: > Been a while :-) .....but I'm back : Welcome back. > Question: Is there any reason for the inconsistent use of commas in attributes in the SVG Specification? Not that I can think of, but maybe Jon remembers one. > 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> We'll look at this in the SVG 1.2 timeframe. Of course, we'd probably strive to not break any existing content. > 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. For the moment I suggest you take the wording closest to the feature definition to be the most accurate. So in this case, no - it can't be separated by commas. Dean
Received on Sunday, 26 January 2003 06:38:40 UTC