Closed michelesalvador closed 6 years ago
Okay, thanks for the report.
I modified the ModelParser to support multiple submitters.
Following @michelesalvador suggestions, there is a getSubmitters()
method in Gedcom
.
You can check the modifications made in this commit
d4586ae .
Thanks for the commit. If you'd like to submit a pull request, we can work with you to get it merged. It currently doesn't build with mvn clean install
command.
Version 1.9.0 has been released.
If my comprehension is correct, in a Gedcom file as many SUBM records can be used, not only one: http://wiki-en.genealogy.net/GEDCOM/SUBM-Tag#Use_of_SUBM_Records
So this Gedcom structure should be valid:
But the Gedcom parser seems to assume that only one submitter exists:
Header.getSubmitter()
always returnsnull
Gedcom.getSubmitter()
always returns the first submitterIn my opinion
Header.getSubmitter()
should return the submitter pointed by theSUBM
tag inHEAD
, andGedcom.getSubmitter()
should be replaced by aGedcom.getSubmitters()
returning aList<Submitter>
.