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

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

From: Robin Berjon <robin.berjon@expway.fr>
Date: Wed, 19 Feb 2003 15:39:43 +0100
Message-ID: <3E53972F.30106@expway.fr>
To: Robert Diblasi <RDIBLAS@wpo.it.luc.edu>
CC: www-svg@w3.org

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

In most cases I would say yes. I certainly wish there were more consistency 
there (in some cases you can also have semicolons iirc) but I'm afraid it's too 
late to change much.

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

Technically, requiredFeatures *could* have been comma-separated because it is a 
list of XML Names which in turn cannot contain commas. However 
requiredExtensions (which is closely related) is a list of URIs, and URIs can 
contain commas which makes them undesirable as separators. Thus using space-only 
here makes those two very similar attribute consistent, even if it is at the 
cost of inconsistency with some others.

-- 
Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Wednesday, 19 February 2003 09:40:17 GMT

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