-
Notifications
You must be signed in to change notification settings - Fork 452
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
[OMP] Update the Onix schema version #10365
Comments
We can then try to update to ONIX 3.1 (Issue 66). We can use these translations:
The new files are in different format, so we will probably need to adapt ONIXParserDOMHandler. If we need the XML file validation we can use https://www.editeur.org/files/ONIX%20for%20books%20-%20code%20lists/ONIX_BookProduct_Codelist_Structure.xsd. We would look how to best provide some attribution to EDItEUR and the organizations (in bold above) who did the translation work, together with a link to the EDItEUR license DOI:10.4400/nwgj. |
PRs ready for a first review @bozana:
A few notes/summary of the changes:
|
Hi @kaitlinnewson, I took a look into the PRs and the changes look good :-) |
I see we are validation all xml files in our github action, s. https://github.com/pkp/pkp-github-actions/blob/main/.github/actions/validate-xml.sh.
I have just asked Dulip what would he suggest... lets see then... |
For the second suggestion, there's a chance we could run into test failures if the hosted XSD is changed for a new version of ONIX that we aren't yet using - but I can't find a version online that is "locked" to our Issue (66). |
I asked Alec if we need to validate these files every time tests are run -- it seems to me that this is not really necessary because they will probably never change and are actually the originals... but lets see what he says... |
Hi @kaitlinnewson, I have tested it roughly and find just one problem, s. the comment in the OMP PR. |
Hi @bozana, I've fixed that issue and added the files to the xml lint exclusions for the tests. Should be ready to go! |
pkp/pkp-lib#10365 update onix schema version
All merged, thus closing... |
Describe the bug
In #10086 the version of the Onix schema used was updated for Onix exports. We should update the schema in other locations in OMP so they are consistent with each other, and we are using more up-to-date codelists.
Onix maintains backwards compatibilty in the code values, so there shouldn't be a need to handle values that are no longer part of the Onix schema. From the documentation:
What application are you using?
OMP (all versions)
The text was updated successfully, but these errors were encountered: