Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ddlm-group] Revised version of syntax change summary document

Why is a colon disallowed in an unquoted string? it is not ambiguous, 
even in a table data type, because the index string is always quoted. 
There is nothing ambiguous about parsing

    "a:b":c:d

which gives the index name "a:b" and the value "c:d". In fact, the index 
name only needs quotes under the same rules as regular values, except 
when it includes a colon character.

If the intent is to make quoting restrictions uniform for all strings, 
then excluding : from unquoted strings makes sense, but ther is then no 
reason to mandate quotes for table index strings.

Maybe there is a good rationale, but it is not explained in the current 
(#2) draft.

Thanks,
Joe Krahn
_______________________________________________
ddlm-group mailing list
ddlm-group@iucr.org
http://scripts.iucr.org/mailman/listinfo/ddlm-group

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.