On Thu, May 25, 2006 at 08:06:35AM -0500, Jay Hannah wrote:

> JSP wrote:
> >>Is there an updated and working grammar file for 5.5.1 available?
> >Anybody?  Bueller?....Bueller?

> Is there some sort of official GEDCOM release authority and the current 
> version is 5.5.1? 

That would be the Family History Department of the LDS Church.

The currently released version of the GEDCOM standard is version 5.5,
released on 12th January 1996.  On 2nd October 1999 a draft version of
5.5.1 was released.  The standard says that it is for review purposes
only, and that it "must not be used for programming of genealogical
software while in draft".  So I didn't.  But it seems that phpgedcomview
did.  (To be fair, that's probably not the major reason why I didn't.)

There aren't too many changes from 5.5, but among them was the addition
of EMAIL, FAX, FACT, FONE, ROMN, WWW, MAP, LATI and LONG tags and the
removal of the BLOB tag.

In particular the MULTIMEDIA_RECORD format has changed from

   MULTIMEDIA_RECORD: =

  n @<XREF:OBJE>@ OBJE  {1:1}
    +1 FORM <MULTIMEDIA_FORMAT>  {1:1}
    +1 TITL <DESCRIPTIVE_TITLE>  {0:1}
    +1 <<NOTE_STRUCTURE>>  {0:M}
    +1 BLOB        {1:1}
      +2 CONT <ENCODED_MULTIMEDIA_LINE>  {1:M}
    +1 OBJE @<XREF:OBJE>@      {0:1}
    +1 REFN <USER_REFERENCE_NUMBER>  {0:M}
      +2 TYPE <USER_REFERENCE_TYPE>  {0:1}
    +1 RIN <AUTOMATED_RECORD_ID>  {0:1}
    +1 <<CHANGE_DATE>>  {0:1}

to

    MULTIMEDIA_RECORD:=

    n @XREF:OBJE@ OBJE {1:1}
      +1 FILE <MULTIMEDIA_FILE_REFN> {1:M}
        +2 FORM <MULTIMEDIA_FORMAT> {1:1}
          +3 TYPE <SOURCE_MEDIA_TYPE> {0:1}
        +2 TITL <DESCRIPTIVE_TITLE> {0:1}
      +1 REFN <USER_REFERENCE_NUMBER> {0:M}
        +2 TYPE <USER_REFERENCE_TYPE> {0:1}
      +1 RIN <AUTOMATED_RECORD_ID> {0:1}
      +1 <<NOTE_STRUCTURE>> {0:M}
      +1 <<SOURCE_CITATION>> {0:M}
      +1 <<CHANGE_DATE>> {0:1}

    The BLOB context of the multimedia record was removed in version
    5.5.1. A reference to a multimedia file was added to the record
    structure. The file reference occurs one to many times so that
    multiple files can be grouped together, each pertaining to the same
    context. For example, if you wanted to associate a sound clip and a
    photo, you would reference each multimedia file and indicate the
    format using the FORM tag subordinate to each file reference.

This seems to be what is causing the problems here.

If someone would like to create a 5.5.1 grammar file I would be happy to
include it in the distribution.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to