[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
To summarise the arguments:
1. In favour of both space and comma
�� - comma is used in some other non-CIF contexts as a list delimiter
2. Against comma:
�� - A single type of separator makes the grammar simpler
�� - Space is used everywhere else in CIF as a separator (consistency)
�� - Comma can then be used in non-delimited strings
Space only: Nick, James (Nick is here)
Comma and Space: ?
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
Reply to: [list | sender only]
Re: [ddlm-group] Space as a list item separator
- To: Group finalising DDLm and associated dictionaries <[email protected]>
- Subject: Re: [ddlm-group] Space as a list item separator
- From: James Hester <[email protected]>
- Date: Tue, 1 Dec 2009 17:52:48 +1100
- In-Reply-To: <[email protected]>
- References: <C7398588.126B6%[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]><[email protected]>
To summarise the arguments:
1. In favour of both space and comma
�� - comma is used in some other non-CIF contexts as a list delimiter
2. Against comma:
�� - A single type of separator makes the grammar simpler
�� - Space is used everywhere else in CIF as a separator (consistency)
�� - Comma can then be used in non-delimited strings
Space only: Nick, James (Nick is here)
Comma and Space: ?
On Tue, Dec 1, 2009 at 5:30 PM, James Hester <[email protected]> wrote:
More specifically, CIF1.1 excludes square brackets as the first character in a non-delimited string.On Tue, Dec 1, 2009 at 9:33 AM, James Hester <[email protected]> wrote:
Dear Herbert: as CIF 1.1 doesn't define lists, I'm not sure why you suggest that the example below is a valid tag.
On Tue, Dec 1, 2009 at 12:36 AM, Herbert J. Bernstein <[email protected]> wrote:
Sorry something got lost in the prior message. �It should have
read:
Dear Colleagues,is not.
�Back to the question of commas. �If you accept the desirability of
having a CIF 1.5, commas in lists become very useful. �Someone with
a CIF 1.1 editor will be able to prepare a CIF 1.5 file for many
useful cases by doing all lists with commas and no embedded blanks
as long as they can make their lists fit on single lines. �In CIF 1.1
[[1,2,3],[4,5,6],[7,8,9]]
is a valid value for a tag, but
[[1 2 3] [4 5 6] [7 8 9]]
No, neither example is a valid CIF 1.1 tag.� CIF 1.1 explicitly excludes brackets as the first character of a non-delimited string.
Having the option of commas in lists will help to smooth the
transition for at least some people.
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________ ddlm-group mailing list [email protected] http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Space as a list item separator (David Brown)
- Re: [ddlm-group] Space as a list item separator (Brian McMahon)
- Re: [ddlm-group] Space as a list item separator> (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator (SIMON WESTRIP)
- References:
- Re: [ddlm-group] Space as a list item separator (Nick Spadaccini)
- Re: [ddlm-group] Space as a list item separator (SIMON WESTRIP)
- Re: [ddlm-group] Space as a list item separator (SIMON WESTRIP)
- Re: [ddlm-group] Space as a list item separator (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator (Herbert J. Bernstein)
- Re: [ddlm-group] Space as a list item separator (James Hester)
- Re: [ddlm-group] Space as a list item separator (James Hester)
- Prev by Date: Re: [ddlm-group] Space as a list item separator
- Next by Date: Re: [ddlm-group] Role of separators in CIF
- Prev by thread: Re: [ddlm-group] Space as a list item separator
- Next by thread: Re: [ddlm-group] Space as a list item separator
- Index(es):