FamilySearch / gedcomx

An open data model and an open serialization format for exchanging genealogical data.
http://www.gedcomx.org
Apache License 2.0
354 stars 68 forks source link

Support for a GEDCOM X "C" SDK #116

Open jralls opened 12 years ago

jralls commented 12 years ago

You said after the first lecture at RootsTech that you were building automated translations of the java code.

The .h and .c should be separated. We're also missing functions for reading/writing the gedcomx metadata model.

stoicflame commented 12 years ago

http://www.gedcomx.org/model/code.html

I think your eyeballs will be the first to really look at this code. It's neither tested nor proven out yet. Just FYI.

jralls commented 12 years ago

Yuk. The C one is all jammed into two files -- and no header to export. That isn't going to work.

It also emits tons of "implicit definition" warnings for xmlWriter and xmlReader functions, and then won't link because they're not in libxml2. The first one is xmlTextReaderReadRdfTypeElement(). Are you perhaps using something other than libxml2 for your Java implementation?

What tool did you use for the translation?

jralls commented 12 years ago

Yuk. For the C one, everything is jammed into two files. No header, either.

There are also tons of undefined functions from xmlReader and xmlWriter. Are you sure libxml2 is the right library?

stoicflame commented 12 years ago

Okay, thanks for the report. I'm reopening this issue and updating the title to reflect the work we need to fix the c library.

This probably won't get fixed in 0.10.0. Look for the fix in 0.11.0.