X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2Fusage.html;h=a71b855221b5643a9fd96d5fbd29b8835e163748;hb=866835ac8928d7e40919c2ca59799cb37023856f;hp=39a0cb3594f58e5ca6cfeb0a30d3c1e99c09f371;hpb=3ee5b48397287fe02a74620cb9ec87e670ab5881;p=gedcom-parse.git diff --git a/doc/usage.html b/doc/usage.html index 39a0cb3..a71b855 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).  Note: +currently the Gedcom object model in C has this option disabled too, although +this will change in the future.
+
+
+
+

Converting character sets

@@ -738,4 +788,5 @@ gedcom-config --libs gom



+
\ No newline at end of file