X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2Fusage.html;h=44bdb95f340ff8f32f71773c645385d81054959f;hb=9ae65232975e359f903cbd9f2cb0f1fc4ec58891;hp=39a0cb3594f58e5ca6cfeb0a30d3c1e99c09f371;hpb=3ee5b48397287fe02a74620cb9ec87e670ab5881;p=gedcom-parse.git diff --git a/doc/usage.html b/doc/usage.html index 39a0cb3..44bdb95 100644 --- a/doc/usage.html +++ b/doc/usage.html @@ -163,7 +163,7 @@ out of the GEDCOM file.  This section focuses on the callback mechanism is called for that tag, and when all its subordinate lines with their tags have been processed, the "end element" callback is called for the original tag.  Since GEDCOM is hierarchical, this results in properly -nested calls to appropriate "start element" and "end element" callbacks.
+nested calls to appropriate "start element" and "end element" callbacks (note: see compatibility handling).

However, it would be typical for a genealogy program to support only a subset of the GEDCOM standard, certainly a program that is still under @@ -336,7 +336,9 @@ in the section for record callbacks above.
- Currently, there is a beginning for compatibility for ftree and Lifelines (3.0.2).
+ Currently, there is (some) compatibility for:
+ +The following function allows to set some options for the compatibility handling:
+
void gedcom_set_compat_options (Gedcom_compat options)
+
+The parameter can be an OR'ed combination of the following options:
+ +
+
In some compatibility cases, tags are coming out-of-order, +i.e. their start element callback would have to come after the end element +callback of the parent tag.  E.g. instead of the standard GEDCOM
+
1 DATE ...
+2 TIME ...

+
+the genealogy program has generated something like:
+
1 DATE ...
+1 TIME ...

+
+This can give a problem if your end element callbacks free some resources.  
+
+If your program can handle elements out of context, you can enable this option. + By default it is disabled, and so the values of these out-of-context +tags are lost (the parser generates a warning if this is the case).  The Gedcom object model in C has this option enabled.
+
+
+
+

Converting character sets

@@ -738,4 +786,6 @@ gedcom-config --libs gom



+
+
\ No newline at end of file