[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
[ddlm-group] Comments and folding within lists and tables
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: [ddlm-group] Comments and folding within lists and tables
- From: Joe Krahn <krahn@niehs.nih.gov>
- Date: Fri, 11 Dec 2009 18:10:40 -0500
COMMENTS: In the last draft, the section on delimiting "tokens" uses the term whitespace, but the list is described as "ASCII space separated data values". Do all blank-space delimiters allow the general definition of whitespace, including comments, or are there cases where comments are disallowed? If the defined whitespace is used in all cases, this would be a valid table: { #my table 'hello':world #testing } #end of table Also, the list and table initiator/terminator characters do not require whitespace around them. Do the 1st and 3rd comments above require preceding blank space as defined in STAR? Or, do the "implicit delimiter" characteristics of those characters make it optional? # [UN]FOLDING: The draft gives the TABLE example: { ... "description":"""Cubic space group and metric cell vectors"""} Then it says it implies line joining. Does this mean that the string for "description" is unwrapped to the one-line string "Cubic space group and metric cell vectors"? To allow for longer strings without inserting a line break, it may be better to allow optional space around the colon, so the above example could be written as: { ... "description": "Cubic space group and metric cell vectors" } The exclusion of : from non-quoted strings prevents this from being ambiguous, so I don't see a good reason not to allow whitespace around the colon, or perhaps only following it. Thanks, Joe Krahn _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Comments and folding within lists and tables (Nick Spadaccini)
- Prev by Date: [ddlm-group] Are empty lists/tables valid?
- Next by Date: Re: [ddlm-group] testers for cifget version 1.1
- Prev by thread: Re: [ddlm-group] A final non-delimited string definition.
- Next by thread: Re: [ddlm-group] Comments and folding within lists and tables
- Index(es):