Discussion List Archives

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

Re: The CIF BNF

I agree with Brian that the common understanding of the "80-character
limit" is that the number of "printable" characters in each line, not
including the line termination characters, if any, is limited to no more
than 80.  This would make CIFs platform independent, which is, I believe
the intention.

However, I also believe it is time to extend the concept of a "CIF" to
include files with other line length limits (to be specified in the
relevant dictionary), so that I would suggest the BNF specify the
existence of a limit, giving 80 characters as an example, rather than
as an intrinsic part of the definition of a CIF.  

  -- Herbert

=====================================================
****                BERNSTEIN + SONS
*   *       INFORMATION SYSTEMS CONSULTANTS
****     P.O. BOX 177, BELLPORT, NY 11713-0177
*   * ***
**** *            Herbert J. Bernstein
  *   ***     yaya@bernstein-plus-sons.com
 ***     *
  *   *** 1-631-286-1339    FAX: 1-631-286-1999
=====================================================

On Tue, 19 Sep 2000, Brian McMahon wrote:

> Nick
> 
> The version you posted differs from the one I previewed in its additional
> annotations. I want to (1) flag an error and (2) raise a question.
> 
> (1) CIF datanames now have no formal length restriction (see
>     http://www.iucr.org/iucr-top/cif/cif_core/diff2.0-1.0.html#syn) - but
>     they still have to fit within a line of text.
> 
> Hence
> (2) When writing vcif, I took the "80-character limit" to be in spirit
>     independent of platform and thus the number of characters before the
>     <newline> byte sequence. I would still favour that interpretation
>     (otherwise existing CIFs will break, and to guard against operating
>     systems that invoke even more varied text record delimiting systems).
> 
> What do others think about (2)? 
> 
> Brian
> 


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

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

ICSU 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.