[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Use of elides in strings
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Use of elides in strings
- From: Joe Krahn <krahn@niehs.nih.gov>
- Date: Wed, 25 Nov 2009 09:49:22 -0500
- In-Reply-To: <279aad2a0911241806s3129bd4bvc6f315ca0764d3e3@mail.gmail.com>
- References: <279aad2a0911231800g6c26bdaancdd4a38fecebbb7a@mail.gmail.com> <C731AC95.125CB%nick@csse.uwa.edu.au> <279aad2a0911241414j1d89b6b3mfec464fdc401fbfd@mail.gmail.com> <alpine.BSF.2.00.0911241717100.78685@epsilon.pair.com> <279aad2a0911241454h12811f4eqfc47dd5eafa22c84@mail.gmail.com> <alpine.BSF.2.00.0911241807480.78685@epsilon.pair.com> <279aad2a0911241602u63486a1es2e98c940526af7c4@mail.gmail.com> <alpine.BSF.2.00.0911241916470.78685@epsilon.pair.com> <4B0C825E.5020102@pdb-mail.rutgers.edu><279aad2a0911241806s3129bd4bvc6f315ca0764d3e3@mail.gmail.com>
James Hester wrote: > Thanks for the quick reply over Thanksgiving, John. I take from your > message that the PDB does not need any elide mechanism to be defined > in the CIF2 syntax. Would you therefore be prepared to vote in favour > of not defining any elides, or would you prefer to abstain? > > Votes so far: > > No elides: James, Nick, Herbert if the IUCr + PDB say it is OK > Elides:? > > Unknown: John, Joe, David B., Brian, Simon > I am not part of PDB or IUCr, so I don't know the software and content issues, so my vote should not hold much weight. However, my opinion is that an elide mechanism is an essential feature of any text data format. It also does not have to be as complicated as it has become in defining CIF2. CSV files are commonly used for database dumps, and have no string restrictions, including multiple lines. CSV uses the repeated-quote elide mechanism as in Fortran, which avoids the complication of also requiring rules for the reverse-solidus escape character. This simple single-character elide allows CSV strings to contain any string with only one quoting mechanism. If it were up to me, I would switch CIF2 to CSV/Fortran style elides, allow milti-line strings, and drop the triple quotes. The current close-quote rule already breaks CIF1 strings with embedded quotes, so why not just make regular quoted strings more flexible as in CSV? It is simple, and well-established. If the decision to exclude elides, I don't see any conflicts, because any string can use semicolon delimiters with an indented text block. In that case, I would prefer that semicolon strings be redefined to always include a single leading space, to minimize the need for application-dependent dictionaries just to store/retrieve string data. Joe _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- References:
- Re: [ddlm-group] Use of elides in strings (James Hester)
- Re: [ddlm-group] Use of elides in strings (Nick Spadaccini)
- Re: [ddlm-group] Use of elides in strings (James Hester)
- Re: [ddlm-group] Use of elides in strings (Herbert J. Bernstein)
- Re: [ddlm-group] Use of elides in strings (James Hester)
- Re: [ddlm-group] Use of elides in strings (Herbert J. Bernstein)
- Re: [ddlm-group] Use of elides in strings (James Hester)
- Re: [ddlm-group] Use of elides in strings (Herbert J. Bernstein)
- Re: [ddlm-group] Use of elides in strings (John Westbrook)
- Re: [ddlm-group] Use of elides in strings (James Hester)
- Prev by Date: Re: [ddlm-group] Use of elides in strings
- Next by Date: [ddlm-group] Handling single string values longer than maximum linelength
- Prev by thread: Re: [ddlm-group] Handling single string values longer than maximumline length
- Next by thread: Re: [ddlm-group] Use of elides in strings
- Index(es):