[ https://issues.apache.org/jira/browse/TIKA-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986022#comment-17986022 ]
Peter Hoogendijk commented on TIKA-4442: ---------------------------------------- For the 6 tags that were missing, it is what I expected, but now I noticed that the "dc:subject" tag contains the wrong data: it shows a list with the data from the following tags: * pdf:docinfo:subject (from the pdf metadata) * pdf:docinfo:keywords (from the pdf metadata) * pdf:keywords (from the xmp metadata) And it is missing the data from the following tags: * dc:subject (from the xmp metadata) When looking at the XML for my testfile (see attachment) the xmp metadata contains the correct "dc:subject" and "pdf:keywords" but: * Tika shows the wrong data in "dc:subject" (from the xmp metadata) * Tika does not show "pdf:keywords" (from the xmp metadata) * Tika does not show the actual "dc:subject" (from the xmp metadata) But going back to Tika 3.2.0 this also happens, so it is not related to this TIKA-4442 issue. Do you want me to file a separate issue? > PDFParser does not list all metadata extracted by PDFBox > -------------------------------------------------------- > > Key: TIKA-4442 > URL: https://issues.apache.org/jira/browse/TIKA-4442 > Project: Tika > Issue Type: Improvement > Components: parser > Affects Versions: 3.2.0 > Environment: * Docker container based on python:3-slim > * Debian 12.11 > * Python 3.13.5 > * openjdk 17.0.15 2025-04-15 > * tika-server-standard-3.2.0.jar > * pdfbox-app-3.0.5.jar > * PyPDF 5.6.1 > Reporter: Peter Hoogendijk > Priority: Major > Attachments: lorem-ipsum.pdf, lorem-ipsum.xml > > > While using Apache Tika to extract metadata from PDF files, I found the > following XMP metadata entries to be missing: > * dc:identifier > * dc:language > * dc:publisher > * dc:relation > * dc:source > * dc:type > Python (PyPDF2) and PDFBox (as used by Tika's PDFParser) do show these XMP > metadata entries, so I expected Apache Tika to also extract these entries. -- This message was sent by Atlassian Jira (v8.20.10#820010)