Whitspace/comma separation in lists

Hello WG.

In the data types chapter, the entry for <list of XXX> currently reads
as follows:

  (Where xxx represents a value of some type.) A list consists of a
  separated sequence of values. Unless explicitly described
  differently, lists can be either comma-separated, with optional white
  space before or after the comma, or white space-separated.
  …
  Here is a description of the grammar for a <list of xxx>:

    ListOfXXX ::=
        XXX
        | XXX comma-wsp ListOfXXX
    comma-wsp ::=
        (wsp+ comma? wsp*) | (comma wsp*)
    comma ::=
        ","
    wsp ::=
        (#x20 | #x9 | #xD | #xA)
   — http://dev.w3.org/SVG/profiles/1.2T/publish/types.html#DataTypeList

The prose says that lists can be either whitespace separated or comma-
whitespace separated, but the grammar allows a list with mixed
separators, such as "1 2,3 4 5".  Which should be correct?  Doug, I see
you have http://www.w3.org/Graphics/SVG/Group/track/actions/1942 from
the old tracker, which seems related.

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Tuesday, 22 July 2008 00:43:11 UTC