Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LIDO v1.1 #1

Open
Hero-Solutions opened this issue Jun 15, 2022 · 3 comments
Open

Support for LIDO v1.1 #1

Hero-Solutions opened this issue Jun 15, 2022 · 3 comments

Comments

@Hero-Solutions
Copy link

On December 2021, the ICOM-CIDOC LIDO Working Group has approved the final version of LIDO v1.1. LibreCat/Lido-XML currently only supports LIDO v1.0. Would it be possible to give this repository an upgrade to support this new version of LIDO?

@phochste
Copy link
Member

Hi, I will investigate this. I've been quite busy with my PhD the last months, so I can't promise anything. But, of course I am open for pull requests :)

@Hero-Solutions
Copy link
Author

Thank you for your reply. Sadly, my Perl knowledge leaves much to be desired and despite several attempts, I have not managed to do this upgrade myself. I would if I could.

As a temporary solution, I have locally changed some parts of the LIDO 1.0 XSD schema to support those elements in LIDO 1.1 that I need for my work, which does the trick for now. This is far from a clean solution, and I do not plan on performing a pull request for this, as I'd rather not pollute the codebase.

phochste added a commit that referenced this issue Jun 28, 2022
@phochste
Copy link
Member

LIDO 1.1 has some complexities which makes it not possible to create full support using the data-centric XML tools that are used in this package. The problem originates from the lido:conceptMixedComplexType and lido:conceptComplexType that is used in many LIDO 1.1 elements. This allows to put in XML elements not only data values but also "mixed" content, any combination of text and XML can be used in those elements. This is not supported in this tool

I can XML compile a Lido 1.1 version without any "mixed" content support see the pr/lido-1.1 branch. Do you have some sample data to test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants