datafoodconsortium / connector-codegen

An Acceleo project to generate the source code of the DFC connector into all the supported programming languages.
MIT License
3 stars 3 forks source link

[Ruby] Loading concepts fails #3

Closed mkllnk closed 10 months ago

mkllnk commented 11 months ago

Loading vocabularies fails with the old and new version of vocabularies. With the old version it shows an error in the parser:

https://github.com/datafoodconsortium/connector-codegen/blob/07ec67ec20b44cdcb3cbd8ebdb985b387da8293d/src/org/datafoodconsortium/connector/codegen/ruby/static/lib/datafoodconsortium/connector/skos_parser.rb#L87-L92

The parser tries to create a concept without giving it its mandatory semantic id.

I also tried the new files but encountered the same error as the current version of the ruby connector raises:

lecoqlibre commented 10 months ago

Hi @mkllnk can you try it using the issue3 branch of this repo with the codegen-issue3 branch of the data-model-uml repo?

mkllnk commented 10 months ago

Yes, that solves the issue. Can you merge?