Re: A couple of errors (was Re: timelines from GEDCOM files)

[email protected] (Eugene van der Pijll) Thu, 14 Aug 2008 18:29:22 +0200
Newsgroups perl.gedcom
Message-ID <[email protected]>
Philip Durbin schreef:
> >I had another error,
> >Test.ged:26: EMAIL is not a sub-item of SUBM
> >Cannot validate file: Test.ged at timeline.pl line 42
> >
> >caused by the email field that PAF inserted into the file.
> 
> My solution for this has been to find and delete the EMAIL line in the  
> GEDCOM file.

EMAIL is not an allowed tag in a Gedcom file, according to the standard.
By default, Gedcom.pm validates the file; add "read_only => 1" to the
Gedcom::new call to switch the validation of.

Eugene