Skip to content

XMP Writer incomplete #8491

@suppenkaspar109

Description

@suppenkaspar109

JabRef version

5.5 (latest release)

Operating system

Windows

Details on version and operating system

Win 11

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Create pdf with dummy metadata for each xmp-field (Type, Author, Date, Source, Contributor, Publisher, Subject, Relation, Language, Rights, Coverage, Format, Description)
  2. Import this pdf into jabref
  3. Change each field entry before writing metadata back to pdffile
  4. Write metadata back to pdf file
  5. Inspect metadata in pdf viewer

The problem is that not all field are written back to the pdf file.
There are setter/adder function in DublinCoreExtractor.java for the field: DESCRIPTION, IDENTIFIER, TITLE, FORMAT, CONTRIBUTOR, CREATOR, PUBLISHER, SUBJECT, RELATION
The DATE field is not fully converted (only year and month field)

Remaining fields are added as relation to the RELATION-Field (with /bibtex-prefix), however there are setter/adder function provided by pdfbox (in DublinCoreSchema.java):
COVERAGE, LANGUAGE, RIGHTS, SOURCE, TYPE

Please add these missing functions to DublinCoreExtractor.java, so the complete XMP functionality can be used in both ways. If possible fix the DATE transformation, so also the DAY field could be used. Thank you.

Appendix

...

Log File
Paste an excerpt of your log file here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions