Re: [ddlm-group] Draft EBNF for CIF2
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Draft EBNF for CIF2
- From: "Bollinger, John C" <John.Bollinger@STJUDE.ORG>
- Date: Fri, 29 Aug 2014 08:28:38 -0500
- Accept-Language: en-US
- acceptlanguage: en-US
- In-Reply-To: <CAM+dB2ewKj1txr7Hw-Z16AdcrgtxiUoOgyQZs48CdLDjH3sr+A@mail.gmail.com>
- References: <CAM+dB2eWm0m2qYTB1O7L2St-RUOJM5FRimFCozhwqWLEC0UR-Q@mail.gmail.com><CAM+dB2eR1cHPGFUyEYbdiTVCSDpGYfpSZa_MhfAGs+7FBDfUaQ@mail.gmail.com><53F69074.8040000@rcsb.rutgers.edu><8F77913624F7524AACD2A92EAF3BFA54756EB8E8D8@11.stjude.org><CAM+dB2dFBEVAhVo+rdJkJP+KzLXwvjUpsCxRK=8j=XcRZ3N94A@mail.gmail.com><53FDB4E2.2010600@rcsb.rutgers.edu><8F77913624F7524AACD2A92EAF3BFA54756ED3E79F@11.stjude.org><53FE48D1.9010305@gmail.com><CAM+dB2ewKj1txr7Hw-Z16AdcrgtxiUoOgyQZs48CdLDjH3sr+A@mail.gmail.com>
I agree to all three points. I note in passing that the CIF API’s built-in parser will (does) have an option to allow nested save frames, which is disabled by default. John From: ddlm-group-bounces@iucr.org [mailto:ddlm-group-bounces@iucr.org]
On Behalf Of James Hester Shall we wrap up this discussion then along the following lines: (1) Nested save frames are removed from the CIF2 EBNF syntax specification (2) Nested save frames will not be used in COMCIFS-approved DDLm dictionaries (3) Documentation can point to the STAR2 specification and repeat the comments that John B has made regarding handling nested save frames. all the best, On Thu, Aug 28, 2014 at 7:08 AM, yayahjb <yayahjb@gmail.com> wrote: We will have a lot less trouble with the new dictionaries if we don't use nested save frames in them.
I'm having trouble seeing the down side of providing for save frame nesting in the CIF2 syntax specifications. Doing so would enable *but not require* nested frames to be used in DDLm and DDLm dictionaries, but any way around they are
irrelevant to DDL1 and DDL2 dictionaries (whether written in CIF1 or CIF2 syntax) and to all CIF data files currently envisioned. To a parser that does not understand them, nested frames will look like a combination of a missing frame terminator between adjacent
frames plus an extraneous frame terminator at some later point, and such a parser must be prepared to handle those errors in some way anyway (that is exactly the CIF1 situation). A parser specialized for a domain to which nested save frames are not relevant
can be such a parser, since nested frames would be erroneous in its target domain anyway. _______________________________________________
Email Disclaimer: www.stjude.org/emaildisclaimer Consultation Disclaimer: www.stjude.org/consultationdisclaimer |
_______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://mailman.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- References:
- [ddlm-group] Draft EBNF for CIF2 (James Hester)
- Re: [ddlm-group] Draft EBNF for CIF2 (James Hester)
- Re: [ddlm-group] Draft EBNF for CIF2 (John Westbrook)
- Re: [ddlm-group] Draft EBNF for CIF2 (Bollinger, John C)
- Re: [ddlm-group] Draft EBNF for CIF2 (James Hester)
- Re: [ddlm-group] Draft EBNF for CIF2 (John Westbrook)
- Re: [ddlm-group] Draft EBNF for CIF2 (Bollinger, John C)
- Re: [ddlm-group] Draft EBNF for CIF2 (yayahjb)
- Re: [ddlm-group] Draft EBNF for CIF2 (James Hester)
- Prev by Date: Re: [ddlm-group] Draft EBNF for CIF2
- Next by Date: Re: [ddlm-group] Draft EBNF for CIF2
- Prev by thread: Re: [ddlm-group] Draft EBNF for CIF2
- Next by thread: Re: [ddlm-group] Draft EBNF for CIF2
- Index(es):