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

Adding XML serialization for PICA #232

Open
1 of 3 tasks
pkiraly opened this issue Feb 23, 2023 · 4 comments
Open
1 of 3 tasks

Adding XML serialization for PICA #232

pkiraly opened this issue Feb 23, 2023 · 4 comments

Comments

@pkiraly
Copy link
Owner

pkiraly commented Feb 23, 2023

Todo

  • Basic implementation
  • Documentation
  • Handling PICA specific subfields
@nichtich
Copy link
Collaborator

nichtich commented Jun 29, 2023

To reduce code complexity I'd prefer to not implement this, unless there is a third-party PICA-library to be used with a few lines of code only.

@pkiraly
Copy link
Owner Author

pkiraly commented Jun 29, 2023

It was implemented because Koninklijke Bibliotheek (the Dutch national library) PICA records are available in XML format (in an OAI-PMH service). The implementation was not very complicated, and fits into the row of other sericalization handlings. The basic idea is that these readers only transform fields, subfields etc. to a unified Java representation, and all the analysis is happened on that. So they are thin classes.

BTW: On the long run I would like to move these reader classes to the marc4j library.

@nichtich
Copy link
Collaborator

Do you plan to move PICA readers to marc4j or to specific PICA library (e.g. "pica4j")? This could bundle most (but not all) of package de.gwdg.metadataqa.marc.utils.pica, plus class PicaPathSelector and possibly parts of de.gwdg.metadataqa.marc.cli.utils.ignorablerecords. By the way, there is also https://github.com/metafacture/metafacture-core/tree/master/metafacture-biblio/src/main/java/org/metafacture/biblio/pica - might be worth to consider joining forces.

Combining both marc and pica functionality, however, may also make sense, so we need could merge some Pica and Marc classes.

@pkiraly
Copy link
Owner Author

pkiraly commented Jul 10, 2023

marc4j does not have any semantic layer, so I plan to move those parts which handles purely the basic structure, such as the readers. PicaPathSelector and MarcSpec implementation: this is also something which is missing from marc4j, first we have to discuss with the contributors of that tool if they would like it.

Some classes are already merged and there is inheritance between them, but more is needed.

Thanks for the reference to Metafacture, I was not aware of their PICA efforts. Do you have a connection to the creators?

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

No branches or pull requests

2 participants