develooper Front page | perl.gedcom | Postings from August 2011

Re: Misprint in Gedcom V 5.5.1

Thread Previous | Thread Next
From:
Mike Elston
Date:
August 3, 2011 00:04
Subject:
Re: Misprint in Gedcom V 5.5.1
Message ID:
5A385C89-57E7-4831-AF85-10BF487EFD56@one-name.org
Hi all,

No misprint. If you look at the definitions on p.13 of  
"optional_line_value"  and "optional_xref_ID" the delimiter is  
included there in each case. The document is quite correct, this is  
how grammars are defined.

Otherwise the delimiter would be required before and/or after the tag  
even if there was no optional field.

/mike

On 3 Aug 2011, at 06:54, Mikkel Eide Eriksen wrote:

> Hi Ron,
>
> That indeed looks like a typo. In fact, two "delim"s are missing,  
> and their presence should be dictated by the optional value/xref.  
> It should be like this, based on how files look:
>
> level + [delim + optional_xref_ID] + delim + tag + [delim +  
> optional_line_value] + terminator
>
> Regards,
> Mikkel
>
> On 03/08/2011, at 06.46, Ron Savage wrote:
>
>> Hi Folks
>>
>> In this doc http://wiki.webtrees.net/images/Ged551-5.pdf about 1/2  
>> way
>> down p 11 we see:
>>
>> level + delim + [optional_xref_ID] + tag + [optional_line_value] +
>> terminator
>>
>> I assume this is a misprint for:
>>
>> level + delim + [optional_xref_ID] + tag + delim +  
>> [optional_line_value]
>> + terminator
>>
>> since otherwise a tag of INDI say could abut a line item of IIIIII.
>>
>> Or am I missing something?
>>
>> -- 
>> Ron Savage
>> http://savage.net.au/
>> Ph: 0421 920 622
>>
>


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About