You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2025/12/16 16:11:00 UTC

[jira] [Created] (PDFBOX-6126) Cannot find a definition for the namespace http://www.w3.org/1999/02/22-rdf-syntax-ns#, property: rdf:Description

Tilman Hausherr created PDFBOX-6126:
---------------------------------------

             Summary: Cannot find a definition for the namespace http://www.w3.org/1999/02/22-rdf-syntax-ns#, property: rdf:Description
                 Key: PDFBOX-6126
                 URL: https://issues.apache.org/jira/browse/PDFBOX-6126
             Project: PDFBox
          Issue Type: Bug
          Components: XmpBox
    Affects Versions: 3.0.6 PDFBox, 2.0.35
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.36, 3.0.7 PDFBox, 4.0.0


This is a follow-up to PDFBOX-4325. That solution avoided a ClassCastException but threw an exception, despite that this XMP validates in the PDFLib XMP validator. The problem here is that "<rdf:Description" is a child of "<rdf:li" so xmpbox thinks this is a data type. Which it isn't, xmpbox treats rdf purely as hard code logic so we should keep doing this by adding code logic. Which is surprisingly simple, i.e. reroute it to parseLiDescription().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org