65 Gedcom V 5.5.1, a tag is missing, why ? - yEd Q&A
Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Gedcom V 5.5.1, a tag is missing, why ?

0 votes

Part of a Gedcom from Heredis

0 HEAD
1 SOUR Heredis PC2023
2 VERS 2023
2 NAME Heredis PC
2 CORP Heredis SCOP
3 WWW www.heredis.com
1 DATE 6 JUN 2025
1 GEDC
2 VERS 5.5.1
2 FORM LINEAGE-LINKED
1 CHAR UTF-8
1 _GUID 07A3FB20-C9E3-4D98-9D9A-17C3236EEB33
………
0 @O3723@ OBJE
1 TITL SPaul.JPG
1 FILE C:/Desktop/TES-Medias/SPaul.JPG
2 FORM JPG
0 @O1980@ OBJE
………
After opening the Gedcom with Yedgraph …..
the tag "file" doesn't appear in the data
Question 1 : How to import the tag file ?
Question 2 : What is the reg expression to extract the tag "File" for a label icon?
Thanks in advance
Regards

in Help by (310 points)

1 Answer

0 votes

Re 1.:

yEd does not support all GEDCOM features, indeed it ignores most top-level tags except INDI, FAM, and NOTE. Moreover, it does not not support GEDCOM pointers except for associating NOTE records to INDI records and INDI records to FAM records.

I would guess that the top-level OBJE record is referenced in an INDI record somewhere else in your example file. Since yEd does not support pointers, you need to restructure your GEDCOM file for yEd to import the FILE tag information.

I.e. instead of using references along the lines of

...
0 @O3723@ OBJE
1 FILE C:/Desktop/TES-Medias/SPaul.JPG
...
0 INDI
1 OBJE @O3723@
...

you actually need to inline the OBJE record information like so:

...
0 INDI
1 OBJE
2 FILE C:/Desktop/TES-Medias/SPaul.JPG
...

Using the latter structure, yEd will add the information from the OBJE record as custom property value for the node that represents the INDI record.

Re 2.:

That very much depends on the actual structure of the GEDCOM tags in your GEDCOM file. E.g. for

...
0 INDI
1 OBJE
2 TITL image description
2 FILE 
C:/Desktop/TES-Medias/SPaul.JPG
...

the pattern (?s)1\s+OBJE.*2\s+FILE\s+(.+)$ together with the replacement $1 will work.
The pattern assumes that the FILE tag is the last sub-tag of the OBJE tag. If there are others tags after the file tag, the pattern has to be adjusted accordingly.

by [yWorks] (163k points)
Legal Disclosure | Privacy Policy
...