From: Jamis Buck Date: 2004-11-06T02:07:06+09:00 Subject: Re: [QUIZ] GEDCOM Parser (#6) Jim Menard wrote: > 1) There are some records near the end of the data like this: > > 0 @F46@ F100 24709 100 24709 0 0 18316 0 0:00:01 0:00:01 > 0:00:00 21636100 24709 100 24709 0 0 18316 0 0:00:01 > 0:00:01 0:00:00 21636 > > It has an ID, but the data value is definitely NOT a legal XML tag name. > What does the Ruby Quiz spec have to say about that? I can only assume this got garbled in transmission, because I can't make heads or tails out of it. :( I certainly can't find anything in the royal.ged file that looks like that. Can you please clarify? > > 2) Looking at the royal.ged example, it seems that--except for the > special INDI case--if a node has children then it does not have a value. > > 0 @I1@ INDI > 1 NAME Edward_VII /Wettin/ > 1 TITL King of England > 1 SEX M > 1 BIRT > 2 DATE Tuesday, 9th November 1841 > 2 PLAC Buckingham,Palace,London,England > 1 DEAT > 2 DATE Friday, 6th May 1910 > 2 PLAC Buckingham,Palace,London,England > 1 BURI > 2 DATE Friday, 20th May 1910 > 2 PLAC Windsor,Berkshire,England > 1 FAMS @F2@ > 1 FAMC @F1@ > 1 RIN 2 > > Can anybody else confirm this? I'd like to propose that this become INDI is actually not the only case. Also FAM, SOUR, REPO, and SUBM. I'm sure there are others. Essentially, id's are given to any node that GEDCOM allows to be referenced, which includes things like individuals, families, source references, submitters, repositories, and so forth. > > > King of England > M > > Tuesday, 9th November 1841 > Buckingham,Palace,London,England > > > This looks great to me. In fact, I think it is pretty much what I proposed (although my example did not include examples of birth or title). Am I missing something? If anyone is interested, I'd be happy to post my family GEDCOM file as another resource. It's about 7 megs in size (though it compresses nicely), with around 20,000 names, so it is much larger, and includes many more GEDCOM features than the royal.ged. Just let me know. -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis